otrs daemon error OTRS 5

Moderator: crythias

Post Reply
SuperDOS
Znuny newbie
Posts: 93
Joined: 17 Apr 2012, 16:16
Znuny Version: 6.0.3
Real Name: A!

otrs daemon error OTRS 5

Post by SuperDOS »

After upgrading to otrs 5 I recieve this error in the log:

OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-42 Data->{Params} format is invalid

More details in the log:

Code: Select all


ERROR: OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-42 Perl: 5.16.3 OS: linux Time: Thu Oct 22 20:40:01 2015

 Message: Data->{Params} format is invalid

 Traceback (25646):
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 119
   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
Any ideas?
SuperDOS
Znuny newbie
Posts: 93
Joined: 17 Apr 2012, 16:16
Znuny Version: 6.0.3
Real Name: A!

Re: otrs daemon error OTRS 5

Post by SuperDOS »

Updated to 5.0.2 but still has this error.
Could there be an issue in the database?

Ran the daemon with debug: su -c "/opt/otrs/bin/otrs.Daemon.pl start --debug SchedulerTaskWorker SchedulerCronTaskManager" -s /bin/bash otrs

Got this:
Daemon: SchedulerCronTaskManager Discard Count: 178
Daemon: SchedulerTaskWorker Discard Count: 14307
aballeras
Znuny newbie
Posts: 3
Joined: 12 Nov 2015, 06:59
Znuny Version: 5.0.1
Real Name: Tony Balleras
Company: 8990 Housing Development Corporation

Re: otrs daemon error OTRS 5

Post by aballeras »

Hello,

I am also getting this type of error.

OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-30
Data->{Params} format is invalid

and its followed with:

OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-30
There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: Error: Unable to register the process in the database. Is another instance still running?

I did not do any upgrade. I just installed otrs 5.0.1 and setup an Imaps connection to my google email account.
Has anyone found a clue to resolve this?

thanks.
tundeoyeyemi
Znuny newbie
Posts: 3
Joined: 30 Jul 2015, 16:13
Znuny Version: 4.0.1
Real Name: Tunde Oyeyemi

Re: otrs daemon error OTRS 5

Post by tundeoyeyemi »

I guess your Cron.sh is already running that is why Daemon is not starting.

1. First stop the Cron.sh with this command ( should be run as otrs user not root, you can change from root to otrs user by simply type "su otrs" if you are already login as root.
/opt/otrs/bin/Cron.sh stop

2. Start the Daemon.pl using
/opt/otrs/bin/otrs.Daemon.pl start

3. Now start the Cron.sh using
/opt/otrs/bin/Cron.sh start

You should be fine.
Post Reply