Malformed database

This forum is for all copfilter support related questions in English.
Post Reply
tw56
Posts: 13
Joined: 16 Apr 2010 14:46

Malformed database

Post by tw56 » 22 May 2012 19:58

Any fix for this:
Tue May 22 10:17:19 2012 -> +++ Started at Tue May 22 10:17:19 2012
Tue May 22 10:17:19 2012 -> clamd daemon 0.96 (OS: linux-gnu, ARCH: i386, CPU: i686)
Tue May 22 10:17:19 2012 -> Log file size limited to 10485760 bytes.
Tue May 22 10:17:19 2012 -> Reading databases from /var/log/copfilter/default/opt/clamav/virdb
Tue May 22 10:17:19 2012 -> Not loading PUA signatures.
Tue May 22 10:17:25 2012 -> ERROR: Malformed database
upgraded and still.
Tue May 22 10:32:45 2012 -> +++ Started at Tue May 22 10:32:45 2012
Tue May 22 10:32:45 2012 -> clamd daemon 0.97.4 (OS: linux-gnu, ARCH: i386, CPU: i686)
Tue May 22 10:32:45 2012 -> Log file size limited to 10485760 bytes.
Tue May 22 10:32:45 2012 -> Reading databases from /var/log/copfilter/default/opt/clamav/virdb
Tue May 22 10:32:45 2012 -> Not loading PUA signatures.
Tue May 22 10:32:45 2012 -> Bytecode: Security mode set to "TrustSigned".
Tue May 22 10:32:49 2012 -> ERROR: Malformed database

tw56
Posts: 13
Joined: 16 Apr 2010 14:46

Re: Malformed database

Post by tw56 » 22 May 2012 20:54

Nevermind I finally got it working. Found an old post with similiar problem. I deleted all the files in the virdb directory except for the mirrors.dat and the sigwhitelist.ign2. After it updated it is working again. For anyone who might have the same problem the directory is at /var/log/copfilter/default/opt/clamav/virdb.

tw56
Posts: 13
Joined: 16 Apr 2010 14:46

Re: Malformed database

Post by tw56 » 23 May 2012 14:32

The witching hour?
Tue May 22 23:50:03 2012 -> SelfCheck: Database status OK.
Wed May 23 00:00:03 2012 -> SelfCheck: Database modification detected. Forcing reload.
Wed May 23 00:00:03 2012 -> Reading databases from /var/log/copfilter/default/opt/clamav/virdb
Wed May 23 00:00:08 2012 -> ERROR: reload db failed: Malformed database
Wed May 23 00:00:09 2012 -> Terminating because of a fatal error.
Wed May 23 00:00:09 2012 -> --- Stopped at Wed May 23 00:00:09 2012
Wed May 23 00:00:09 2012 -> Socket file removed.
Wed May 23 08:08:30 2012 -> +++ Started at Wed May 23 08:08:30 2012
Wed May 23 08:08:30 2012 -> clamd daemon 0.97.4 (OS: linux-gnu, ARCH: i386, CPU: i686)
Wed May 23 08:08:30 2012 -> Log file size limited to 10485760 bytes.
Wed May 23 08:08:30 2012 -> Reading databases from /var/log/copfilter/default/opt/clamav/virdb
Wed May 23 08:08:30 2012 -> Not loading PUA signatures.
Wed May 23 08:08:30 2012 -> Bytecode: Security mode set to "TrustSigned".
Wed May 23 08:08:41 2012 -> ERROR: Malformed database

ShelbyGT500
Posts: 846
Joined: 13 May 2010 22:37
Location: FRANCE

Re: Malformed database

Post by ShelbyGT500 » 24 May 2012 21:10

Hi tw56,

Are you using 3rd party signature?

Regards.

tw56
Posts: 13
Joined: 16 Apr 2010 14:46

Re: Malformed database

Post by tw56 » 29 May 2012 18:01

I was and that seems to be what was causing the problem. I turned use unofficial clamav phishing signatures off and no more problems.

ShelbyGT500
Posts: 846
Joined: 13 May 2010 22:37
Location: FRANCE

Re: Malformed database

Post by ShelbyGT500 » 29 May 2012 20:14

Hi tw56,

I think mbl.ndb is malformed (it's very common).You can confirm with cron4hourly.log

You can try this: viewtopic.php?f=3&t=273&p=1026&hilit=malformed#p999

Regards.

Post Reply