ClamAV duplicate database Warning
Hi,
I have just got the following warning using clamav?
Running clamav 0.100.0-1.cp1170 on Centos 7 cpanel 74.0.6. Do I just do rm /usr/local/cpanel/3rdparty/share/clamav/bytecode.cld? Thanks Peter
LibClamAV Warning: Detected duplicate databases /usr/local/cpanel/3rdparty/share/clamav/bytecode.cld and /usr/local/cpanel/3rdparty/share/clamav/bytecode.cvd. The /usr/local/cpanel/3rdparty/share/clamav/bytecode.cld database is older and will not be loaded, you should manually remove it from the database directory.Running clamav 0.100.0-1.cp1170 on Centos 7 cpanel 74.0.6. Do I just do rm /usr/local/cpanel/3rdparty/share/clamav/bytecode.cld? Thanks Peter
-
Hi, Instead of removing it, just move it to some other location for time being. You can use the below command to do so. # mv /usr/local/cpanel/3rdparty/share/clamav/bytecode.cld /root/ 0 -
Thank you, when / if can this be removed? 0 -
You can remove if after you update the clamav virus definitions. 0 -
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
If no errors persist upon running those commands, you can then remove the /root/clamav-backup directory. Thank you.0 -
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
If no errors persist upon running those commands, you can then remove the /root/clamav-backup directory. Thank you.
I ran into this same issue. I removed the duplicate database file and then ran into the following error: root@ide [/usr/local/cpanel/3rdparty/share/clamav]# /usr/local/cpanel/3rdparty/bin/freshclam ClamAV update process started at Thu Feb 7 12:45:03 2019 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.100.2 Recommended version: 0.101.1 DON'T PANIC! Read ClamavNet main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr) daily.cvd is up to date (version: 25353, sigs: 2241188, f-level: 63, builder: raynman) bytecode.cvd is up to date (version: 328, sigs: 94, f-level: 63, builder: neo) root@ide [/usr/local/cpanel/3rdparty/share/clamav]# /scripts/restartsrv_clamd Service "clamd" is already stopped. Waiting for "clamd" to start ""warn [restartsrv_clamd] The 'clamd' service's PID file '/var/run/clamd.pid' did not appear after 10 seconds. "failed. Cpanel::Exception::Services::StartError Service Status Service Error (XID dcgcwe) The "clamd" service failed to start. clamd has failed. Contact your system administrator if the service does not automagically recover.0
Please sign in to leave a comment.
Comments
6 comments