ClamAV

deeeeeeeeeen

New member
Joined
Sep 29, 2008
Messages
2
Hi there !

I am a newbie in Linux, I have newly installed clamav 0.94 on centos 5.2, I got error while i try to start freshclam,

error message as follows:
[root@localhost ~]#
[root@localhost ~]# /usr/local/bin/freshclam
ERROR: Parse error at line 7: Option AllowSupplementaryGroups requires boolean argument.
ERROR: Parse error at line 3: Option LogTime requires boolean argument.
ERROR: Can't parse the config file /etc/clamav/clamd.conf
[root@localhost ~]# whereis freshclam
freshclam: /usr/local/bin/freshclam
[root@localhost ~]# whereis clamav
clamav: /etc/clamav
[root@localhost ~]#


my config file is (which i copy from someone's installation handbook)
/etc/clamav/clamd.conf

LogFile /var/log/clamav/clamd.log
LogFileMaxSize 200M
LogTime
PidFile /var/run/clamav/clamd.pid
TemporaryDirectory /tmp
DatabaseDirectory /usr/local/share/clamav
LocalSocket /var/run/clamav/clamd
User clamav
AllowSupplementaryGroups

etc/clamav/freshclam.conf

DatabaseDirectory /usr/local/share/clamav
UpdateLogFile /var/log/clamav/freshclam.log
PidFile /var/run/clamav/freshclam.pid
DatabaseOwner clamav
AllowSupplementaryGroups
DatabaseMirror db.tw.clamav.net

Please give me the exact way to solve the problem, appreciated your helping hand
 
AllowSupplementaryGroups requires and argument after it.

"AllowSupplementaryGroups yes"
"AllowSupplementaryGroups no"

same thing with logtime

May also be true or false.
 
Clamav is one of the easiest softwares to use. He just screwed up his config is all.
 
If you ask me clamav is a virus, just try to get rid of the darn thing if you can.

Pain in the backside.

David
Works fine for us. The key is to make sure your server is up to the task, and to use blocklists to block as much spam as possible first, so as to not overload your server.

Jeff
 
I agree ClamAV is easy to install, but to get it to work with exim is a b*.... The documentation that is out there is not fully complete. One is saying this and the other is saying that. But binded together they are complete... LOL

Oh well still ClamAV is easy to install though. I had that up and running in a jiffy, except for the clamd with exim part.. :)
 
We install it according to this thread, but we make sure by checking here to make sure we're installing the latest version. Even two years later, this still works for us. If it's too complicated let me know and next time I do an install I'll also write an updated How-To.

Jeff
 
Back
Top