Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Chris on December 12, 2003, 01:03:37 AM

Title: Getting daily cron error emails
Post by: Chris on December 12, 2003, 01:03:37 AM
/etc/cron.daily/logrotate:

error: error accessing /va/rlog/snort: No such file or directory
error: snort:4 glob failed for /va/rlog/snort/*/*log

I've search the forum and couldnt find anyone else with this same error? Is there a file i need to edit or change? Any ideas would be great thanks!
Title: Re: Getting daily cron error emails
Post by: Chris on December 12, 2003, 05:46:26 AM
Chris wrote:

> /etc/cron.daily/logrotate:
>
> error: error accessing /va/rlog/snort: No such file or
> directory
> error: snort:4 glob failed for /va/rlog/snort/*/*log

There is a problem with the path. It should be /var/log/snort/...

I dont know where you would have to fix it though, maybe in the snort config file?
Title: Re: Getting daily cron error emails
Post by: AJB on January 08, 2004, 08:27:14 PM
I have the same problem - anyone find where to fix the path yet?
Title: Re: Getting daily cron error emails
Post by: Michiel on January 08, 2004, 09:22:55 PM
You'll find that line in /etc/logrotate.conf. Looks like the author of the snort contrib you're using made an error.
Title: Re: Getting daily cron error emails
Post by: AJB on January 12, 2004, 06:27:29 AM
FYI - I found and fixed the offending line in /etc/logrotate.d/snort

Thanks Michiel, your post pointed me in the right direction!

AJB