Hmm ik heb even gekeken en dit heb ik aan informatie:
[root@linux /etc]# crontab -l
no crontab for root
In /etc/logrotate.conf staat:
# see "man logrotate" for details
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 4
# send errors to root
errors root
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
#compress
# RPM packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own lastlog or wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
create 0664 root utmp
rotate 1
}
# system-specific logs may be configured here
En dan heb ik nog /etc/logrotate.d/
daar staat een file syslog. En daar staat o.a. in:
/var/log/messages {
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
endscript
}
Dus alles wat hij moet doen staat er wel! Maar hij doet het niet. Ohja logrotate.status geeft o.a. deze informatie:
logrotate state -- version 2
"/var/log/messages" 2001-9-23
"/var/log/secure" 2001-9-23
"/var/log/maillog" 2001-9-23
"/var/log/spooler" 2001-9-23
"/var/log/boot.log" 2001-9-23
"/var/log/cron" 2001-9-23
"/var/log/wtmp" 2001-9-17
"/var/log/httpd/access_log" 2001-9-23
"/var/log/httpd/error_log" 2001-9-23
Conclusie hij is niet meer actief, maar mijn server staat dag en nacht aan.
Heeft iemand een idee waar en hoe ik hem weer actief moet maken?