[afnog] Clamav Problem
Julius Kidubuka
juki at one2net.co.ug
Fri May 6 17:24:37 EAT 2005
> I ended up modifying my clamd startup scripts to manually
> remove the socket before attempting to start the daemon.
>
> i.e a
> [ -e /tmp/clamd.sock ] && rm /tmp/clamd.sock
> or something similar.
To my clamd startup script, I have added the following lines;
<text>
start_precmd=start_precmd
start_precmd()
{
if [ -S "$clamd_socket" ]; then
warn "Stale socket $clamd_socket removed."
rm "$clamd_socket"
fi
}
stop_postcmd=stop_postcmd
stop_postcmd()
</text>
and for the past 3hrs, I haven't seen any occurance of the clamd error at
all. I'll monitor it and keep you all posted of any developments.
Cheers,
Juki.
More information about the afnog
mailing list