Forum archive
TKL cron tasks not running after restore to a new instance
I recently restored a backup to a new instance. Most things are running fine, except the cron task that looks like:
/etc/cron.daily/apt
/etc/cron.daily/etckeeper
/etc/cron.daily/mysqloptimize
/etc/cron.daily/man-db
/etc/cron.daily/logrotate
/etc/cron.daily/tklbam-backup
/etc/cron.daily/apache2
/etc/cron.daily/passwd
/etc/cron.daily/dpkg
/etc/cron.daily/bsdmainutils
/etc/cron.daily/ntp
Isn't running. It's set to run as root. When I run it manually from Webmin this message appears:
Output from command libuuid test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) ..
/bin/sh: 1: libuuid: not found
I checked /var/log/syslog, and it says:
May 20 23:09:01 lamp cron[454]: (*system*) WRONG FILE OWNER (/etc/crontab)
May 20 23:09:01 lamp cron[454]: (*system*cron-apt) WRONG FILE OWNER (/etc/cron.d/cron-apt)
May 20 23:09:01 lamp cron[454]: (*system*php5) WRONG FILE OWNER (/etc/cron.d/php5)
All three referenced files are owned by libuuid.
When I log into Shell-in-a-Box as root and run the commands manually, they work.
Any idea what is wrong, and how to correct it? Since it runs tklbam-backup, I'm concerened...
About a minute after I posted this I retsarted my original server, and copied the contents from that instance's /etc/crontab to the new instance. I retsarted the cron service, and now it looks like it's functioning again when I run the task manually from Webmin. We'll see tomorrow if it updates my tklbackup automatically.