Yes Richard, thanks, but snapshots are not available on hybrid vps (my case). I don't know if it is possible to take a snapshot from my vps in worst scenario. That is why I asked for what crucial files should not be missing in backup procedure.
/usr/local/directadmin/data/admin/services.status
file so they won't be shown.cd /usr/local/directadmin/custombuild
./build set clamav no
./build set clamav_exim no
/usr/local/directadmin/data/admin/services.status
file to see if it only contains these two concerning clamav?clamd@scan=ON
clamav-freshclam=ON
Feb 19 23:09:23 server kernel: OOM killed process 12233 (clamd) total-vm:1517180kB, anon-rss:1288724kB, file-rss:1620kB
Feb 19 23:09:23 server systemd: [email protected]: main process exited, code=killed, status=9/KILL
Feb 19 23:09:23 server systemd: Unit [email protected] entered failed state.
Feb 19 23:09:23 server systemd: [email protected] failed.
Feb 19 23:09:24 server systemd: [email protected] holdoff time over, scheduling restart.
Feb 19 23:09:24 server systemd: Stopped clamd scanner (scan) daemon.
Feb 19 23:09:24 server systemd: Starting clamd scanner (scan) daemon...
free -m
total used free shared buff/cache available
Mem: 6144 3317 742 616 2083 2209
Swap: 0 0 0
Apr 4 01:26:59 server freshclam: Update process terminated
Apr 4 01:26:59 server systemd: Stopping ClamAV virus database updater...
Apr 4 01:26:59 server systemd: Stopped ClamAV virus database updater.
Apr 4 01:26:59 server systemd: Started ClamAV virus database updater.
Apr 4 01:26:59 server freshclam: ClamAV update process started at Tue Apr 4 01:26:59 2023
Apr 4 01:26:59 server freshclam: daily.cld database is up-to-date (version: 26864, sigs: 2028069, f-level: 90, builder: raynman)
Apr 4 01:26:59 server freshclam: main.cvd database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
Apr 4 01:26:59 server freshclam: bytecode.cvd database is up-to-date (version: 334, sigs: 91, f-level: 90, builder: anvilleg)
Apr 6 01:27:24 server freshclam: Received signal: wake up
Apr 6 01:27:24 server freshclam: daily.cld database is up-to-date (version: 26866, sigs: 2028394, f-level: 90, builder: raynman)
Apr 6 01:27:24 server freshclam: main.cvd database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
Apr 6 01:27:24 server freshclam: bytecode.cvd database is up-to-date (version: 334, sigs: 91, f-level: 90, builder: anvilleg)
Apr 6 01:29:06 server systemd: Stopping clamd scanner (scan) daemon...
Apr 6 01:29:08 server systemd: Stopped clamd scanner (scan) daemon.
Apr 6 01:29:08 server systemd: Starting clamd scanner (scan) daemon...
Apr 6 01:29:42 server systemd: Started clamd scanner (scan) daemon.
Apr 6 01:29:43 server systemd: Stopping clamd scanner (scan) daemon...
Apr 6 01:29:47 server systemd: Stopped clamd scanner (scan) daemon.
Apr 6 01:29:48 server systemd: Starting clamd scanner (scan) daemon...
Apr 6 01:30:17 server systemd: Started clamd scanner (scan) daemon.
I had this too on the Centos 7 servers, but the solution is stated in the warning.I get this error from multiple servres too.
yum remove epel-release
yum install epel-release
yum install clamav-server clamav-data clamav-update clamav-filesystem clamav clamav-scanner-systemd clamav-devel clamav-lib clamav-server-systemd
cd /usr/local/directadmin/custombuild
./build update
./build clamav
Odd stuff. Seems like the epel repository was somehow... broken. In the end, running the following steps fixed it.
Then I installed and started clamav via DA and everything is fine again now.
Thanks for your assistance - always a huge help to have someone consider possible options.