On Fri, 2004-01-09 at 08:58, Odhiambo Washington wrote:
> * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [20040108 18:12]: wrote:
> > http://mikecathey.com/code/clamdwatch/
>
> How do I run the script?
> 

Here's an install guide:

http://mikecathey.com/code/clamdwatch/INSTALL

I just started using this in production this morning...

It's now up to version 0.6.  I changed the exit codes so that you can
just add it to your crontab with something like this:

____SNIP____
*/1 *   * * * root      /usr/local/bin/clamdwatch.pl -q && ( /usr/bin/killall -9 
clamd; rm -fr /var/amavis/clamd; /etc/init.d/clamav-daemon start 2>&1 )
____SNIP____

See the INSTALL guide for more info.

As the bottom of the install guide notes...

____SNIP____
NOTES: This could create problems if your virus db is somehow corrupt
and cause clamd to be killed and restarted every minute.
____SNIP____

If anyone has a suggestion for a more appropriate action to take in
a case where clamd doesn't find the virus pattern, please let me know.

Run freshclam manually and try again?

Cheers,

Mike



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to