clamav without freshclam?

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
supremedalek
Posts: 26
Joined: 2008/02/23 16:35:19

clamav without freshclam?

Post by supremedalek » 2008/06/29 21:02:33

I installed the clamav package (default centos package site) in my centos 4.6 box but for some reason I cannot find the freshclam application. Where should it be hiding at? Or, is there another way to retrieve the new virus definitions without using freshaclam?

simonapnic
Posts: 20
Joined: 2008/07/06 20:32:04
Contact:

Re: clamav without freshclam?

Post by simonapnic » 2008/07/09 21:08:01

Try to look for the clamav-update package.
Have you done a find / -name freshclam on your system ?
You might have to get it from their site by compiling the source.

jimmy03
Posts: 1
Joined: 2008/10/16 06:25:31
Contact:

Re: clamav without freshclam?

Post by jimmy03 » 2008/10/16 06:58:34

Hello,
I will guide you through a complete setup so you can get your clamav working:

1. In clamd.conf remove:

Code:

LocalSocket /tmp/clamd.socket
FixStaleSocket yes

2. In clamd.conf, change:

Code:

User axigen

to:
Code:

User clamav

3. In freshclam.conf make sure that you have:

Code:

DatabaseOwner clamav

4. Run these commands to make sure permissions are right:

Code:

chown -R clamav:clamav /var/clamav
chown -R clamav:clamav /var/log/clamav
chown -R clamav:clamav /var/run/clamav

After all these steps have been performed you need to restart the clamav service. This is a permission issue and can be solved rather quickly. Just make sure you use the clamav user everywhere (not axigen) and that all folders that clamav wants to access belong to its user and group. This is generally a safe bet.

Post Reply

Return to “CentOS 4 - Server Support”