Scheduler doens't run

Moderator: crythias

Locked
alvarex
Znuny newbie
Posts: 2
Joined: 08 Jun 2015, 11:24
Znuny Version: 4.0.8

Scheduler doens't run

Post by alvarex »

Hey guys,

I'm reading now about 2 hours Threads to fix my issue, but I can't find anything suitable :(. I installed OTRS 4.0.8 on a clean Fedora 22 Server-System. So far, everything worked fine, but I've get the Message "Scheduler is not running" in OTRS and I don't know why...

crond is running:

Code: Select all

crond.service - Command Scheduler
   Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2015-06-05 15:58:47 UTC; 2 days ago
 Main PID: 22455 (crond)
   CGroup: /system.slice/crond.service
           └─22455 /usr/sbin/crond -n
scheduler_watchdog exist:

Code: Select all

[tobias@otrs2 ~]$ ls -al /opt/otrs/var/cron/
total 60
drwxrwsr-x  2 otrs apache 4096 Jun  5 16:40 .
drwxrwsr-x 11 otrs apache 4096 Jun  5 16:40 ..
-rw-rw----  1 otrs apache   52 May 11 14:42 aaa_base
-rw-rw----  1 otrs apache  179 May 11 14:42 cache
-rw-rw----  1 otrs apache  180 May 11 14:42 fetchmail
-rw-rw----  1 otrs apache  106 May 11 14:42 generate_dashboard_stats
-rw-rw----  1 otrs apache  295 May 11 14:42 generic_agent
-rw-rw----  1 otrs apache  106 May 11 14:42 generic_agent-database
-rw-rw----  1 otrs apache   99 May 11 14:42 pending_jobs
-rw-rw----  1 otrs apache  101 May 11 14:42 postmaster
-rw-rw----  1 otrs apache   98 May 11 14:42 postmaster_mailbox
-rw-rw----  1 otrs apache   80 May 11 14:42 rebuild_ticket_index
-rw-rw----  1 otrs apache   87 May 11 14:42 scheduler_watchdog
-rw-rw----  1 otrs apache  123 May 11 14:42 session
-rw-rw----  1 otrs apache  107 May 11 14:42 unlock
and cronjobs is started:

Code: Select all

-rw-rw----  1 otrs apache  107 May 11 14:42 unlock
[tobias@otrs2 ~]$ sudo /opt/otrs/bin/Cron.sh start tobias
[sudo] password for tobias: 
/home/tobias
Cron.sh - start/stop OTRS cronjobs
Copyright (C) 2001-2012 xxx, http://otrs.org/
(using /opt/otrs) done
What is weird, is that if I try to restart crond, I've get this message:

Code: Select all

[tobias@otrs2 ~]$ systemctl restart crond.service
Failed to restart crond.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
Does anyone have an idea what the problem could be? :(

Regards,

alvarex
alvarex
Znuny newbie
Posts: 2
Joined: 08 Jun 2015, 11:24
Znuny Version: 4.0.8

Re: Scheduler doens't run

Post by alvarex »

I solved the problem :)
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Re: Scheduler doens't run

Post by aph »

It would be hlpful for others to know how you solved the problem
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
Locked