Dennis Peterson wrote:
Tomasz Kojm wrote:
On Mon, 26 Feb 2007 23:41:39 -0800
Dennis Peterson <[EMAIL PROTECTED]> wrote:
Wolf, Brian wrote:
Brian wrote:
both freshclam and clamd 0.90 have been dying with
"Can't lock database directory" every time a new version of
signatures comes out.
It looks like my problem was caused by having freshclam run a script
after an update using the OnUpdateExecute line in freshclam.conf.
The script created a file containing the EICAR pattern and then
scanned it with
cat /tmp/eicar.com | /usr/local/bin/clamscan --quiet -
Once I removed the clamscan command, the error went away. This
command worked okay in previous versions.
I get that same error and I don't run a script. Still haven't figured
it out.
Does it occur with each run of freshclam?
Yes.
Let me expand some, because something's changed. Some days ago I
redirected stdout and error out to dev/null because of the cron mail
that was being send when running freshclam. I just ran it from the
command line and it worked fine - no error. Nothing changed (something
I'm sure of is wrong :) ) but now the error is gone. I've removed the
error redirection from the cron process and will monitor again.
dp
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html