[Grml] slightly OT: cron not working

Lars Schimmer l.schimmer at cgv.tugraz.at
Tue Nov 25 09:04:46 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Sorry for slightly OT, but I need some help after I did not found a error.
On my debian amd64 system the crond doesn't work any more. For all
entries in the crontab, it writes "permission denied" into syslog.
And I do not know why - any hint is appreciated.

# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file.
# This file also has a username field, that none of the other crontabs do.
#
SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
#
# m h dom mon dow user  command
17 *    * * *   root    run-parts --report /etc/cron.hourly
28 5    * * *   root    test -x /usr/sbin/anacron || run-parts --report
/etc/cron.daily
47 6    * * 7   root    test -x /usr/sbin/anacron || run-parts --report
/etc/cron.weekly
52 6    1 * *   root    test -x /usr/sbin/anacron || run-parts --report
/etc/cron.monthly

22 *	* * *	root	echo echo >>/tmp/test2.txt

ls -l /etc/ |grep cron
- -rw-r--r--  1 root   root        395 2008-03-10 02:14 anacrontab
drwxr-xr-x  2 root   root       4096 2008-11-24 17:14 cron.d
drwxr-xr-x  2 root   root       4096 2008-11-24 17:14 cron.daily
drwxr-xr-x  2 root   root       4096 2008-11-24 17:14 cron.hourly
drwxr-xr-x  2 root   root       4096 2008-11-24 17:14 cron.monthly
- -rw-r--r--  1 root   root        653 2008-11-24 17:20 crontab
drwxr-xr-x  2 root   root       4096 2008-11-24 17:14 cron.weekly
- -rw-r--r--  1 root   root         93 2008-10-27 15:15 cvs-cron.conf

cat /var/log/syslog
Nov 24 17:22:01 tetris CRON[14541]: Permission denied
Nov 24 17:22:01 tetris CRON[14540]: Permission denied
Nov 24 17:22:01 tetris CRON[14542]: Permission denied
Nov 24 17:25:01 tetris CRON[15176]: Permission denied
Nov 24 17:25:01 tetris CRON[15175]: Permission denied


ps aux f |grep cron
root     15472  0.0  0.0   5856   764 pts/9    S+   17:27   0:00  |   |
          \_ grep cron
root     13780  0.0  0.0  20528  1056 ?        Ss   17:14   0:00
/usr/sbin/cron -L 2



MfG,
Lars Schimmer
- --
- -------------------------------------------------------------
TU Graz, Institut für ComputerGraphik & WissensVisualisierung
Tel: +43 316 873-5405       E-Mail: l.schimmer at cgv.tugraz.at
Fax: +43 316 873-5402       PGP-Key-ID: 0x4A9B1723
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkrsZ4ACgkQmWhuE0qbFyPBcwCglvQAoUpakvJZ24gO/mozXI0a
eWkAnjGtIFq321FMeay4P/0vEyvNKESA
=qAp4
-----END PGP SIGNATURE-----



More information about the Grml mailing list