Page 1 of 1

Can't start ClamAV after latest upgrade

Posted: Fri May 30, 2008 8:08 pm
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]

:(

started but worried

Posted: Fri May 30, 2008 8:26 pm
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

Posted: Fri May 30, 2008 9:29 pm
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?

Posted: Sat May 31, 2008 11:07 pm
by Galactic Zero
I'd check permissions and make sure stuff is owned by the right owner / group, typically qscand:clamav or qscand:qscand.

Posted: Sun Jun 01, 2008 1:23 am
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!