Archive > 20.1 Legacy Series

[Resolved]Clamav: how to flush database

(1/1)

bmail:
Hello,

Since today, the last download of a clamav third party database (http://ftp.swin.edu.au/sanesecurity/jurlbl.ndb), Clamav do not want to start. This database seems not in good health ...

root@DBSecure:~ # /usr/local/etc/rc.d/clamav-clamd start
Starting clamav_clamd.
LibClamAV Error: Empty database file
LibClamAV Error: Can't load /var/db/clamav/jurlbla.ndb: Malformed database
LibClamAV Error: cli_loaddbdir(): error loading database /var/db/clamav/jurlbla.ndb
Thu Feb 13 11:00:21 2020 -> !Malformed database
/usr/local/etc/rc.d/clamav-clamd: WARNING: failed to start clamav_clamd

I tried to de-activate it within the list of additionnal signature, and restart clamav: it doesn't work.
Probably normal, as it concerns the download and refresh of database, not the calling of if in clamav.

Do you know how can I purge the database in order to restart clamav without this problemaic third party database ?

Just erase /var/db/clamav/jurlbla.ndb  ?

Thanks a lot for any ideas !




Darkopnsense:
hi,

It looks like it's an update issue.

WARNING: Local version: 0.102.1 Recommended version: 0.102.2
WARNING: Your ClamAV installation is OUTDATED!

Cordialy,

bmail:
Hello Darksense,

Yes, I notice it, but it seems strange that's only concern one third party database ...
Previously, I never notice that an issue on a third party database could prevent clamav to start.

That' why I wonder how to disable the loading of jurlbla.ndb (or properly erase it) , in order to start clamav.

Best regards,
Bertrand

Darkopnsense:
Hi,

connection in console mode
Conection as a super user,
# cd /var/db/clamav
# rm jurlbla.ndb

webgui>services>clamav>configuration
remove signatures

Cordialy,

bmail:
Ok, it works !
Just erasing without scruple jurlbla.ndb and unable it in signatures config, then restart clamav, then activate jurlbla.ndb and restart clamav.
Download is ok and clamav, even outdated, restart like a charm.
Probably an issue during downloading.

Thanks a lot for your advices.

Bertrand

Navigation

[0] Message Index

Go to full version