The daemon is not running

Moderator: crythias

Post Reply
andersonmavi30
Znuny newbie
Posts: 69
Joined: 23 Nov 2017, 21:23
Znuny Version: 5.0.7-25
Real Name: Anderson Martinez Virviescas

The daemon is not running

Post by andersonmavi30 »

Good morning to all.

I currently enter the OTRS and throw me


OTRS daemon is not running.

When I entered to see the error I report the following

The OTRS Service is a background process that performs asynchronous tasks, for example the ticket escalation shot, mailing, etc.

An operating Daemon of OTRS is mandatory for its correct operation.
Starting the OTRS Daemon

Make sure that the file '/ opt / otrs / var / cron / otrs_daemon' exists (without the extension .dist). This scheduled job will check every 5 minutes if the OTRS Daemon is running and start it if necessary.
Run '/opt/otrs/bin/Cron.sh start' to make sure that the scheduled job of the 'otrs' user is active.
After 5 minutes verify that the OTRS Daemon is running on the system ('bin / otrs.Daemon.pl status').

I look for those libraries and I execute them but even so the same error keeps appearing.

Could someone help me?



Thank you.
wurzel
Znuny guru
Posts: 3224
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: The daemon is not running

Post by wurzel »

Hi,

what is the output of

Code: Select all

otrs.Daemon.pl status
and

Code: Select all

crontab -l
Florian
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
andersonmavi30
Znuny newbie
Posts: 69
Joined: 23 Nov 2017, 21:23
Znuny Version: 5.0.7-25
Real Name: Anderson Martinez Virviescas

Re: The daemon is not running

Post by andersonmavi30 »

Hello Florian, when I execute the commands that you told me, this comes to me.

[root @ srvotrsV5 cron] # otrs.Daemon.pl status
bash: otrs.Daemon.pl: the order was not found ..
[root @ srvotrsV5 cron] # crontab -l
without crontab for root
[root @ srvotrsV5 cron] #

I thank you in what you can help me.
wurzel
Znuny guru
Posts: 3224
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: The daemon is not running

Post by wurzel »

Hi,

Sorry, but you should ask your linux admin.

execute the commands as user otrs
execute the commands correctly.

Florian
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
andersonmavi30
Znuny newbie
Posts: 69
Joined: 23 Nov 2017, 21:23
Znuny Version: 5.0.7-25
Real Name: Anderson Martinez Virviescas

Re: The daemon is not running

Post by andersonmavi30 »

Hello, validating this error mentions this.


# --
# Copyright (C) 2001-2017 xxx, http://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

# check OTRS daemon status
*/5 * * * * $HOME/bin/otrs.Daemon.pl start >> /dev/null



When I try to execute it, I get the following error.

[root@srvotrsV5 bin]# ./Cron.sh start
Run this script just as OTRS user! Or use 'Cron.sh {start|stop|restart} OTRS_USER' as root!

I do not know what I can do in this case.
wurzel
Znuny guru
Posts: 3224
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: The daemon is not running

Post by wurzel »

Hi,

please read my previous posting again.

Regards
Florian
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
andersonmavi30
Znuny newbie
Posts: 69
Joined: 23 Nov 2017, 21:23
Znuny Version: 5.0.7-25
Real Name: Anderson Martinez Virviescas

Re: The daemon is not running

Post by andersonmavi30 »

[root@srvotrsV5 ~]# crontab -e
no crontab for root - using an empty one
crontab: installing new crontab
[root@srvotrsV5 ~]# crontab -l
@reboot su -c "/opt/otrs/bin/otrs.Daemon.pl start ; /opt/otrs/bin/Cron.sh start" -s /bin/bash otrs

[root@srvotrsV5 ~]# reboot


:)
wurzel
Znuny guru
Posts: 3224
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: The daemon is not running

Post by wurzel »

Hi,

please check http://doc.otrs.com/doc/manual/admin/st ... -otrs.html

Chapter 7 + 11

and set up permissions correctly and use Cron for otrs user.


I guess, your Daemon is running now?

Florian
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
andersonmavi30
Znuny newbie
Posts: 69
Joined: 23 Nov 2017, 21:23
Znuny Version: 5.0.7-25
Real Name: Anderson Martinez Virviescas

Re: The daemon is not running

Post by andersonmavi30 »

If it is already running. Thank you.
Post Reply