[clamav-users] clamav-0.101.1 - WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header. ERROR: Verification: Malformed database
Владислав Гришин
vladislav.grishin at vts24.ru
Fri Mar 22 21:42:54 UTC 2019
I installed a new version of zlib.
[(testing) root at mx zlib-1.2.11]# make install
rm -f /usr/local/lib/libz.a
cp libz.a /usr/local/lib
chmod 644 /usr/local/lib/libz.a
cp libz.so.1.2.11 /usr/local/lib
chmod 755 /usr/local/lib/libz.so.1.2.11
rm -f /usr/local/share/man/man3/zlib.3
cp zlib.3 /usr/local/share/man/man3
chmod 644 /usr/local/share/man/man3/zlib.3
rm -f /usr/local/lib/pkgconfig/zlib.pc
cp zlib.pc /usr/local/lib/pkgconfig
chmod 644 /usr/local/lib/pkgconfig/zlib.pc
rm -f /usr/local/include/zlib.h /usr/local/include/zconf.h
cp zlib.h zconf.h /usr/local/include
chmod 644 /usr/local/include/zlib.h /usr/local/include/zconf.h
[(testing) root at mx /]# /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 Sat Mar 23 00:31:19 2019
Using IPv6 aware code
Max retries == 3
Querying current.cvd.clamav.net
TTL: 1796
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() <==== in this place timeout
process freshclam loads cpu by 100%
top - 00:34:56 up 5:46, 0 users, load average: 0.97, 0.54, 0.24
Tasks: 199 total, 2 running, 197 sleeping, 0 stopped, 0 zombie
Cpu(s): 6.2%us, 0.2%sy, 0.0%ni, 93.6%id, 0.0%wa, 0.0%hi, 0.0%si,
0.0%st
Mem: 4662144k total, 392756k used, 4269388k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3657 clam 25 0 10812 3416 2648 R 100 0.1 3:35.75 freshclam
3734 root 15 0 2300 1124 820 R 1 0.0 0:00.17 top
23.03.2019 0:12, Micah Snyder (micasnyd) via clamav-users пишет:
>
> 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-bounces at lists.clamav.net> on behalf
> of Владислав Гришин <vladislav.grishin at vts24.ru>
> *Reply-To: *ClamAV users ML <clamav-users at lists.clamav.net>
> *Date: *Friday, March 22, 2019 at 5:06 PM
> *To: *"clamav-users at lists.clamav.net" <clamav-users at 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 at mx 1]# /usr/local/bin/freshclam -V
> ClamAV 0.101.1/25396/Fri Mar 22 10:52:29 2019
> [(testing) root at 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 at 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
Vladislav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20190323/1ffe5604/attachment.htm>
More information about the clamav-users
mailing list