Difficulty with Scheduler Process

Moderator: crythias

Post Reply
SpaceGhost
Znuny newbie
Posts: 1
Joined: 19 Jun 2014, 16:22
Znuny Version: 3.3.7
Real Name: Bryan Prange

Difficulty with Scheduler Process

Post by SpaceGhost »

Greetings,

OS: Ubuntu 12.04
OTRS: v3.3.7 upgraded from v3.3.6 installed from source
DB: Remote MySQL DB

Everything seems to be working properly, except I keep getting the message "Scheduler process is registered but might not be running" within the Agent Control Panel.

If I force start it through the web interface or the Init script, the message will disappear but returns within 10-15 minutes. When ever I see that message, I check the status with otrs.Scheduler.pl -a status, and it always returns that it is running with a PID.

I have some log entries from the Apache error.log that might be relavant:

Code: Select all

ERROR: OTRS-otrs.Scheduler-1 Perl: 5.14.2 OS: linux Time: Thu Jun 19 10:45:35 2014

 Message: NOTICE: otrs.Scheduler.pl is registered in the DB, but the registry has not been updated in 1896 seconds!. The registration will be deleted so the Scheduler can start again without forcing

 Traceback (12313): 
   Module: main::_AutoStop (unknown version) Line: 672
   Module: main::_Start (unknown version) Line: 231
   Module: /opt/otrs/bin/otrs.Scheduler.pl (unknown version) Line: 161
Similar Error in the System Log:

Code: Select all

Jun 19 10:50:01 primary-web-stp OTRS-otrs.Scheduler-1[12325]: [Notice][main::_Stop] Scheduler Daemon Stop! PID 12316
Jun 19 10:50:02 primary-web-stp OTRS-otrs.Scheduler-1[11841]: [Error][main::_AutoStop][Line:672]: Process could not be found in the process table!#012Scheduler is stopping...!
Jun 19 10:50:02 primary-web-stp OTRS-otrs.Scheduler-1[12316]: [Error][main::_AutoStop][Line:672]: Process could not be found in the process table!#012Scheduler is stopping...!
Jun 19 10:50:02 primary-web-stp OTRS-otrs.Scheduler-1[12329]: [Notice][main::_Start] Scheduler Daemon start! PID 12329
I'm seeing the Watchdog in the system log every five minutes:

Code: Select all

Jun 19 10:20:02 primary-web-stp OTRS-otrs.Scheduler-1[12182]: [Notice][main::_Status] Scheduler Daemon status request! PID 11841

I'm at my wit's end at this point, so I'd really appreciate any help.
catweazle
Znuny advanced
Posts: 121
Joined: 15 Feb 2012, 12:22
Znuny Version: 3.1

Re: Difficulty with Scheduler Process

Post by catweazle »

check your permissions https://help.ubuntu.com/community/OTRS

especial for:
/opt/otrs/var/run/scheduler.pid
1: OTRS 3.1.21 + Support + MasterSlave @ CentOS 6.5 , MySQL
2: Test: OTRS 3.1.21 + Support + MasterSlave @ CentOS 6.5 , MySQL
3: Test-2: OTRS 3.3.x + Support + MasterSlave @ CentOS 6.5 , MySQL (iphone, idoit-trash)
Post Reply