0

CentOS 7, mail server. Messages stopped going in and out. Tried to debug, saw this in /var/log/maillog:

MailScanner[4786]: Cannot find Socket (/var/run/clamd.scan/clamd.sock) Exiting!

But the socket has correct permissions:

srw-rw-rw- 1 clamscan clamscan 0 Jan 10 22:46 /var/run/clamd.scan/clamd.sock

Please help to fix this.

0

OK, thanks to Google Translate, found an answer in Hungarian. :) https://hup.hu/node/160996

After update, the only string in /usr/lib/tmpfiles.d/clamd.scan.conf changed:

from

d /run/clamd.scan 0750 clamscan clamscan

to

d /run/clamd.scan 0710 clamscan virusgroup

So, basically you need to change it back to d /run/clamd.scan 0750 clamscan clamscan (or whatever you had before update).

Thank you, krix from Hungary!

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.