Paul Griffith wrote: > Greetings, > > Has anyone encountered the following problem: > > Somehow there was a stale .dbLock file in the database directory, and > the log file was full of > 'ERROR: Can't lock database directory: /cs/local/share/clamav' > I did a strace and saw the freashclam was trying to create a new > .dbLock file, but it kept failing due to the existing .dbLock file. I > am going to assume that a previous freshclam didn't exit cleanly and > left a .dbLock around, is there a FixStaleDBLock file option similar to > the FixStaleSocket option? > > We normally run freshclam out of cron, ClamAv version 0.90 and we are > using ScriptedUpdates.
Hi Paul, This happened to me a couple of times when I killed (TERM) freshclam while a download was in progress... Unfortunately I'm unable to reproduce the problem. Could you please provide some hints? -aCaB _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html