> > ------------------------------ > > Message: 6 > Date: Wed, 30 Apr 2008 11:57:32 -0400 > From: "Hermann T. Ribeiro" <[EMAIL PROTECTED]> > Subject: [Clamav-users] Error at ArchiveMaxFileSize > To: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hello, > > I tried to update ClamAV from version 0.91.2 to 0.93 in a machine running > CentOS and Zimbra. > To start the services with Zimbra I typed the following command: zmcontrol > start > > and the following message appeared: > Starting antivirus...FAILED > clamd failed to start > > I looked at the log at: /opt/zimbra/log/clamd.log and saw the following > message: > ERROR: Parse error at line 241: Unknown option ArchiveMaxFileSize. > ERROR: Can't open/parse the config file /opt/zimbra/conf/clamd.conf > > So I commented this line at /opt/zimbra/conf/clamd.conf: > # ArchiveMaxFileSize 100M > > but when I try to start the service again (zmcontrol start) the same error > message appears again and the line ArchiveMaxFileSize is no longer > commented > (!!!) > What do I need to do ? > > Thanks for any help. > > > ------------------------------ > > Message: 7 > Date: Wed, 30 Apr 2008 12:42:26 -0400 > From: "James Pratt" <[EMAIL PROTECTED]> > Subject: Re: [Clamav-users] Error at ArchiveMaxFileSize > To: "ClamAV users ML" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="us-ascii" > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:clamav-users- > > [EMAIL PROTECTED] On Behalf Of Hermann T. Ribeiro > > Sent: Wednesday, April 30, 2008 11:58 AM > > To: [email protected] > > Subject: [Clamav-users] Error at ArchiveMaxFileSize > > > > Hello, > > > > I tried to update ClamAV from version 0.91.2 to 0.93 in a machine > > running > > CentOS and Zimbra. > > To start the services with Zimbra I typed the following command: > > zmcontrol > > start > > > > and the following message appeared: > > Starting antivirus...FAILED > > clamd failed to start > > > > I looked at the log at: /opt/zimbra/log/clamd.log and saw the > following > > message: > > ERROR: Parse error at line 241: Unknown option ArchiveMaxFileSize. > > ERROR: Can't open/parse the config file /opt/zimbra/conf/clamd.conf > > > > So I commented this line at /opt/zimbra/conf/clamd.conf: > > # ArchiveMaxFileSize 100M > > > > but when I try to start the service again (zmcontrol start) the same > > error > > message appears again and the line ArchiveMaxFileSize is no longer > > commented > > (!!!) > > What do I need to do ? > > > > > Perhaps look at the README file prior to upgrading? > > > clamd: > - NEW CONFIG FILE OPTIONS: MaxScanSize, MaxFileSize, MaxRecursion, > MaxFiles > - ** THE FOLLOWING OPTIONS ARE NO LONGER SUPPORTED **: > MailMaxRecursion, > ArchiveMaxFileSize, ArchiveMaxRecursion, ArchiveMaxFiles, > ArchiveMaxCompressionRatio, ArchiveBlockMax > > > > > Hi,
I thought that clamd.conf it would be updated with these new options, but I was wrong. I found the solution at clamd.conf.in, I commented the line ArchiveMaxFileSize so everything was fine. The clamd.conf.in overwrite the clamd.conf, that´s why always this parameter ArchiveMaxFileSize changed from #Archive... to Archive... H. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
