Run this script just as OTRS user! Or use 'Cron.sh {start|stop|restart} OTRS_USER' as root

Moderator: crythias

Locked
gopalakrishnan
Znuny newbie
Posts: 29
Joined: 16 Apr 2015, 11:04
Znuny Version: 4.0.5
Real Name: Gopalakrishnan
Company: Siva group

Run this script just as OTRS user! Or use 'Cron.sh {start|stop|restart} OTRS_USER' as root

Post by gopalakrishnan »

I installed OTRS 4.0.5, while login as root@localhot it gives notification as Scheduler is not running -> red color ribbon below menu item in home page.

While clicking the notification it gives follow the three steps

1.Make sure that /opt/otrs/var/cron/scheduler_watchdog exists (without .dist extension) -- exist

2.Check that cron deamon is running in the system-- Checked with this command ps -ef | grep crond

Output as
root 1589 1 0 Apr16 ? 00:00:02 crond
root 29843 29780 0 10:37 pts/1 00:00:00 grep crond

3.Confirm that OTRS cron jobs are running, execute /opt/otrs/bin/Cron.sh start

I stuck in the step 3: kindly help me out.

Thanks in advance
nd0
Znuny expert
Posts: 232
Joined: 24 Mar 2015, 16:53
Znuny Version: 5.0.14
Location: Colonia

Re: Run this script just as OTRS user! Or use 'Cron.sh {start|stop|restart} OTRS_USER' as root

Post by nd0 »

Maybe try

Code: Select all

/opt/otrs/bin/Cron.sh start OTRS_USER
instead of

Code: Select all

/opt/otrs/bin/Cron.sh start
/e: Your "title" is the error message - right?! :-D
/e2: You did not create another user for otrs in linux?
LIVE: OTRS 5.0.14 || Debian || MySQL/LDAP
TEST: OTRS 5.0.14 || Debian || MySQL/LDAP
mavrie
Znuny newbie
Posts: 43
Joined: 02 Sep 2014, 15:04
Znuny Version: 4.0.7
Real Name: Mattias
Company: BusSaP
Location: Belgium

Re: Run this script just as OTRS user! Or use 'Cron.sh {start|stop|restart} OTRS_USER' as root

Post by mavrie »

Yup, that fixed it for me earlier.

Code: Select all

/opt/otrs/bin/Cron.sh start otrs
Otrs 4.0.7 on CentOS 6.5
MySQL Database
gopalakrishnan
Znuny newbie
Posts: 29
Joined: 16 Apr 2015, 11:04
Znuny Version: 4.0.5
Real Name: Gopalakrishnan
Company: Siva group

Re: Run this script just as OTRS user! Or use 'Cron.sh {start|stop|restart} OTRS_USER' as root

Post by gopalakrishnan »

ya it working fine now thanks @mavrie and @nd0 thanks a lot.
gopalakrishnan
Znuny newbie
Posts: 29
Joined: 16 Apr 2015, 11:04
Znuny Version: 4.0.5
Real Name: Gopalakrishnan
Company: Siva group

Re: Run this script just as OTRS user! Or use 'Cron.sh {start|stop|restart} OTRS_USER' as root

Post by gopalakrishnan »

Hi guys, the notification for admin is creating again and again every ten seconds kindly give me solution guys
Locked