ClamAV not updating after eFa 4.0.2

Bugs in eFa 4
Post Reply
echo
Posts: 7
Joined: 07 Jan 2020 11:31

ClamAV not updating after eFa 4.0.2

Post by echo » 12 Feb 2020 05:58

Good day!
After my system updated automatically to eFa 4.0.2, my clamav database does not update anymore.
My database version right now is:
Version: ClamAV 0.101.5
Virus Identities: 25720
Database Timestamp: Mon Feb 10 13:53:41 2020
Please help!

User avatar
shawniverson
Posts: 3089
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: ClamAV not updating after eFa 4.0.2

Post by shawniverson » 12 Feb 2020 09:20

What happens if you try to manually update?

Code: Select all

sudo freshclam
Version eFa 4.0.2 now available!

fivel
Posts: 2
Joined: 12 Feb 2020 09:05

Re: ClamAV not updating after eFa 4.0.2

Post by fivel » 12 Feb 2020 09:23

Hi,

I am seeing the same here.

Repos updated:

[admin@efa ~]$ sudo yum -y update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.nsc.liu.se
* eFa4: dl5.efa-project.org
* epel: mirror.nsc.liu.se
* extras: mirror.nsc.liu.se
* updates: mirror.nsc.liu.se
No packages marked for update


[admin@efa ~]$ sudo freshclam
ClamAV update process started at Wed Feb 12 10:16:32 2020
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.101.5 Recommended version: 0.102.2

DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
main.cvd is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
daily.cld is up to date (version: 25721, sigs: 2183330, f-level: 63, builder: raynman)
bytecode.cvd is up to date (version: 331, sigs: 94, f-level: 63, builder: anvilleg)

Tried to manually update clamav:

[admin@efa ~]$ sudo yum upgrade clamav
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.nsc.liu.se
* eFa4: dl5.efa-project.org
* epel: mirror.nsc.liu.se
* extras: mirror.nsc.liu.se
* updates: mirror.nsc.liu.se
No packages marked for update


Any tips?

User avatar
shawniverson
Posts: 3089
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: ClamAV not updating after eFa 4.0.2

Post by shawniverson » 12 Feb 2020 09:27

That is normal, the EPEL folks haven't updated the clam package yet, and that is not the same issue.
Version eFa 4.0.2 now available!

fivel
Posts: 2
Joined: 12 Feb 2020 09:05

Re: ClamAV not updating after eFa 4.0.2

Post by fivel » 12 Feb 2020 09:35

Thanks, will have some patience then :)

echo
Posts: 7
Joined: 07 Jan 2020 11:31

Re: ClamAV not updating after eFa 4.0.2

Post by echo » 14 Feb 2020 19:59

Ok,
so oddly enough the problem has gone away just like it came... I hate when that happens... :?
The output of sudo freshclam was nothing... the process seems to hang for some reason, I could not terminate even with kill... so I rebooted, then tried again - same result, so I rebooted again and then... poof... it's started to update :shifty:
Two days later the updates are coming without a hitch.
So I will continue to monitor and report if anything brakes down again...

echo
Posts: 7
Joined: 07 Jan 2020 11:31

Re: ClamAV not updating after eFa 4.0.2

Post by echo » 27 Feb 2020 18:05

The situation just repeated itself... I can't get any updates from Tuesday afternoon. Right now my signatures are stuck to:

Version: ClamAV 0.101.5
Virus Identities: 25734
Database Timestamp: Tue Feb 25 16:06:17 2020

According to current.cvd.clamav.net this is not the latest sig.

Running manually /usr/share/clamav/freshclam-sleep does not produce any output, the process seems to hanging... When run by cron and attempted to terminate - goes defunct.
/var/log/freshclam.log is empty.

Running sudo freshclam, gives:

ClamAV update process started at Thu Feb 27 20:06:29 2020
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.101.5 Recommended version: 0.102.2
DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
main.cvd is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
daily.cld is up to date (version: 25734, sigs: 2197156, f-level: 63, builder: raynman)
bytecode.cvd is up to date (version: 331, sigs: 94, f-level: 63, builder: anvilleg)


yum check-update - gives no updates available.
Reboot doesn't seems to solve the situation.

Any help would be appreciated.

henk
Posts: 457
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: ClamAV not updating after eFa 4.0.2

Post by henk » 27 Feb 2020 19:42

exec

Code: Select all

grep -irHn 'clamd' /var/log/messages
or look in

Code: Select all

/var/log/yum.log
to see what and when yum updated.

efa auto-updates, unless you are henk :shhh: , so don't jump to conclusions.

There will be new clamav versions on a regular basis, the new clamav will be installed automaticly when available in the repo.

Long story short, your efa is up to date :dance:

echo
Posts: 7
Joined: 07 Jan 2020 11:31

Re: ClamAV not updating after eFa 4.0.2

Post by echo » 28 Feb 2020 06:03

Thank you henk.
I know my efa is up to date - didn't doubt that :) I do realize that efa is relying on 3rd party repos such as EPEL, and yes I do realize that my clamav is not latest version - all of that is ok for me.
What I don't realize is why freshclam is screwing up... :roll: I think even with slightly older version clamav and it's update should work...
Anyway... here some output:

Code: Select all

grep -irHn 'clamd' /var/log/messages:
/var/log/messages:11054:Feb 27 19:47:21 host systemd: Started clamd scanner (scan) daemon.
/var/log/messages:11092:Feb 27 20:01:35 host clamd[2619]: SelfCheck: Database modification detected. Forcing reload.
/var/log/messages:11093:Feb 27 20:01:36 host clamd[2619]: Reading databases from /var/lib/clamav
/var/log/messages:11096:Feb 27 20:01:57 host clamd[2619]: Database correctly reloaded (6942267 signatures)
/var/log/messages:11124:Feb 27 20:18:18 host clamd[2619]: SelfCheck: Database status OK.
/var/log/messages:11138:Feb 27 20:28:18 host clamd[2619]: SelfCheck: Database status OK.
/var/log/messages:11198:Feb 27 21:08:40 host clamd[2619]: SelfCheck: Database status OK.
/var/log/messages:11214:Feb 27 21:20:27 host clamd[2619]: SelfCheck: Database status OK.
/var/log/messages:11229:Feb 27 21:32:43 host clamd[2619]: SelfCheck: Database status OK.

Code: Select all

cat /var/log/yum.log
Feb 26 09:30:03 Updated: clamav-filesystem.noarch 0.101.5-10.el7
Feb 26 09:30:04 Updated: clamav-update.x86_64 0.101.5-10.el7
Feb 26 09:30:05 Updated: clamav-lib.x86_64 0.101.5-10.el7
Feb 26 09:30:06 Updated: clamd.x86_64 0.101.5-10.el7
Feb 26 09:30:07 Updated: clamav.x86_64 0.101.5-10.el7
Feb 26 09:31:09 Updated: eFa.x86_64 1:4.0.2-8.eFa.el7

henk
Posts: 457
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: ClamAV not updating after eFa 4.0.2

Post by henk » 28 Feb 2020 09:38

Hi Echo,

Freshclam is not screwing up, it just mentions there is a newer version of ClamAV
You can ignore the WARNING: Your ClamAV installation is OUTDATED!

My freshclam manual run

Code: Select all

[root@efa4]#  freshclam -v
Current working dir is /var/lib/clamav
ClamAV update process started at Fri Feb 28 10:23:44 2020
Using IPv6 aware code
Max retries == 3
Querying current.cvd.clamav.net
TTL: 1800
Software version from DNS: 0.102.2
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.101.5 Recommended version: 0.102.2
DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
main.cvd version from DNS: 59
main.cld is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
daily.cvd version from DNS: 25735
daily.cld is up to date (version: 25735, sigs: 2199661, f-level: 63, builder: raynman)
bytecode.cvd version from DNS: 331
bytecode.cvd is up to date (version: 331, sigs: 94, f-level: 63, builder: anvilleg)
Freshclam logs to /var/log/messages

Code: Select all

grep -irHn 'freshclam' /var/log/messages

Post Reply