Re: Email virus scanner for CentOS 5?

Posted by NeilParks on 2008/1/25 20:01:19
Quote:

AlanJBartlett wrote:
Yes you are right. ClamAV has recently been discussed in these fora.

You do not need to have a GUI to use yum or the RPMForge repo. It can be installed via a CLI.
Please have a look at this article http://wiki.centos.org/Repositories/RPMForge and also have a look at man -a yum

Hope this helps,
Alan.


I read that page and followed the instructions, and I now have clam installed.

Now my problem is, the clamd daemon won't work:

# service clamd start
Starting Clam AntiVirus Daemon: [ OK ]
# service clamd status
clamd dead but subsys locked

# tail /var/log/clamav/clamd.log
Fri Jan 25 14:29:05 2008 -> Reading databases from /var/clamav
Fri Jan 25 14:29:05 2008 -> Not loading PUA signatures.
Fri Jan 25 14:29:05 2008 -> ERROR: Unable to open file or directory
Fri Jan 25 14:54:44 2008 -> +++ Started at Fri Jan 25 14:54:44 2008
Fri Jan 25 14:54:44 2008 -> clamd daemon 0.92 (OS: linux-gnu, ARCH: i386, CPU: i386)
Fri Jan 25 14:54:44 2008 -> Running as user clamav (UID 100, GID 101)
Fri Jan 25 14:54:44 2008 -> Log file size limit disabled.
Fri Jan 25 14:54:44 2008 -> Reading databases from /var/clamav
Fri Jan 25 14:54:44 2008 -> Not loading PUA signatures.
Fri Jan 25 14:54:44 2008 -> ERROR: Unable to open file or directory

I haven't made any changes to the default clamd.conf file. Do I need to? (It came with "example" already commented out.)

This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=38&topic_id=12315&post_id=40492