Koozali.org: home of the SME Server

Getting daily cron error emails

Chris

Getting daily cron error emails
« 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!

Chris

Re: Getting daily cron error emails
« Reply #1 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?

AJB

Re: Getting daily cron error emails
« Reply #2 on: January 08, 2004, 08:27:14 PM »
I have the same problem - anyone find where to fix the path yet?

Michiel

Re: Getting daily cron error emails
« Reply #3 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.

AJB

Re: Getting daily cron error emails
« Reply #4 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