ERROR: OTRS-otrs.Scheduler [Solved]

Moderator: crythias

Locked
edelgado
Znuny newbie
Posts: 14
Joined: 20 Mar 2014, 21:09
Znuny Version: 3.3.5
Real Name: Enrique
Company: Qbit

ERROR: OTRS-otrs.Scheduler [Solved]

Post by edelgado »

Hello.
We have a problem with the scheduler. could help us please?
We begin with / opt / otrs / bin / start -a otrs.Scheduler.pl then the developer starts and after a few minutes back down .
In the log file found / opt / otrs / var / log / SchedulerERR.log the following message:

ERROR : OTRS - otrs.Scheduler -36 Perl : 5.10.1 OS : linux Time : Mon May 19 7:35:01 2014
 Message: Can not write PID into the file: '/ opt / otrs / var / run / scheduler.pid '! permission denied
 Traceback ( 13517 ) :
   Module : main :: _AutoStop ( unknown version) Line : 672
   Module : main :: _start ( unknown version) Line : 399
   Module : main :: _WatchDog ( unknown version) Line : 768
   Module : / opt / otrs / bin / otrs.Scheduler.pl ( unknown version) Line : 84


The following log file found .

 Message : Process Could not be found in the process table!
Scheduler is stopping ... !
 Traceback ( 13505 ) :
   Module : main :: _AutoStop ( unknown version) Line : 672
   Module : main :: _start ( unknown version) Line : 443
   Module : / opt / otrs / bin / otrs.Scheduler.pl ( unknown version) Line : 161


In OTRS system registry (System Log)

Mon May 19 07:40:01 2014 error OTRS-otrs.Scheduler-36 Can not write into the PID file:'/opt/otrs/var/run/scheduler.pid'! Permission denied
Mon May 19 07:35:01 2014 error OTRS-otrs.Scheduler-36 Process could not be found in the process table!
Mon May 19 07:35:01 2014 error OTRS-otrs.Scheduler-36 Can not write into the PID file:'/opt/otrs/var/run/scheduler.pid'! Permission denied
Mon May 19 07:35:01 2014 error OTRS-otrs.Scheduler-36 Scheduler could not delete PID file:'/opt/otrs/var/run/scheduler.pid'! Permission denied


Version otrs 3.3.7
S.O.Linux CentOS release 6.4 (Final) (SE linux disable)
Dbase MySQL Server version: 5.6.17
Last edited by edelgado on 19 May 2014, 21:29, edited 1 time in total.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: ERROR: OTRS-otrs.Scheduler

Post by jojo »

read the error message:

Mon May 19 07:40:01 2014 error OTRS-otrs.Scheduler-36 Can not write into the PID file:'/opt/otrs/var/run/scheduler.pid'! Permission denied
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
edelgado
Znuny newbie
Posts: 14
Joined: 20 Mar 2014, 21:09
Znuny Version: 3.3.5
Real Name: Enrique
Company: Qbit

Re: ERROR: OTRS-otrs.Scheduler

Post by edelgado »

ok, the file has scheduler.pid OTRS permissions and apache.
-rw-rw-rw-1 otrs apache, 5 May 19 7:33 scheduler.pid
Could help me?
regards
edelgado
Znuny newbie
Posts: 14
Joined: 20 Mar 2014, 21:09
Znuny Version: 3.3.5
Real Name: Enrique
Company: Qbit

Re: ERROR: OTRS-otrs.Scheduler [Solved]

Post by edelgado »

The problem was solved running the script permissions :D

bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=otrs --web-user=apache --web-group=apache /opt/otrs

The scheduler.pid file must have permissions apache: apache and you had manually changed otrs: apache and that's why it did not work

Thank you very much for the help you give us
regards
Locked