Can't start ClamAV after latest upgrade

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
bibliopegist
Forum User
Forum User
Posts: 24
Joined: Sat Feb 16, 2008 7:22 am

Can't start ClamAV after latest upgrade

Unread post by bibliopegist »

> /etc/rc.d/init.d/clamd start
Starting Clam AntiVirus Daemon: ERROR: Parse error at line 282: Unknown option ArchiveMaxFileSize.
ERROR: Can't open/parse the config file /etc/clamd.conf
[FAILED]

:(
bibliopegist
Forum User
Forum User
Posts: 24
Joined: Sat Feb 16, 2008 7:22 am

started but worried

Unread post by bibliopegist »

after I commented out the Archive scanning...

# The options below protect your system against Denial of Service attacks
# using archive bombs.

# Files in archives larger than this limit won't be scanned.
# Value of 0 disables the limit.
# Default: 10M
#ArchiveMaxFileSize 10M

# Nested archives are scanned recursively, e.g. if a Zip archive contains a RAR
# file, all files within it will also be scanned. This options specifies how
# deeply the process should be continued.
# Value of 0 disables the limit.
# Default: 8
#ArchiveMaxRecursion 10

# Number of files to be scanned within an archive.
# Value of 0 disables the limit.
# Default: 1000
#ArchiveMaxFiles 1500

# If a file in an archive is compressed more than ArchiveMaxCompressionRatio
# times it will be marked as a virus (Oversized.ArchiveType, e.g. Oversized.Zip)
# Value of 0 disables the limit.
# Default: 250
#ArchiveMaxCompressionRatio 300

# Use slower but memory efficient decompression algorithm.
# only affects the bzip2 decompressor.
# Default: no
#ArchiveLimitMemoryUsage yes
bibliopegist
Forum User
Forum User
Posts: 24
Joined: Sat Feb 16, 2008 7:22 am

Unread post by bibliopegist »

Starting Clam AntiVirus Daemon: LibClamAV Warning: **************************************************
LibClamAV Warning: *** The virus database is older than 7 days! ***
LibClamAV Warning: *** Please update it as soon as possible. ***
LibClamAV Warning: **************************************************
[ OK ]

but freshclam says it's up to date

any idea what up here?
Galactic Zero
Forum Regular
Forum Regular
Posts: 471
Joined: Mon Dec 06, 2004 10:43 pm

Unread post by Galactic Zero »

I'd check permissions and make sure stuff is owned by the right owner / group, typically qscand:clamav or qscand:qscand.
Franklyn Halamka
Still learning my way around Linux Security.
http://www.galacticzero.net
bibliopegist
Forum User
Forum User
Posts: 24
Joined: Sat Feb 16, 2008 7:22 am

Unread post by bibliopegist »

Galactic Zero wrote:I'd check permissions and make sure stuff is owned by the right owner / group, typically qscand:clamav or qscand:qscand.
what do you mean by "stuff"

never mind, I found the answer, thank!
Post Reply