clamav-users May 2009 archive
Main Archive Page > Month Archives  > clamav-users archives
clamav-users: Re: [Clamav-users] clamd crash during reload

Re: [Clamav-users] clamd crash during reload

From: Török Edwin <edwintorok_at_nospam>
Date: Fri May 29 2009 - 14:09:55 GMT
To: ClamAV users ML <clamav-users@lists.clamav.net>


On 2009-05-29 14:46, Tony Finch wrote:
> Last night one of our clamds crashed while trying to reload its database
> at the same time that freshclam was updating it. I thought that the update
> was designed to be free of races - it was when I looked at the code many
> versions ago.
>
> Here are the logs at the time of the crash, plus one line before and after
> for context. It isn't very informative :-( It would be nice if the
> cli_errmsg function logged to syslog when called by clamd.
>
> If this happens again I'll have to wrap freshclam in a script to ensure
> atomic updates.
>

Please open a bugreport at bugs.clamav.net, and provide the output of clamconf -n.

Best regards,
--Edwin



Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml