[clamav-users] Error (Cannot connect to unix socket '/var/lib/clamav/clamd.socket': connect: No such file or directory)

Tobi tobisworld at gmail.com
Sun Aug 7 04:49:27 EDT 2016


It might a systemd issue. Have you tried to start clamd by calling it directly on cli? Does it create the socket then?

Cheers

tobi

----- Originale Nachricht -----
Von: Chris <cpollock at embarqmail.com>
Gesendet: 07.08.16 - 04:49
An: clamav-users at lists.clamav.net
Betreff: [clamav-users] Error (Cannot connect to unix socket '/var/lib/clamav/clamd.socket': connect: No such file or directory)

> I upgraded to Ubuntu 16.04LTS earlier this week and it installed ClamAV
> 0.99. I previously had 98.7 installed and running perfectly. I have it
> being called by Spamassassin. When an incoming message is checked the
> line in the subject appears. Permissions for the directory
> /var/lib/clamav:
> 
> drwxr-xr-x 3 clamav        clamav        4096 Aug  6 20:36 clamav
> 
> Owner and group of each file in /var/lib/clamav is clamav  clamav.
> 
> The clamd.ctl file exist as shown in my /etc/clamav/clamd.conf:
> 
> # This option allows you to save a process identifier of the listening
> # daemon (main thread).
> # Default: disabled
> PidFile /var/run/clamav/clamd.pid
> 
> I have the /tmp location set:
> 
> # Optional path to the global temporary directory.
> # Default: system specific (usually /tmp or /var/tmp).
> TemporaryDirectory /var/tmp
> 
> I have this set for the socket file:
> 
> # Path to a local socket file the daemon will listen on.
> # Default: disabled (must be specified by a user)
> LocalSocket /var/lib/clamav/clamd.socket
> 
> It's not getting created no matter what I do. It used to be created in
> fact it was there before I did the system upgrade.
> 
> Any assistance would be appreciated.
> 
> Chris
> 
> -- 
> Chris
> KeyID 0xE372A7DA98E6705C
> 31.11972; -97.90167 (Elev. 1092 ft)
> 20:49:27 up 14 min, 1 user, load average: 0.34, 1.74, 1.93
> Ubuntu 16.04.1 LTS, kernel 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016
> 
> _______________________________________________
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> 
> http://www.clamav.net/contact.html#ml




More information about the clamav-users mailing list