cron + task.queue problem

nango

Verified User
Joined
May 13, 2006
Messages
92
Hi
I have problem on task.queue and cron on CentOS and DA 1.44.0
plz help.

cant restart cron failed:
Stopping crond: cannot stop crond: crond is not running
Starting crond: 'cron' is not a directory, bailing out

ps ax | grep cron Result= 6360 pts/0 S+ 0:00 grep cron

What I did is:

chmod 644 /etc/cron.d/directadmin_cron
/sbin/service crond restart = Failed

yum -y install vixie-cron cronie
chkconfig crond on
service crond start = Failed

/usr/local/directadmin/dataskq d
service crond start = Failed


For this problem backups and some services not work, cant unsuspend domain:
Error activating cronjobs: crontab returned non zero value: 'cron' is not a directory, bailing out.
 
You need to figure out why the cron service wont start. Check /var/log/cron or /var/log/messages
 
You need to figure out why the cron service wont start. Check /var/log/cron or /var/log/messages

I wish to know, but cant found any reason:
Code:
  /var/log/cron :
Dec 16 18:21:00 hostname anacron[5769]: Job `cron.daily' terminated
Dec 16 18:21:00 hostname anacron[5769]: Normal exit (1 jobs run)
Dec 17 14:45:19 hostname anacron[7016]: Anacron 2.3 started on 2013-12-17
Dec 17 14:45:20 hostname anacron[7016]: Will run job `cron.daily' in 65 min.
Dec 17 14:45:20 hostname anacron[7016]: Jobs will be executed sequentially
Dec 17 15:50:19 hostname anacron[7016]: Job `cron.daily' started
Dec 17 15:55:26 hostname anacron[7016]: Job `cron.daily' terminated (mailing output)
Dec 17 15:55:26 hostname anacron[7016]: Normal exit (1 jobs run)
Dec 17 16:11:02 hostname anacron[7132]: Anacron 2.3 started on 2013-12-17
Dec 17 16:11:02 hostname anacron[7132]: Normal exit (0 jobs run)
Dec 17 18:19:27 hostname anacron[6990]: Anacron 2.3 started on 2013-12-17
Dec 17 18:19:28 hostname anacron[6990]: Normal exit (0 jobs run)
on /var/log/messages teher is just milion lines about named and ... nothing about cron for 3 days:
Code:
Dec 18 01:04:01 hostname named[13499]: client x.x.x.x#7761: query (cache) 'domain.com/A/IN' denied
Dec 18 01:04:03 hostname named[13499]: client x.x.x.x#26206: query (cache) 'domain.com/A/IN' denied
Dec 18 01:04:08 hostname named[13499]: client x.x.x.x#52436: query (cache) 'domain.com/A/IN' denied
Dec 18 01:04:10 hostname named[13499]: client x.x.x.x#23929: query (cache) 'domain.com/A/IN' denied
Dec 18 01:04:46 hostname named[13499]: client x.x.x.x#14153: query (cache) 'domain.com/MX/IN' denied
 
Last edited:
that says anacron. I would uninstall that and use vixie-cron install.

Code:
yum -y remove anacron
yum -y install vixie-cron
 
1.
chmod 644 /etc/cron.d/directadmin_cron
it's should be 600 not 644
2. try reinstall the vixie-cron cronie by:
yum -y reinstall vixie-cron cronie
3.send me pm , i will connect to your server, and see what is the problems
 
Back
Top