seit dem upgrade sarge->etch (?) funktioniert cron nicht mehr richtig, dieser thread half mir nicht:
http://www.debianforum.de/forum/viewtopic.php?t=77000
/var/log/cron.log wurde wohl seit dem upgrade auf sarge ignoriert (?), und alles landet seither nach syslog.
Im syslog fand ich ebenfalls keine Erklärung.
anacron ist ebenfalls installiert, liegt es daran? Ich würde denken, dass sich die beiden ergänzen, und anacron erst nach einem reboot einspringt, wenn ein job noch nicht ausgeführt wurde.
Code: Alles auswählen
# crontab -l
#15 4 * * * #/root/confixx/confixx_counterscript.pl
Code: Alles auswählen
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
Code: Alles auswählen
# ls /etc/cron.*
/etc/cron.d:
logcheck munin munin-node php4 php5 php5-1-common sysstat tiger
/etc/cron.daily:
00logwatch apt-listbugs cracklib-runtime find.notslocate.dpkg-new mysql-server-41.dpkg-old sysklogd
apt apt-show-versions dlocate logrotate mysql-server.dpkg-old sysstat
apticron bsdmainutils dwww man-db slocate webalizer
aptitude chkrootkit find.notslocate modutils standard
/etc/cron.hourly:
/etc/cron.monthly:
proftpd standard
/etc/cron.weekly:
dhelp dwww man2html man-db sysklogd
Code: Alles auswählen
# run-parts --list /etc/cron.hourly
#
# run-parts --list /etc/cron.daily
/etc/cron.daily/00logwatch
/etc/cron.daily/apt
/etc/cron.daily/apt-listbugs
/etc/cron.daily/apt-show-versions
/etc/cron.daily/apticron
/etc/cron.daily/aptitude
/etc/cron.daily/bsdmainutils
/etc/cron.daily/chkrootkit
/etc/cron.daily/cracklib-runtime
/etc/cron.daily/dlocate
/etc/cron.daily/dwww
/etc/cron.daily/logrotate
/etc/cron.daily/man-db
/etc/cron.daily/modutils
/etc/cron.daily/slocate
/etc/cron.daily/standard
/etc/cron.daily/sysklogd
/etc/cron.daily/sysstat
/etc/cron.daily/webalizer
# run-parts --list /etc/cron.weekly
/etc/cron.weekly/dhelp
/etc/cron.weekly/dwww
/etc/cron.weekly/man-db
/etc/cron.weekly/man2html
/etc/cron.weekly/sysklogd
Code: Alles auswählen
# ps axu|grep cron
root 15781 0.0 0.0 2132 888 ? Ss Nov25 0:00 /usr/sbin/cron
logcheck munin munin-node php4 php5 php5-1-common sysstat tiger werden ausgeführt.
Stört anacron cron?
http://www.debianforum.de/forum/viewtop ... 542#544542
Code: Alles auswählen
pvXX:/# cd / && run-parts -v --report /etc/cron.daily
run-parts: executing /etc/cron.daily/00logwatch
run-parts: executing /etc/cron.daily/apt
run-parts: executing /etc/cron.daily/apt-listbugs
run-parts: executing /etc/cron.daily/apt-show-versions
run-parts: executing /etc/cron.daily/apticron
/etc/cron.daily/apticron:
RTNETLINK answers: Address family not supported by protocol
Dump terminated
run-parts: executing /etc/cron.daily/aptitude
run-parts: executing /etc/cron.daily/bsdmainutils
run-parts: executing /etc/cron.daily/checksecurity
run-parts: executing /etc/cron.daily/chkrootkit
/etc/cron.daily/chkrootkit:
The following suspicious files and directories were found:
/usr/lib/cgi-bin/.htaccess
/lib/init/rw/.ramfs
You have 53 process hidden for readdir command
chkproc: Warning: Possible LKM Trojan installed
run-parts: executing /etc/cron.daily/cracklib-runtime
run-parts: executing /etc/cron.daily/dlocate
run-parts: executing /etc/cron.daily/dwww
run-parts: executing /etc/cron.daily/logrotate
run-parts: executing /etc/cron.daily/man-db
run-parts: executing /etc/cron.daily/modutils
run-parts: executing /etc/cron.daily/slocate
run-parts: executing /etc/cron.daily/standard
run-parts: executing /etc/cron.daily/sysklogd
run-parts: executing /etc/cron.daily/sysstat
run-parts: executing /etc/cron.daily/webalizer
/etc/cron.daily/webalizer:
--> unresolved country for '308.96.54.368' (GeoIP says (null):(null))
[...]
--> unresolved country for '379.210.217.361' (GeoIP says (null):(null))
pvXX:/#
pvXX:/# cd / && run-parts -v --report /etc/cron.weekly
run-parts: executing /etc/cron.weekly/checksecurity
run-parts: executing /etc/cron.weekly/dhelp
run-parts: executing /etc/cron.weekly/dwww
run-parts: executing /etc/cron.weekly/man-db
run-parts: executing /etc/cron.weekly/man2html
run-parts: executing /etc/cron.weekly/sysklogd
pvXX:/#
pvXX:/# cd / && run-parts -v --report /etc/cron.monthly/
run-parts: executing /etc/cron.monthly//proftpd
run-parts: executing /etc/cron.monthly//standard
pvXX:/#
Code: Alles auswählen
/etc/cron.daily/apt-show-versions:
/bin/fgrep: line 2: /bin/grep: Too many open files in system
/bin/fgrep: line 2: /bin/grep: Success
Code: Alles auswählen
You have 53 process hidden for readdir command
chkproc: Warning: Possible LKM Trojan installed