logrotate error
On my non-GUI debian box I get this email to root:
Code:
/etc/cron.daily/logrotate: What's happening, and what can I do to fix it? This is /etc/cron.daily/logrotate: Code:
#!/bin/sh Code:
# test -x /etc/cron.daily/logrotate Code:
# /usr/sbin/logrotate /etc/logrotate.conf This is logrotate.conf: Code:
# rotate log files weekly Thanks! |
I suspect the line which reads "There was no data to process" may tell the story. It sounds like you do not have logging enabled.
Have you looked into /var/log to see if there are log files, and if they contain any data? Have you checked /etc for a subdirectory named syslog, syslog-ng, or something similar? If there are no log files in /var/log, and /etc doesn't have a syslog subdirectory, you may not have loging enabled. Some distros have a default loging setup, others offer you a choice at installation time. |
All times are GMT -5. The time now is 06:09 PM. |