Installing ClamAV for file system

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
laughingbuddha
Forum Regular
Forum Regular
Posts: 512
Joined: Mon Mar 10, 2008 9:12 pm
Location: Southampton, UK

Installing ClamAV for file system

Unread post by laughingbuddha »

Hi,

I'm running a Digital Ocean VPS for a client, all is going well and I would like to install ClamAV for file system checks.

There's no emails or email server on this install, nor Plesk (it has been an interesting experience working without Plesk), but I've installed RKHunter and Fail2Ban to help protect the server. Plus IP Tables are very much locked down with only 4 ports open at most.

My idea is to have clamAV available and running, but after doing a yum install (I'm running the ART repo channel), it's coming up with this error:-

Code: Select all

[root@dev /]# service clamd start
Starting Clam AntiVirus Daemon: ERROR: Please edit the example config file /etc/clamd.conf
ERROR: Can't open/parse the config file /etc/clamd.conf
                                                           [FAILED]
and...

Code: Select all

[root@dev /]# freshclam
ERROR: Please edit the example config file /etc/freshclam.conf
ERROR: Can't open/parse the config file /etc/freshclam.conf
Help!
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8330
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Installing ClamAV for file system

Unread post by scott »

Is that clam package from atomic or another repo?
laughingbuddha
Forum Regular
Forum Regular
Posts: 512
Joined: Mon Mar 10, 2008 9:12 pm
Location: Southampton, UK

Re: Installing ClamAV for file system

Unread post by laughingbuddha »

Er rum, not sure. I had the ART repo added to YUM when I installed it, but not sure. Is there a way to tell, or to remove it and force the install from ART.
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8330
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Installing ClamAV for file system

Unread post by scott »

If memory serves the clam config files are set to disable by default if "Example" is not commented out.
AntiochInteractive
Forum User
Forum User
Posts: 35
Joined: Thu Jan 08, 2009 4:31 am
Location: Fort Worth, TX
Contact:

Re: Installing ClamAV for file system

Unread post by AntiochInteractive »

Last few times I've installed the art distro of clamd, they needed configuring and did not run out of the box.
laughingbuddha
Forum Regular
Forum Regular
Posts: 512
Joined: Mon Mar 10, 2008 9:12 pm
Location: Southampton, UK

Re: Installing ClamAV for file system

Unread post by laughingbuddha »

Yes that seemed to be the case when I last did it.
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8330
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Installing ClamAV for file system

Unread post by scott »

We moved the configuration out from those packages (which was never very good) into an ASL module.
Post Reply