I believe clamav was updated this morning when cpanel updated to 11.48.1 (build 1). Now I cannot get clamd to start. I tried the following.
clamd seems to run for about 20-30 seconds then exits. I tried restarting exim and I see the following error message.
So on this server, I see /var/clamd is indeed a directory.
On another server /var/clamd is a socket.
So I just removed the /var/clamd diretory which was empty and restarted and now it appears to be working. Anyone have any clue why this would happen?
Best regards,
Eric
Code:
/usr/local/cpanel/3rdparty/bin/freshclam
/usr/local/cpanel/scripts/restartsrv_clamd
Code:
service exim restart
Shutting down clamd: [FAILED]
Shutting down exim: [ OK ]
Shutting down spamd: [FAILED]
Starting clamd: rm: cannot remove `/var/clamd': Is a directory
ERROR: LOCAL: Socket file /var/clamd could not be removed: Is a directory
[FAILED]
Starting exim: [ OK ]
So on this server, I see /var/clamd is indeed a directory.
Code:
ll /var | grep clam
drwxr-xr-x 2 root root 4096 Feb 26 01:51 clamd/
Code:
ll /var | grep clam
srw-rw-rw- 1 root root 0 Feb 26 02:57 clamd=
Best regards,
Eric