|
|
 |
FN-FORUM: log-not-rotate
date posted 8th August 2005 11:08
Hi all
anyone any ideas on the following:
(Linux - Fedora 2)
I have been trying to set up logrotate but cannot seem to get it
running correctly.
Each time I try to rotate em I get the following error:
error: mail command failed for /var/log/httpd/error_log.1
error: mail command failed for /var/log/httpd/ssl_error_log.1
error: mail command failed for /var/log/mysqld.log.1.gz
error: mail command failed for /var/log/snort/alert.1.gz.1.gz.1.gz
error: mail command failed for /var/log/messages.1.gz
I have it set to email the logs to myself, but nothing arrives.
It seems to do the other bit ok. ie compressing (or not) the old log
files
and creating new ones ok. But not the email bit.
The mail application seems to be set up correctly as I receive the
logwatch email each day without problem.
any ideas??
john
|
 |
|