Rechteproblem und ein Routingproblem

Hilfe zu Znuny Problemen aller Art
Locked
jkbr
Znuny newbie
Posts: 5
Joined: 10 Nov 2016, 19:13
Znuny Version: 5.0.9

Rechteproblem und ein Routingproblem

Post by jkbr »

Hello

Ich habe anscheinend ein Rechteproblem und ein Routingproblem und ich kann sie mir nicht eklären.
Hab die OTRS Instanz von einem Ubuntu auf ein Debian Jessie übersiedelt und dort auch ein Update gemacht auf 5.0.9.
Seither krieg ich folgende Fehler (s.u.).
Ich hab schon alles in Tmp gelöscht und dann nochmal setPermission laufen lassen, hat nix gebracht.

Code: Select all

./otrs.SetPermissions.pl /opt/otrs --otrs-user=otrs --web-group=www-data
SchedulerTaskWorkerERR (in SchedulerGenericAgentTaskManagerERR gibts auch solche Einträge):

Code: Select all

ERROR: OTRS-otrs.Console.pl-Maint::Stats::Dashboard::Generate-07 Perl: 5.20.2 OS: linux Time: Fri Nov 11 19:05:11 2016

 Message: There was an error executing Execute() in Kernel::System::Console::Command::Maint::Stats::Dashboard::Generate: Error: mkdir /opt/otrs/var/tmp/CacheFileStorable/Stats/f: Keine Berechtigung at /opt/otrs/Kernel/System/Cache/FileStorable.pm line 87.


 Traceback (2605):
   Module: Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError Line: 51
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 178
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 259
   Module: (eval) Line: 316
   Module: main::Start Line: 316
   Module: /opt/otrs/bin/otrs.Daemon.pl Line: 138

ERROR: OTRS-otrs.Console.pl-Maint::Stats::Dashboard::Generate-07 Perl: 5.20.2 OS: linux Time: Fri Nov 11 19:05:11 2016

 Message: Can't send to 'root@localhost': 5045.5.2 <root@localhost>: Recipient address rejected: need fully-qualified address
! Enable Net::SMTP debug for more info!

 Traceback (2605):
   Module: Kernel::System::Email::SMTP::Send Line: 150
   Module: Kernel::System::Email::Send Line: 751
   Module: Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError Line: 66
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 178
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 259
   Module: (eval) Line: 316
   Module: main::Start Line: 316
   Module: /opt/otrs/bin/otrs.Daemon.pl Line: 138

RROR: OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-07 Perl: 5.20.2 OS: linux Time: Fri Nov 11 19:10:11 2016

 Message: There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: Error: mkdir /opt/otrs/var/tmp/CacheFileStorable/Valid/2: Keine Berechtigung at /opt/otrs/Kernel/System/Cache/FileStorable.pm line 87.


 Traceback (2834):
   Module: Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError Line: 51
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 178
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 259
   Module: (eval) Line: 316
   Module: main::Start Line: 316
   Module: /opt/otrs/bin/otrs.Daemon.pl Line: 138

ERROR: OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-07 Perl: 5.20.2 OS: linux Time: Fri Nov 11 19:10:11 2016

 Message: Can't send to 'root@localhost': 5045.5.2 <root@localhost>: Recipient address rejected: need fully-qualified address
! Enable Net::SMTP debug for more info!

 Traceback (2834):
   Module: Kernel::System::Email::SMTP::Send Line: 150
   Module: Kernel::System::Email::Send Line: 751
   Module: Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError Line: 66
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 178
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 259
   Module: (eval) Line: 316
   Module: main::Start Line: 316
   Module: /opt/otrs/bin/otrs.Daemon.pl Line: 138
wurzel
Znuny guru
Posts: 3273
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Rechteproblem und ein Routingproblem

Post by wurzel »

Hi,

wenn das otrs.SetPermissions.pl nicht das gewünschte tut, setze die Rechte mal mit dem root User korrekt.

Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Rechteproblem und ein Routingproblem

Post by reneeb »

Code: Select all

./otrs.SetPermissions.pl /opt/otrs --otrs-user=otrs --web-group=www-data
Da ist die Reihenfolge durcheinander...

Code: Select all

./otrs.SetPermissions.pl --otrs-user=otrs --web-group=www-data /opt/otrs
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
jkbr
Znuny newbie
Posts: 5
Joined: 10 Nov 2016, 19:13
Znuny Version: 5.0.9

Re: Rechteproblem und ein Routingproblem

Post by jkbr »

Alter Schwede, das löst das Rechteproblem. Ich wär da jetzt nie drauf gekommen, denn otrs.SetPermissions hat keinen Fehler geworfen.
Super, danke.
reneeb wrote:

Code: Select all

./otrs.SetPermissions.pl /opt/otrs --otrs-user=otrs --web-group=www-data
Da ist die Reihenfolge durcheinander...

Code: Select all

./otrs.SetPermissions.pl --otrs-user=otrs --web-group=www-data /opt/otrs
wurzel
Znuny guru
Posts: 3273
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Rechteproblem und ein Routingproblem

Post by wurzel »

Hi,

cool. mach doch n bug bei bugs.otrs.org auf oder mach 'n pull request :-)

Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
jkbr
Znuny newbie
Posts: 5
Joined: 10 Nov 2016, 19:13
Znuny Version: 5.0.9

Re: Rechteproblem und ein Routingproblem

Post by jkbr »

Its back. Ohne Änderung an der Konfig krieg ich jetzt:

Code: Select all

ERROR: OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerGenericAgentTaskManager-07 Perl: 5.20.2 OS: linux Time: Sat Nov 19 09:52:39 2016

 Message: Can't write '/opt/otrs/var/tmp/CacheFileStorable/DynamicField/b/f/bfdc5f1e460c58d65e1512de4025075e': Keine Berechtigung
Das File sieht so aus:
-rw-rw---- 1 www-data www-data 301 Nov 19 09:12 bfdc5f1e460c58d65e1512de4025075e
Otrs ist auch in der Gruppe von www-data:
otrs : otrs www-data

Any idea?
jkbr
Znuny newbie
Posts: 5
Joined: 10 Nov 2016, 19:13
Znuny Version: 5.0.9

Re: Rechteproblem und ein Routingproblem

Post by jkbr »

Nochmal setPermission laufen lassen und geht wieder. Jetzt hat das File:
-rw-rw---- 1 otrs www-data 301 Nov 19 11:50 bfdc5f1e460c58d65e1512de4025075e

Ich versteh allerdings immer noch net wieso
Locked