I'd check the following:
which clamscan # to see where it's executed from
ldd `which clamscan` # to see what libs are accessed
strings `which clamscan` | grep conf # to see any reference to clamd.conf
and
clamscan --debug # to see some other maybe interesting clue.
Best regards. G
James Melin wrote:
Anyone in here using clam AV in production?
I get the error:
LibClamAV Error: cl_loaddb(): Can't open file �W�!�>�!2�L/daily.cvd
when I try to run clamscan. Path is corrupted somehow? - don't know where.
I do know that I have 3 copies of daily.cvd:
/var/lib/clamav/daily.cvd /usr/local/share/clamav/daily.cvd /clamav/clamav-0.80/database/daily.cvd
Where do you set any configuration for the clamscan process? I've gone through clamd.conf and freshclam.conf and everything seems OK so there's something I've obviously missed.
What I want to check out is the resource consumption of clamscan vs clamdscan.
I've tried starting clamd with a nice value of 17 to cut down CPU use but I'm not running a busy enough system to bring that into play, I think. Clamdscan (which uses clamd) still wants 50% of the CPU.
---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
