Hi Vladislav, It looks to me like you probably need a newer version of zlib. (https://www.zlib.net/)
Regards, Micah From: clamav-users <clamav-users-boun...@lists.clamav.net> on behalf of Владислав Гришин <vladislav.gris...@vts24.ru> Reply-To: ClamAV users ML <clamav-users@lists.clamav.net> Date: Friday, March 22, 2019 at 5:06 PM To: "clamav-users@lists.clamav.net" <clamav-users@lists.clamav.net> Subject: [clamav-users] clamav-0.101.1 - WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header. ERROR: Verification: Malformed database I have compiled antivirus version clamav-0.101.1 on my system Centos 5 (Final) The output of the freshclam after running # /usr/local/bin/freshclam --show-progress --debug -v --config-file=/usr/local/etc/freshclam.conf --datadir=/tmp/freshclamd_db Current working dir is /tmp/freshclamd_db ClamAV update process started at Fri Mar 22 23:42:49 2019 Using IPv6 aware code Max retries == 3 Querying current.cvd.clamav.net TTL: 728 Software version from DNS: 0.101.1 Retrieving http://db.nl.clamav.net/main.cvd Trying to download http://db.nl.clamav.net/main.cvd (IP: 104.16.219.84) Downloading main.cvd [100%] LibClamAV debug: Initialized 0.101.1 engine LibClamAV debug: in cli_cvdload() LibClamAV debug: MD5(.tar.gz) = 57462fd73f1cfdb356b9dca66da2b732 LibClamAV debug: cli_versig: Decoded signature: 57462fd73f1cfdb356b9dca66da2b732 LibClamAV debug: cli_versig: Digital signature is correct. LibClamAV debug: in cli_tgzload() LibClamAV debug: in cli_tgzload_cleanup() WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header <========!!!!!!! LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Phishcheck cleaned up ERROR: Verification: Malformed database <========!!!!!!! Querying main.0.102.0.0.6810DB54.ping.clamav.net Trying again in 5 secs... ... Giving up on db.nl.clamav.net... Update failed. Your network may be down or none of the mirrors listed in /usr/local/etc/freshclam.conf is working. Check https://www.clamav.net/documents/official-mirror-faq for possible reasons. from database.clamav.net # /usr/local/bin/freshclam --show-progress --debug -v --config-file=/usr/local/etc/freshclam.conf --datadir=/tmp/freshclamd_db Current working dir is /tmp/freshclamd_db ClamAV update process started at Fri Mar 22 23:57:22 2019 Using IPv6 aware code Max retries == 3 Querying current.cvd.clamav.net TTL: 1800 Software version from DNS: 0.101.1 Retrieving http://database.clamav.net/main.cvd Trying to download http://database.clamav.net/main.cvd (IP: 104.16.218.84) Downloading main.cvd [100%] LibClamAV debug: Initialized 0.101.1 engine LibClamAV debug: in cli_cvdload() LibClamAV debug: MD5(.tar.gz) = 57462fd73f1cfdb356b9dca66da2b732 LibClamAV debug: cli_versig: Decoded signature: 57462fd73f1cfdb356b9dca66da2b732 LibClamAV debug: cli_versig: Digital signature is correct. LibClamAV debug: in cli_tgzload() LibClamAV debug: in cli_tgzload_cleanup() WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header <======!!!!!!! LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Phishcheck cleaned up ERROR: Verification: Malformed database <======!!!!!!! Querying main.0.102.0.0.6810DA54.ping.clamav.net Trying again in 5 secs... Querying current.cvd.clamav.net ... Giving up on database.clamav.net... Update failed. Your network may be down or none of the mirrors listed in /usr/local/etc/freshclam.conf is working. Check https://www.clamav.net/documents/official-mirror-faq for possible reasons. [(testing) root@mx 1]# /usr/local/bin/freshclam -V ClamAV 0.101.1/25396/Fri Mar 22 10:52:29 2019 [(testing) root@mx 1]# ldd /usr/local/bin/freshclam libclamav.so.9 => /usr/local/lib/libclamav.so.9 (0xb7d28000) libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7bf0000) libdl.so.2 => /lib/libdl.so.2 (0xb7bec000) libclammspack.so.0 => /usr/local/lib/libclammspack.so.0 (0xb7bd9000) libssl.so.6 => /lib/libssl.so.6 (0xb7b8e000) libcrypto.so.6 => /lib/libcrypto.so.6 (0xb7a4d000) libpcre.so.0 => /lib/libpcre.so.0 (0xb7a2c000) libm.so.6 => /lib/libm.so.6 (0xb7a05000) libz.so.1 => /lib/libz.so.1 (0xb79f2000) libresolv.so.2 => /lib/libresolv.so.2 (0xb79df000) libpthread.so.0 => /lib/libpthread.so.0 (0xb79c8000) libc.so.6 => /lib/libc.so.6 (0xb7888000) /lib/ld-linux.so.2 (0xb7f62000) libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb785a000) libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb77c3000) libcom_err.so.2 => /lib/libcom_err.so.2 (0xb77c0000) libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb7799000) libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7790000) libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb778c000) libselinux.so.1 => /lib/libselinux.so.1 (0xb7774000) libsepol.so.1 => /lib/libsepol.so.1 (0xb772e000) what is the problem? Vladislav
_______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml