Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: venty on November 05, 2017, 10:19:36 AM

Title: Cron <root@hosting> /usr/share/clamav/freshclam-sleep
Post by: venty on November 05, 2017, 10:19:36 AM
Hi,
 
Yesterday, I got a mail message from a root...

The message has a subject:

Cron <root@hosting> /usr/share/clamav/freshclam-sleep

and contains:

ERROR: Can't get information about database.clamav.net: Name or service not known
ERROR: getpatch: Can't download daily-24011.cdiff from database.clamav.net
ERROR: Can't download daily.cvd from database.clamav.net

what to do?

Today again, but the message contained only:

ERROR: getpatch: Can't download daily-24011.cdiff from database.clamav.net

BR
Venty

Title: Re: Cron <root@hosting> /usr/share/clamav/freshclam-sleep
Post by: 24x7servermanagement on November 07, 2017, 06:30:57 AM
Are you able to ping database.clamav.net subdomain from your server?
Title: Re: Cron <root@hosting> /usr/share/clamav/freshclam-sleep
Post by: Jason on April 20, 2018, 09:33:11 AM
Are you able to ping database.clamav.net subdomain from your server?

I Have the same problem, I am able to ping database.clamav.net from my server but get this error everyday.

ERROR: getpatch: Can't download daily-24492.cdiff from database.clamav.net
ERROR: Can't download daily.cvd from database.clamav.net
Title: Re: Cron <root@hosting> /usr/share/clamav/freshclam-sleep
Post by: Jason on April 23, 2018, 09:58:22 AM
Hi please I really need help with this is there anyone that can help me solve this please?
Title: Re: Cron <root@hosting> /usr/share/clamav/freshclam-sleep
Post by: studio4host on April 23, 2018, 12:40:58 PM
try

sh /scripts/freshclam
Title: Re: Cron <root@hosting> /usr/share/clamav/freshclam-sleep
Post by: Rug3r on August 03, 2018, 02:34:20 PM
I started getting this issues as of yesterday.

Code: [Select]
ERROR: getpatch: Can't download daily-24807.cdiff from database.clamav.net
ERROR: getfile: Unknown response from database.clamav.net (IP: 104.16.186.138)
ERROR: Can't download daily.cvd from database.clamav.net

Receiving this email every 3 hours and as of the latest today:
Code: [Select]
ERROR: getpatch: Can't download daily-24807.cdiff from database.clamav.net
ERROR: Can't download daily.cvd from database.clamav.net

Ive tried pinging database.clamav.net from my server and doesnt seem to be any issues as well as trying sh /scripts/freshclam but get the following:
Code: [Select]
# sh /scripts/freshclam
ClamAV update process started at Fri Aug  3 09:30:21 2018
main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
WARNING: getpatch: Can't download daily-24807.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-24807.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-24807.cdiff from database.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
nonblock_connect: connect(): fd=3 errno=101: Network is unreachable
Can't connect to port 80 of host database.clamav.net (IP: 2400:cb00:2048:1::6810:ba8a)
Trying host database.clamav.net (2400:cb00:2048:1::6810:bd8a)...
nonblock_connect: connect(): fd=3 errno=101: Network is unreachable
Can't connect to port 80 of host database.clamav.net (IP: 2400:cb00:2048:1::6810:bd8a)
Trying host database.clamav.net (2400:cb00:2048:1::6810:b98a)...
nonblock_connect: connect(): fd=3 errno=101: Network is unreachable
Can't connect to port 80 of host database.clamav.net (IP: 2400:cb00:2048:1::6810:b98a)
Trying host database.clamav.net (2400:cb00:2048:1::6810:bc8a)...
nonblock_connect: connect(): fd=3 errno=101: Network is unreachable
Can't connect to port 80 of host database.clamav.net (IP: 2400:cb00:2048:1::6810:bc8a)
Trying host database.clamav.net (2400:cb00:2048:1::6810:bb8a)...
nonblock_connect: connect(): fd=3 errno=101: Network is unreachable
Can't connect to port 80 of host database.clamav.net (IP: 2400:cb00:2048:1::6810:bb8a)
WARNING: Can't download daily.cvd from database.clamav.net
Trying again in 5 secs...
ClamAV update process started at Fri Aug  3 09:30:26 2018
main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
WARNING: getpatch: Can't download daily-24807.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-24807.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-24807.cdiff from database.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Trying host database.clamav.net (2400:cb00:2048:1::6810:ba8a)...
nonblock_connect: connect(): fd=3 errno=101: Network is unreachable
Can't connect to port 80 of host database.clamav.net (IP: 2400:cb00:2048:1::6810:ba8a)
Trying host database.clamav.net (2400:cb00:2048:1::6810:bb8a)...
nonblock_connect: connect(): fd=3 errno=101: Network is unreachable
Can't connect to port 80 of host database.clamav.net (IP: 2400:cb00:2048:1::6810:bb8a)
Trying host database.clamav.net (2400:cb00:2048:1::6810:bd8a)...
nonblock_connect: connect(): fd=3 errno=101: Network is unreachable
Can't connect to port 80 of host database.clamav.net (IP: 2400:cb00:2048:1::6810:bd8a)
Trying host database.clamav.net (2400:cb00:2048:1::6810:b98a)...
nonblock_connect: connect(): fd=3 errno=101: Network is unreachable
Can't connect to port 80 of host database.clamav.net (IP: 2400:cb00:2048:1::6810:b98a)
Trying host database.clamav.net (2400:cb00:2048:1::6810:bc8a)...
nonblock_connect: connect(): fd=3 errno=101: Network is unreachable
Can't connect to port 80 of host database.clamav.net (IP: 2400:cb00:2048:1::6810:bc8a)
WARNING: Can't download daily.cvd from database.clamav.net
Trying again in 5 secs...
ClamAV update process started at Fri Aug  3 09:30:32 2018
main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
WARNING: getpatch: Can't download daily-24807.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-24807.cdiff from database.clamav.net
ERROR: getpatch: Can't download daily-24807.cdiff from database.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Trying host database.clamav.net (2400:cb00:2048:1::6810:bd8a)...
nonblock_connect: connect(): fd=3 errno=101: Network is unreachable
Can't connect to port 80 of host database.clamav.net (IP: 2400:cb00:2048:1::6810:bd8a)
Trying host database.clamav.net (2400:cb00:2048:1::6810:b98a)...
nonblock_connect: connect(): fd=3 errno=101: Network is unreachable
Can't connect to port 80 of host database.clamav.net (IP: 2400:cb00:2048:1::6810:b98a)
Trying host database.clamav.net (2400:cb00:2048:1::6810:bc8a)...
nonblock_connect: connect(): fd=3 errno=101: Network is unreachable
Can't connect to port 80 of host database.clamav.net (IP: 2400:cb00:2048:1::6810:bc8a)
Trying host database.clamav.net (2400:cb00:2048:1::6810:bb8a)...
nonblock_connect: connect(): fd=3 errno=101: Network is unreachable
Can't connect to port 80 of host database.clamav.net (IP: 2400:cb00:2048:1::6810:bb8a)
Trying host database.clamav.net (2400:cb00:2048:1::6810:ba8a)...
nonblock_connect: connect(): fd=3 errno=101: Network is unreachable
Can't connect to port 80 of host database.clamav.net (IP: 2400:cb00:2048:1::6810:ba8a)
ERROR: Can't download daily.cvd from database.clamav.net
Giving up on database.clamav.net...
Update failed. Your network may be down or none of the mirrors listed in /etc/freshclam.conf is working. Check https://www.clamav.net/documents/official-mirror-faq for possible reasons.


Can anyone tell me what needs to be done to fix this issue?

Thanks
Title: Re: Cron <root@hosting> /usr/share/clamav/freshclam-sleep
Post by: venty on November 09, 2018, 03:30:58 PM
again the same problem ...?!?
Title: Re: Cron <root@hosting> /usr/share/clamav/freshclam-sleep
Post by: Rug3r on November 10, 2018, 03:33:11 PM
Support gave this to me for the fix:

issue has been resolved.Find below the steps
- systemctl start clamd
- cd /var/lib/clamav
- rm -f *
- systemctl start clamd
- freshclam -v
Title: Re: Cron <root@hosting> /usr/share/clamav/freshclam-sleep
Post by: bluebrad on October 05, 2019, 02:46:51 AM
i tryed and im still getting the same error