Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
[Resolved]Clamav: how to flush database
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Resolved]Clamav: how to flush database (Read 4585 times)
bmail
Newbie
Posts: 37
Karma: 1
[Resolved]Clamav: how to flush database
«
on:
February 13, 2020, 11:27:03 am »
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 !
«
Last Edit: February 13, 2020, 02:52:08 pm by bmail
»
Logged
Darkopnsense
Full Member
Posts: 148
Karma: 6
Re: Clamav: how to flush database
«
Reply #1 on:
February 13, 2020, 01:44:48 pm »
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,
Logged
Depuis 2017
X7SPA-HF, Intel(R) ATOM(TM) D525, 4Go RAM, 120Go, 2 Lan 24.1.2_1
APU4c, 4Go RAM, 120Go, 4 Lan 24.1.10_8
APU3a, 2Go RAM, 60Go, 3 Lan 24.1.2_1
APU2c, 2Go RAM, 60Go, 3 Lan 23.7.1_3
BIOS A JOUR (v4.19.0.1).
bmail
Newbie
Posts: 37
Karma: 1
Re: Clamav: how to flush database
«
Reply #2 on:
February 13, 2020, 02:12:28 pm »
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
Logged
Darkopnsense
Full Member
Posts: 148
Karma: 6
Re: Clamav: how to flush database
«
Reply #3 on:
February 13, 2020, 02:27:04 pm »
Hi,
connection in console mode
Conection as a super user,
# cd /var/db/clamav
# rm jurlbla.ndb
webgui>services>clamav>configuration
remove signatures
Cordialy,
Logged
Depuis 2017
X7SPA-HF, Intel(R) ATOM(TM) D525, 4Go RAM, 120Go, 2 Lan 24.1.2_1
APU4c, 4Go RAM, 120Go, 4 Lan 24.1.10_8
APU3a, 2Go RAM, 60Go, 3 Lan 24.1.2_1
APU2c, 2Go RAM, 60Go, 3 Lan 23.7.1_3
BIOS A JOUR (v4.19.0.1).
bmail
Newbie
Posts: 37
Karma: 1
Re: Clamav: how to flush database
«
Reply #4 on:
February 13, 2020, 02:51:15 pm »
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
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
[Resolved]Clamav: how to flush database