LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache mailing log error (https://www.linuxquestions.org/questions/linux-software-2/apache-mailing-log-error-170818/)

esteeven 04-16-2004 02:57 AM

Apache mailing log error
 
Hi there
Suddenly I have a cronjob mailing telling me about an error :

Cron <root@localhost> test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily
/etc/cron.daily/logrotate:
stat of /var/log/wtmp failed: No such file or directory
run-parts: /etc/cron.daily/logrotate exited with return code 1

I have changed nothing - apart from rebooting my system (including the router, hub etc) - the only difference is that my server is now 192.168.1.101 rather than 192.168.1.104.

Cheers

micxz 04-16-2004 03:02 AM

How about:

touch /var/log/wtmp

BTW this has nothing to do with "Apache". This is a logrotate error'
?


All times are GMT -5. The time now is 12:01 AM.