I had the same problem.
Fixed it by starting clamd in single user mode.
Ie sudo /path/to/bin/clamd
HTH.
James.
On 16/02/2007, at 2:18 AM, Roger M wrote:
Hello All.
I have installed the latest version of clamav on my redhat server.
I keep getting this error on my server. Can anyone help
ERROR: chdir_inc: Can't create directory main.inc
ERROR: getfile: Can't create new
file ./clamav-d1baccbdbca7c6255cc93d7e80896256
in /usr/local/share/clamav
ERROR: Can't download main.cvd from db.uk.clamav.net
LibClamAV Error: Database Directory: /usr/local/share/clamav not
locked
and in my log files i have this i.e clamd.log
LOGGING DISABLED (Maximal log file size exceeded).
Log size = 1058339, maximal = 1048576
LOGGING DISABLED (Maximal log file size exceeded).
Log size = 1058428, maximal = 1048576
LOGGING DISABLED (Maximal log file size exceeded).
Log size = 1058517, maximal = 1048576
LOGGING DISABLED (Maximal log file size exceeded).
Log size = 1058606, maximal = 1048576
LOGGING DISABLED (Maximal log file size exceeded).
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://
wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html