Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: users

Error at ArchiveMaxFileSize

 

 

ClamAV users RSS feed   Index | Next | Previous | View Threaded


hermann.ribeiro at gmail

Apr 30, 2008, 8:57 AM

Post #1 of 4 (226 views)
Permalink
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 ?

Thanks for any help.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


jpratt at norwich

Apr 30, 2008, 9:42 AM

Post #2 of 4 (217 views)
Permalink
Re: Error at ArchiveMaxFileSize [In reply to]

> -----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


_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


hermann.ribeiro at gmail

May 1, 2008, 7:47 AM

Post #3 of 4 (213 views)
Permalink
Re: Error at ArchiveMaxFileSize [In reply to]

>
> ------------------------------
>
> 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


jpratt at norwich

May 1, 2008, 8:02 AM

Post #4 of 4 (213 views)
Permalink
Re: Error at ArchiveMaxFileSize [In reply to]

> -----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: Thursday, May 01, 2008 10:47 AM
> To: clamav-users[at]lists.clamav.net
> Subject: Re: [Clamav-users] Error at ArchiveMaxFileSize
>
>
> 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.

If any clamd.conf/freshclam.conf files exist, they will never be overwritten on either a new install, or an upgrade... (diff and patch are your friends! :)

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

ClamAV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.