I suddenly started having the following problem today. The error message is pretty explicit but freshclam is being picky with my 'fix'

The initial error follows:

[EMAIL PROTECTED] etc]# freshclam
ERROR: Parse error at line 44: Option AllowSupplementaryGroups requires boolean argument. ERROR: Parse error at line 44: Option AllowSupplementaryGroups requires boolean argument.
ERROR: Can't parse the config file /etc/clamd.conf
[EMAIL PROTECTED] etc]#

I first commented out the 'AllowSupplementaryGroups and freshclam ran, sort of, but with the following output:

[EMAIL PROTECTED] etc]# freshclam
ERROR: Parse error at line 44: Option AllowSupplementaryGroups requires boolean argument.
ClamAV update process started at Thu Feb 22 11:48:36 2007
main.cvd is up to date (version: 42, sigs: 83951, f-level: 10, builder: tkojm)
Downloading daily-2610.cdiff [100%]
Downloading daily-2611.cdiff [100%]
Downloading daily-2612.cdiff [100%]
Downloading daily-2613.cdiff [100%]
Downloading daily-2614.cdiff [100%]
Downloading daily-2615.cdiff [100%]
Downloading daily-2616.cdiff [100%]
Downloading daily-2617.cdiff [100%]
Downloading daily-2618.cdiff [100%]
Downloading daily-2619.cdiff [100%]
Downloading daily-2620.cdiff [100%]
Downloading daily-2621.cdiff [100%]
Downloading daily-2622.cdiff [100%]
Downloading daily-2623.cdiff [100%]
Downloading daily-2624.cdiff [100%]
daily.cvd updated (version: 2624, sigs: 9556, f-level: 13, builder: sven)
Database updated (93507 signatures) from db.au.clamav.net (IP: 203.16.234.78) WARNING: Clamd was NOT notified: Can't find or parse configuration file /etc/clamd.conf
[EMAIL PROTECTED] etc]#

I then uncommented the AllowSupplementaryGroups line and added '=1' to the end and got the following error:

[EMAIL PROTECTED] etc]# freshclam
ERROR: Parse error at line 44: Option AllowSupplementaryGroups requires boolean argument.
ERROR: Parse error at line 44: Unknown option AllowSupplementaryGroups=1.
ERROR: Can't parse the config file /etc/clamd.conf
[EMAIL PROTECTED] etc]#

If I change the '=1' to ' 1' it again runs, sort of, but still complains about the option needing a boolean argument.

Can someone tell me what the format for that argument is supposed to be please?

My clamd.conf file is attached if that helps.

Ta.

--

----------------------------------------------------------------------
Kind regards,

Graeme.
----------------------------------------------------------------------
Download my GnuPG public key from:-
http://www.users.tpg.com.au/gnichols/graemenichols.pub
----------------------------------------------------------------------

Death is God's way of telling you not to be such a wise guy.
##
## Example config file for freshclam
## Please read the freshclam.conf(5) manual before editing this file.
## This file may be optionally merged with clamd.conf.
##


# Comment or remove the line below.
#Example

# Path to the database directory.
# WARNING: It must match clamd.conf's directive!
# Default: hardcoded (depends on installation options)
DatabaseDirectory /var/lib/clamav

# Path to the log file (make sure it has proper permissions)
# Default: disabled
UpdateLogFile /var/log/clamav/freshclam.log

# Enable verbose logging.
# Default: disabled
#LogVerbose

# Use system logger (can work together with UpdateLogFile).
# Default: disabled
#LogSyslog

# Specify the type of syslog messages - please refer to 'man syslog'
# for facility names.
# Default: LOG_LOCAL6
#LogFacility LOG_MAIL

# This option allows you to save the process identifier of the daemon
# Default: disabled
PidFile /var/run/clamav/freshclam.pid

# By default when started freshclam drops privileges and switches to the
# "clamav" user. This directive allows you to change the database owner.
# Default: clamav (may depend on installation options)
DatabaseOwner clamav

# Initialize supplementary group access (freshclam must be started by root).
# Default: disabled
AllowSupplementaryGroups 1

# Use DNS to verify virus database version. Freshclam uses DNS TXT records
# to verify database and software versions. With this directive you can change
# the database verification domain.
# Default: enabled, pointing to current.cvd.clamav.net
DNSDatabaseInfo current.cvd.clamav.net

# Uncomment the following line and replace XY with your country
# code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
# Default: There is no default, which results in an error when running freshclam
DatabaseMirror db.au.clamav.net

# database.clamav.net is a round-robin record which points to our most 
# reliable mirrors. It's used as a fall back in case db.XY.clamav.net is 
# not working. DO NOT TOUCH the following line unless you know what you
# are doing.
DatabaseMirror database.clamav.net

# How many attempts to make before giving up.
# Default: 3 (per mirror)
#MaxAttempts 5

# Number of database checks per day.
# Default: 12 (every two hours)
Checks 24

# Proxy settings
# Default: disabled
#HTTPProxyServer myproxy.com
#HTTPProxyPort 1234
#HTTPProxyUsername myusername
#HTTPProxyPassword mypass

# Use aaa.bbb.ccc.ddd as client address for downloading databases. Useful for
# multi-homed systems.
# Default: Use OS'es default outgoing IP address.
#LocalIPAddress aaa.bbb.ccc.ddd

# Send the RELOAD command to clamd.
# Default: disabled
#NotifyClamd
# By default it uses the hardcoded configuration file but you can force an
# another one.
NotifyClamd /etc/clamd.conf

# Run command after successful database update.
# Default: disabled
#OnUpdateExecute command

# Run command when database update process fails.
# Default: disabled
#OnErrorExecute command

# Run command when freshclam reports outdated version.
# In the command string %v will be replaced by the new version number.
# Default: disabled
#OnOutdatedExecute command

# Don't fork into background.
# Default: disabled
#Foreground

# Enable debug messages in libclamav.
# Default: disabled
#Debug

# Timeout in seconds when connecting to the database server.
# Default: 30
#ConnectTimeout 60

# Timeout in seconds when reading from the database server.
# Default: 30
#ReceiveTimeout 60
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to