
hermann.ribeiro at gmail
May 1, 2008, 7:47 AM
Post #3 of 4
(213 views)
Permalink
|
> > ------------------------------ > > Message: 6 > Date: Wed, 30 Apr 2008 11:57:32 -0400 > From: "Hermann T. Ribeiro" <hermann.ribeiro[at]gmail.com> > Subject: [Clamav-users] Error at ArchiveMaxFileSize > To: clamav-users[at]lists.clamav.net > Message-ID: > <ec60b4980804300857k243907ajfdbd54d36ab89ff9[at]mail.gmail.com> > 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" <jpratt[at]norwich.edu> > Subject: Re: [Clamav-users] Error at ArchiveMaxFileSize > To: "ClamAV users ML" <clamav-users[at]lists.clamav.net> > Message-ID: > <3CB18FFE1CDC71449BCCEC0FFD983110963FFC[at]NUMAIL.norwich.edu> > Content-Type: text/plain; charset="us-ascii" > > > > > -----Original Message----- > > From: clamav-users-bounces[at]lists.clamav.net [mailto:clamav-users- > > bounces[at]lists.clamav.net] On Behalf Of Hermann T. Ribeiro > > Sent: Wednesday, April 30, 2008 11:58 AM > > To: clamav-users[at]lists.clamav.net > > 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
|