OTRS Fetching not work otrs.Daemon.pl

Remember this might not work on your server it’s all up to you how your setup is.

putty to your OTRS Server

  1. Navigate to /opt/otrs/ then run
    sudo su – otrs -c ‘/opt/otrs//bin/otrs.Daemon.pl start’
    If the service is already running continue the guide

  2. Run this command
    ps -e | grep otrs

  3. Run this command
    (If you only get hits that is named otrs.daemon.pl you can run next command)
    sudo pkill -9 otrs
    if you other hits too, run this command sudo kill “pid nr” (without “”)

  4. Run this command
    sudo su – otrs -c ‘ bin/otrs.Console.pl Maint::PostMaster::MailAccountFetch –force-pid’

    after you have run the command, just wait till it’s done (will look like image below)


  5. Run this command
    sudo su – otrs -c ‘/opt/otrs//bin/otrs.Daemon.pl start’

  6. Run this command
    ps -e | grep otrs
     
    (check if processes are active again)