rick pim wrote:
> Trog writes:
>  > You've taken note of the recent postings on trouble with the standard
>  > Solaris regex library? And how to switch to using PCRE, which solves the
>  > problem.
> 
> i have. i got this box mostly finished back in early august and then
> took off on holidays before putting it into production.  (i mean, i'm
> insane, but not insane enough to drop something new into production
> and then leave for the better part of a month.)  the latest pcre
> thread was in the backlog of things i filtered through on returning.
> 
> so: i have three alternatives. in more or less the order of increasing
> amount of work:
> 
>  - turn off PhishingScanURLs
> 
>  - write a script to restart clam once or twice a day

crontab entry:

* * * * * daemonwatch clamd

daemonwatch psuedo code:

#!/bin/some_shell
daemon=$1

case $1 in
clamd)
        if not pgrep $daemon;restart daemon;fi
        ;;

freshclam)
        and so on
        ;;
*)
        echo "usage: daemonwatch some_daemon
esac



dp
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to