Cannot find Socket (/var/run/clamd.scan/clamd.sock) Exiting!

Tracy Greggs mailscanner-list at okla.com
Tue May 2 15:33:34 UTC 2023


Running under Ubuntu but my lock file is /var/run/clamav/clamd.ctl

MailScanner.conf:Clamd Socket = /var/run/clamav/clamd.ctl

srw-rw-rw-  1 clamav mtagroup    0 Apr 15 10:42 clamd.ctl

This is MailScanner version 5.4.4

ClamdTOP version 0.103.8   Tue May  2 10:33:03 2023
NO CONNTIME LIV IDL QUEUE  MAXQ   MEM ENGINE  DBVER DBTIME        HOST
  1 00:00:12  12  11     0     0 1.54G 0.103.8 26894 2023-05-02T02 local

Details for Clamd version:  ClamAV 0.103.8/26894/Tue May  2 02:23:02 
2023


------ Original Message ------
>From "Macheta, Andy via MailScanner" 
<mailscanner at lists.mailscanner.info>
To "mailscanner at lists.mailscanner.info" 
<mailscanner at lists.mailscanner.info>
Cc "Macheta, Andy" <Andy.Macheta at warwick.ac.uk>
Date 5/2/2023 10:28:01 AM
Subject Cannot find Socket (/var/run/clamd.scan/clamd.sock) Exiting!

>Hi all,
>I'm hoping someone on the list can provide some fix for this as I'm 
>struggling to!
>
>I'm running a test VM (Alma Linux 9) with 
>Spamassassin/Postfix/MailScanner/clamd at scan but it looks like the 
>problem is with the socket even though it exists and has the right 
>permissions:
>
>srw-rw----. 1 clamscan virusgroup 0 May  2 15:09 
>/var/run/clamd.scan/clamd.sock
>
>If I run /usr/lib/MailScanner/wrapper/clamav-wrapper /usr /tmp
>it finds the EISCAR test virus in /tmp which makes me think that clamav 
>install is all OK
>
>The error message I'm seeing in 'Mailscanner --lint' is:
>
>Virus Scanning: No virus scanners worked, so message batch will be 
>tried again at /usr/share/MailScanner/perl/MailScanner/SweepViruses.pm 
>line 583.
>Cannot find Socket (/var/run/clamd.scan/clamd.sock) Exiting! at 
>/usr/share/MailScanner/perl/MailScanner/SweepViruses.pm line 2413.
>
>Thanks in advance for any help/guidance.
>
>Andy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20230502/dd84380e/attachment.html>


More information about the MailScanner mailing list