The daemon is not running

Moderator: crythias

Post Reply
andersonmavi30
OTRS expert
Posts: 63
Joined: 23 Nov 2017, 21:23
OTRS Version?: 5.0.7-25
Real Name: Anderson Martinez Virviescas

The daemon is not running

Post by andersonmavi30 » 15 Feb 2018, 15:16

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
OTRS guru
Posts: 2379
Joined: 08 Jul 2010, 22:25
OTRS Version?: 6.0.x

Re: The daemon is not running

Post by wurzel » 16 Feb 2018, 11:10

Hi,

what is the output of

Code: Select all

otrs.Daemon.pl status
and

Code: Select all

crontab -l
Florian
    ((OTRS)) Community Edition 6.0.x, LAMP LIVE auf Debian 9
    OTRS 6 Managed Silver

    -- 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
    OTRS expert
    Posts: 63
    Joined: 23 Nov 2017, 21:23
    OTRS Version?: 5.0.7-25
    Real Name: Anderson Martinez Virviescas

    Re: The daemon is not running

    Post by andersonmavi30 » 16 Feb 2018, 14:28

    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
    OTRS guru
    Posts: 2379
    Joined: 08 Jul 2010, 22:25
    OTRS Version?: 6.0.x

    Re: The daemon is not running

    Post by wurzel » 16 Feb 2018, 17:04

    Hi,

    Sorry, but you should ask your linux admin.

    execute the commands as user otrs
    execute the commands correctly.

    Florian
      ((OTRS)) Community Edition 6.0.x, LAMP LIVE auf Debian 9
      OTRS 6 Managed Silver

      -- 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
      OTRS expert
      Posts: 63
      Joined: 23 Nov 2017, 21:23
      OTRS Version?: 5.0.7-25
      Real Name: Anderson Martinez Virviescas

      Re: The daemon is not running

      Post by andersonmavi30 » 19 Feb 2018, 19:26

      Hello, validating this error mentions this.


      # --
      # Copyright (C) 2001-2017 OTRS AG, 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
      OTRS guru
      Posts: 2379
      Joined: 08 Jul 2010, 22:25
      OTRS Version?: 6.0.x

      Re: The daemon is not running

      Post by wurzel » 19 Feb 2018, 20:18

      Hi,

      please read my previous posting again.

      Regards
      Florian
        ((OTRS)) Community Edition 6.0.x, LAMP LIVE auf Debian 9
        OTRS 6 Managed Silver

        -- 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
        OTRS expert
        Posts: 63
        Joined: 23 Nov 2017, 21:23
        OTRS Version?: 5.0.7-25
        Real Name: Anderson Martinez Virviescas

        Re: The daemon is not running

        Post by andersonmavi30 » 19 Feb 2018, 22:10

        [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
        OTRS guru
        Posts: 2379
        Joined: 08 Jul 2010, 22:25
        OTRS Version?: 6.0.x

        Re: The daemon is not running

        Post by wurzel » 20 Feb 2018, 01:46

        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)) Community Edition 6.0.x, LAMP LIVE auf Debian 9
          OTRS 6 Managed Silver

          -- 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
          OTRS expert
          Posts: 63
          Joined: 23 Nov 2017, 21:23
          OTRS Version?: 5.0.7-25
          Real Name: Anderson Martinez Virviescas

          Re: The daemon is not running

          Post by andersonmavi30 » 20 Feb 2018, 01:57

          If it is already running. Thank you.

          Post Reply