Koozali.org: home of the SME Server

[Solved] freshclam: Update failed on V10

Offline bclayton

  • *
  • 137
  • +0/-0
[Solved] freshclam: Update failed on V10
« on: November 05, 2021, 04:48:02 PM »
I have been running a fully-updated V10 server for several months, and it has been running very well. Thanks to all those who built it!!

On Oct 30, I started receiving an email each hour, freshclam: Update failed.  Here is a recent log:


2021-11-05 10:13:12.530635500 ClamAV update process started at Fri Nov  5 10:13:12 2021
2021-11-05 10:13:12.530765500 WARNING: Your ClamAV installation is OUTDATED!
2021-11-05 10:13:12.530766500 WARNING: Local version: 0.100.2 Recommended version: 0.103.4
2021-11-05 10:13:12.530766500 DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
2021-11-05 10:13:12.530819500 main.cld is up to date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
2021-11-05 10:13:12.750060500 WARNING: getpatch: Can't download daily-26338.cdiff from database.clamav.net
2021-11-05 10:13:12.750200500 WARNING: getpatch: Can't download daily-26338.cdiff from database.clamav.net
2021-11-05 10:13:12.750359500 WARNING: getpatch: Can't download daily-26338.cdiff from database.clamav.net
2021-11-05 10:13:12.750560500 WARNING: getpatch: Can't download daily-26338.cdiff from database.clamav.net
2021-11-05 10:13:12.750722500 WARNING: getpatch: Can't download daily-26338.cdiff from database.clamav.net
2021-11-05 10:13:12.750887500 ERROR: getpatch: Can't download daily-26338.cdiff from database.clamav.net
2021-11-05 10:13:12.775113500 WARNING: Incremental update failed, trying to download daily.cvd
2021-11-05 10:13:12.775314500 ERROR: Can't download daily.cvd from database.clamav.net
2021-11-05 10:13:12.789924500 Giving up on database.clamav.net...
2021-11-05 10:13:12.789924500 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.

I assumed that it was a connection glitch and would resolve itself over time.  I'm beginning to wonder.  Not sure how to troubleshoot, but did run this:

[root@provue-server ~]# yum list clamav
Loaded plugins: fastestmirror, post-transaction-actions, priorities, smeserver
Loading mirror speeds from cached hostfile
 * base: mirror.jaleco.com
 * smecontribs: mirror.pialasse.com
 * smeupdates: mirror.pialasse.com
 * updates: nc-centos-mirror.iwebfusion.net
Installed Packages
clamav.x86_64                     0.103.3-8.el7                      @smeupdates
[root@provue-server ~]#

Any suggestions?   Thanks!
« Last Edit: November 05, 2021, 10:06:41 PM by bclayton »

Offline ReetP

  • *
  • 3,705
  • +5/-0
Re: freshclam: Update failed on V10
« Reply #1 on: November 05, 2021, 08:00:19 PM »
I think your install has an issue. Here's my v10.

Quote
[root@files ~]# rpm -qa |grep clamav

smeserver-clamav-2.7.0-9.el7.sme.noarch
clamav-update-0.103.3-5.el7.x86_64
clamav-data-0.103.3-5.el7.noarch
clamav-lib-0.103.3-5.el7.x86_64
clamav-0.103.3-5.el7.x86_64
clamav-filesystem-0.103.3-5.el7.noarch

So not sure why you have this.

Quote
WARNING: Local version: 0.100.2 Recommended version: 0.103.4

Looks like mixed up settings, but you certainly haven't updated as you are still at 0.103.4 (that comes from EPEL)

JP will know.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline TerryF

  • grumpy old man
  • *
  • 1,820
  • +6/-0
Re: freshclam: Update failed on V10
« Reply #2 on: November 05, 2021, 08:14:35 PM »
When I have had issues in past first stop has always been a # /usr/bin/refreshclam

If nothing else eliminates possible issue
--
qui scribit bis legit

Offline bclayton

  • *
  • 137
  • +0/-0
Re: freshclam: Update failed on V10
« Reply #3 on: November 05, 2021, 08:35:26 PM »
Thanks,  Here are the results:

[root@provue-server ~]#  /usr/bin/refreshclam
-bash: /usr/bin/refreshclam: No such file or directory
[root@provue-server ~]#


Offline Jean-Philippe Pialasse

  • *
  • 2,712
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: freshclam: Update failed on V10
« Reply #4 on: November 05, 2021, 09:39:21 PM »
do you happen to have another sme9 around which redirect its admin emails to your sme10 box ?


Offline bclayton

  • *
  • 137
  • +0/-0
Re: freshclam: Update failed on V10
« Reply #5 on: November 05, 2021, 09:44:43 PM »
I am running a v9.2 as my email server.  (Plan to migrate to v10 over Christmas holidays when we closed).

Offline bclayton

  • *
  • 137
  • +0/-0
[Solved] Re: freshclam: Update failed on V10
« Reply #6 on: November 05, 2021, 09:57:22 PM »
JP, just checked the logs on the 9.2 box and that is where the problem is.  I'll migrate that box to v10 sooner.  -sorry to have wasted anyone's time.  Thanks for the help.

Offline Jean-Philippe Pialasse

  • *
  • 2,712
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: freshclam: Update failed on V10
« Reply #7 on: November 05, 2021, 09:59:22 PM »
so the freshclam email might come from this box. 

log on to the sme9 and do

Code: [Select]
config setprop freschclam status disabled
service freshclam stop


then after migration you will need to enable it back.

Offline bclayton

  • *
  • 137
  • +0/-0
Re: freshclam: Update failed on V10
« Reply #8 on: November 05, 2021, 10:05:13 PM »
Done.  Thanks

Offline Fumetto

  • *
  • 874
  • +1/-0
Re: [Solved] freshclam: Update failed on V10
« Reply #9 on: November 05, 2021, 11:13:28 PM »
so the freshclam email might come from this box. 

log on to the sme9 and do

Code: [Select]
config setprop freschclam status disabled
service freshclam stop


then after migration you will need to enable it back.
I owe you a pint of beers ... ^ _ ^

Offline ReetP

  • *
  • 3,705
  • +5/-0
Re: [Solved] freshclam: Update failed on V10
« Reply #10 on: November 06, 2021, 12:33:35 AM »
Quote
I owe you a pint of beers ...

A pint of beer.
Several pints of beer (preferred solution)
There were beers everywhere
There were pints of beer everywhere
Everyone was drinking beer

English is messy :lol:
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Fumetto

  • *
  • 874
  • +1/-0
Re: [Solved] freshclam: Update failed on V10
« Reply #11 on: November 06, 2021, 12:36:31 AM »

Offline TerryF

  • grumpy old man
  • *
  • 1,820
  • +6/-0
Re: [Solved] freshclam: Update failed on V10
« Reply #12 on: November 06, 2021, 12:57:35 AM »
English is messy :lol:

or go the way of the antipodeans :-) owe you a slab
--
qui scribit bis legit