CLAMD duplicate database?
In logwatch I am seeing this:
Starting clamd: LibClamAV Warning: Detected duplicate databases /usr/local/cpanel/3rdparty/share/clamav/main.cvd and /usr/local/cpanel/3rdparty/share/clamav/main.cld, please manually remove one of them
Is there a recommended solution for this? i.e. Which is best to remove? Is it as simple as deleting the files? Or do I need to edit a .conf somewhere?
Thanks.
-
Hello, You could move the duplicate database to another location with commands like this: mkdir /root/clamav-backup mv /usr/local/cpanel/3rdparty/share/clamav/main.cld /root/clamav-backup/
Then, check for any error messages when running the following commands:/usr/local/cpanel/3rdparty/bin/freshclam /scripts/restartsrv_clamd
Thank you.0 -
Thanks it seems working fine : root# /usr/local/cpanel/3rdparty/bin/freshclam ClamAV update process started at Fri Jan 19 21:37:17 2018 main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr) Downloading daily-24235.cdiff [100%] Downloading daily-24236.cdiff [100%] daily.cld updated (version: 24236, sigs: 1829779, f-level: 63, builder: neo) bytecode.cvd is up to date (version: 319, sigs: 75, f-level: 63, builder: neo) Database updated (6396103 signatures) from database.clamav.net (IP: 145.58.29.83) root# /scripts/restartsrv_clamd Waiting for "clamd" to restart "waiting for "clamd" to initialize "finished. Service Status clamd (/usr/local/cpanel/3rdparty/bin/clamd) is running as root with PID 22643 (pidfile+/proc check method). clamd restarted successfully. 0
Please sign in to leave a comment.
Comments
2 comments