Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logrotate

Status
Not open for further replies.

Wishdiak

Technical User
Joined
Mar 7, 2004
Messages
1,787
Location
US
This is really annoying, and I should be able to figure it out, but so far no luck.

I have logrotate set up as a crontab to run daily. Every night I get messages like:
error: stat of /var/log/amd.log failed: No such file or directory

The problem is probably in /usr/local/etc/logrotate.conf, but I can't quite put my finger on it.

Any ideas?

Wishdiak
 
try
#touch /var/log/amd.log


regards,

Darmawan W. Anandita CCNA
Network/System Consultant
 
danandita,

Thanks, but should I have to touch a few files every day? That's what I've been doing.

Wishdiak
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top