How to purge clamav from the server?

Removed Clamav from my CentOS 6
yum remove clamav*
Loaded plugins: fastestmirror
No Match for argument: clamav
No Packages marked for removal

(I have no mail services on the server) however, in /etc/logs/messages continue to pour in message
tail messages
Jun 8 16:10:27 angkor systemd: clamd.service: main process exited, code=exited, status=203/EXEC
Jun 8 16:10:27 angkor systemd: Unit clamd.service entered failed state.
Jun 8 16:10:27 angkor systemd: clamd.service failed.
Jun 8 16:10:28 angkor systemd: clamd.service holdoff time over, scheduling restart.
Jun 8 16:10:28 angkor systemd: Starting clamd scanner (clamd) daemon...
Jun 8 16:10:28 angkor systemd: Started clamd scanner (clamd) daemon.
Jun 8 16:10:28 angkor systemd: Failed at step EXEC spawning /usr/sbin/clamd: No such file or directory
Jun 8 16:10:28 angkor systemd: clamd.service: main process exited, code=exited, status=203/EXEC
Jun 8 16:10:28 angkor systemd: Unit clamd.service entered failed state.
Jun 8 16:10:28 angkor systemd: clamd.service failed.

periodically hammering the entire disk. How to stop this nonsense?
March 23rd 20 at 19:39
1 answer
March 23rd 20 at 19:41
Look in /etc/clamd.d/. There are what?

Still look for the processes clamav:
ps aux | grep 'clamav'
The folder is empty, the process is also not there. - Randal35 commented on March 23rd 20 at 19:44
@Randal35, well, then, somewhere just left of the entry to start the daemon.

Let's look for "head":
grep clam /run/systemd/system/*
grep clam /lib/systemd/system/*
Finds what? - louvenia58 commented on March 23rd 20 at 19:47
In addition to the "is a directory" on the second command
lib/systemd/system/clamd.service:Description = clamd scanner (clamd) daemon
/lib/systemd/system/clamd.service:ExecStartPre = /usr/bin/mkdir -p /var/run/cla av
/lib/systemd/system/clamd.service:ExecStartPre = /usr/bin/chown-R clam:clam /var/run/clamav
/lib/systemd/system/clamd.service:ExecStart = /usr/sbin/clamd -c /etc/clamd.conf
- Randal35 commented on March 23rd 20 at 19:50
rm-r /lib/systemd/system/clamd.service
rm-r /var/run/clamav
- louvenia58 commented on March 23rd 20 at 19:53
@louvenia58, removed, thanks, I hope it was that )) - Randal35 commented on March 23rd 20 at 19:56
Alas, clamav continues to hammer the disk.

Jul 9 07:04:48 angkor systemd: clamd.service: main process exited, code=exited, status=203/EXEC
Jul 9 07:04:48 angkor systemd: Unit clamd.service entered failed state.
Jul 9 07:04:48 angkor systemd: clamd.service failed.
Jul 9 07:04:48 angkor systemd: clamd.service holdoff time over, scheduling restart.
Jul 9 07:04:48 angkor systemd: Starting clamd scanner (clamd) daemon...
Jul 9 07:04:48 angkor systemd: Started clamd scanner (clamd) daemon.
Jul 9 07:04:48 angkor systemd: Failed at step EXEC spawning /usr/sbin/clamd: No such file or directory
Jul 9 07:04:48 angkor systemd: clamd.service: main process exited, code=exited, status=203/EXEC
Jul 9 07:04:48 angkor systemd: Unit clamd.service entered failed state.
Jul 9 07:04:48 angkor systemd: clamd.service failed.


walked again at all points clear. somewhere the malware is still rooted - Randal35 commented on March 23rd 20 at 19:59

Find more questions by tags ClamAVCentOS