On Sun, 2016-08-07 at 11:04 -0400, Alan Stern wrote:
> On Sun, 7 Aug 2016, Chris wrote:
> 
> > 
> > On Sun, 2016-08-07 at 10:49 +0200, Tobi wrote:
> > > 
> > > 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
> > I've tried that lots of times Tobi, however, it still doesn't
> > create
> > it:
> > 
> > chris@localhost:~$ sudo service clamav-daemon stop  [ - ]  clamav-
> > daemon
> > 
> > chris@localhost:~$ sudo service clamav-daemon start [ + ]  clamav-
> > daemon
> When systemd is installed, the "service" command is redirected to
> invoke systemctl.  To truly bypass systemd you would need to do
> something like "sudo /etc/init.d/clamav-daemon stop", etc.
> 
> > 
> > The 'clamd.socket' file should be between these two but it's not:
> > 
> > -rw-r--r--  1 clamav clamav    446464 Jun 23 11:40 bytecode.cld
> > -rw-r--r--  1 clamav clamav        82 Jul 13 14:44
> > crdfam.clamav.hdb
> This also could be caused by SELinux.  It can prevent files from
> being
> created even when all the permission settings are okay.  Have you
> checked the system logs for audit violations?
> 
> Also, have you checked clamd's log file?
> 
> Alan Stern
> 

Alan, I do see this in the log:

Sun Aug  7 12:07:30 2016 -> ERROR: Can't unlink the pid file
/var/run/clamav/clamd.pid
Sun Aug  7 12:07:30 2016 -> --- Stopped at Sun Aug  7 12:07:30 2016
Sun Aug  7 12:10:43 2016 -> +++ Started at Sun Aug  7 12:10:43 2016
Sun Aug  7 12:10:43 2016 -> Received 0 file descriptor(s) from systemd.



-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
12:19:19 up 15:43, 1 user, load average: 0.23, 0.37, 0.36
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

Reply via email to