OTRS 5 OTRS daemon not running

Moderator: crythias

Post Reply
jbaptiste
Znuny advanced
Posts: 104
Joined: 01 Aug 2015, 03:45
Znuny Version: 6.0.x
Contact:

OTRS 5 OTRS daemon not running

Post by jbaptiste »

Hi,

I have a vanilla OTRS 5.0.5 install, after logging in as root@localhost the web portal tells me that the OTRS daemon isn't running, but it is, I can see it among the running processes:

Code: Select all

otrs        60  0.0  0.2  75300 16840 ?        S    05:33   0:00 /usr/bin/perl -X /opt/otrs/bin/otrs.Daemon.pl start
root        79  0.0  0.2 229516 13764 ?        S    05:33   0:00 /usr/sbin/httpd -DFOREGROUND
root        80  0.0  0.0  20036  1876 ?        S    05:33   0:00 /usr/sbin/crond -n
root        81  0.0  0.0 247164  1616 ?        Sl   05:33   0:00 /sbin/rsyslogd -n
apache      85  0.9  0.7 330716 43480 ?        S    05:33   0:12 /usr/sbin/httpd -DFOREGROUND
apache      86  0.0  0.6 328692 41692 ?        S    05:33   0:00 /usr/sbin/httpd -DFOREGROUND
apache      87  0.0  0.6 327804 40780 ?        S    05:33   0:00 /usr/sbin/httpd -DFOREGROUND
apache      88  0.9  1.4 385608 85428 ?        S    05:33   0:11 /usr/sbin/httpd -DFOREGROUND
apache      89  0.0  0.2 229788 13228 ?        S    05:33   0:00 /usr/sbin/httpd -DFOREGROUND
apache      90  0.0  0.2 229788 13156 ?        S    05:33   0:00 /usr/sbin/httpd -DFOREGROUND
apache      91  0.0  0.2 229652 12896 ?        S    05:33   0:00 /usr/sbin/httpd -DFOREGROUND
apache      92  0.0  0.2 229788 13252 ?        S    05:33   0:00 /usr/sbin/httpd -DFOREGROUND
root       109  0.0  0.0 108356  2932 ?        Ss   05:52   0:00 bash
And it has a running status:

Code: Select all

# su -c "$OTRS_ROOT/bin/otrs.Daemon.pl status" otrs
otrs.Daemon.pl - the otrs daemon
Copyright (C) 2001-2015 xxx, http://otrs.com/

Daemon running
Any ideas on why the web interface is not being able to see the daemon running status ?
Want to run OTRS on docker ? checkout my OTRS on docker HOWTO | Project's github page
jbaptiste
Znuny advanced
Posts: 104
Joined: 01 Aug 2015, 03:45
Znuny Version: 6.0.x
Contact:

Re: OTRS 5 OTRS daemon not running

Post by jbaptiste »

I reinstalled with 5.0.6 and the issue persists as described, the OTRS daemon seems to be running but the web interfaces says it isn't.
Want to run OTRS on docker ? checkout my OTRS on docker HOWTO | Project's github page
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS 5 OTRS daemon not running

Post by jojo »

the webserver might not have access to files owned by otrs?
"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
jbaptiste
Znuny advanced
Posts: 104
Joined: 01 Aug 2015, 03:45
Znuny Version: 6.0.x
Contact:

Re: OTRS 5 OTRS daemon not running

Post by jbaptiste »

Well I haven't had any time to look at this again until today, now I noticed that stopping/starting the OTRS daemon fixes the issue:

# su -c "${OTRS_ROOT}bin/otrs.Daemon.pl stop" -s /bin/bash otrs
# su -c "${OTRS_ROOT}bin/otrs.Daemon.pl start" -s /bin/bash otrs
Want to run OTRS on docker ? checkout my OTRS on docker HOWTO | Project's github page
stefanov12
Znuny newbie
Posts: 1
Joined: 29 Apr 2016, 17:32
Znuny Version: 5.0.1

Re: OTRS 5 OTRS daemon not running

Post by stefanov12 »

Thanks! it works for me as well
Daniel09
Znuny newbie
Posts: 36
Joined: 05 Sep 2011, 14:02
Znuny Version: 3.0.8

Re: OTRS 5 OTRS daemon not running

Post by Daniel09 »

jbaptiste wrote:Well I haven't had any time to look at this again until today, now I noticed that stopping/starting the OTRS daemon fixes the issue:

# su -c "${OTRS_ROOT}bin/otrs.Daemon.pl stop" -s /bin/bash otrs
# su -c "${OTRS_ROOT}bin/otrs.Daemon.pl start" -s /bin/bash otrs
Hi,

i have the same problem and i must tell you, that i am a newcomer with ubuntu. I would try that but i don`t no what means ${OTRS_ROOT}?

Can you tell me the answer please. I am very hopeful this will fix my problem also.

Thanks and kind regards,
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: OTRS 5 OTRS daemon not running

Post by reneeb »

${OTRS_ROOT} is the base directory of your OTRS installation. For most installations that would be /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
Post Reply