[CentOS] Amavisd and ClamAV
tony.molloy at ul.ie
Fri Nov 27 11:12:18 UTC 2009
On Friday 27 November 2009 09:49:54 John Doe wrote:
> From: Tony Molloy <tony.molloy at ul.ie>
> > Things work OK with the exception of clamav. When I start clamav I get
> > the following error.
> > [root at newgoext ~]# service clamd.amavisd start
> > Starting clamd.amavisd: ERROR: Missing argument for option at line 2
> > ERROR: Can't open/parse the config file /etc/clamd.avisd.conf
> > [FAILED]
> > As this is a test server I'v set selinux to permissive so it doesn't look
> > like a selinux problem.
> So, did you check the file /etc/clamd.d/amavisd.conf ?
Yep. It was a parse error in the installed file not an open error.
# Use system logger.
# Specify the type of syslog messages - please refer to 'man syslog'
# for facility names.
# This option allows you to save a process identifier of the listening
# daemon (main thread).
# Remove stale socket after unclean shutdown.
# Default: disabled
# Run as a selected user (clamd must be started by root).
# Path to a local socket file the daemon will listen on.
When I commented out LogSyslog and FixStaleSocket it started ok.
Thanks for stating the obvious sometimes that's the hardest thing to see ;-)
> CentOS mailing list
> CentOS at centos.org
Dept. of Comp. Sci.
University of Limerick.
More information about the CentOS