Re: Amavisd and ClamAV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Friday 27 November 2009 09:49:54 John Doe wrote:
> From: Tony Molloy <tony.molloy@xxxxx>
>
> > Things work OK with the exception of clamav. When I start  clamav I get
> > the following error.
> > [root@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 ?
>
> JD
>

Yep. It was a parse error in the installed file not an open error.

cat /etc/clamd.avisd.conf

# Use system logger.
#LogSyslog

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

# This option allows you to save a process identifier of the listening
# daemon (main thread).
PidFile /var/run/amavisd/clamd.pid

# Remove stale socket after unclean shutdown.
# Default: disabled
#FixStaleSocket

# Run as a selected user (clamd must be started by root).
User amavis

# Path to a local socket file the daemon will listen on.
LocalSocket /var/spool/amavisd/clamd.sock


When I commented out LogSyslog and FixStaleSocket it started ok.

Thanks for stating the obvious sometimes that's the hardest thing to see ;-)

Tony


>
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos



-- 

Dept. of Comp. Sci.
University of Limerick.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux