On Sun, 2016-08-07 at 19:17 +0200, Reindl Harald wrote: > > Am 07.08.2016 um 19:13 schrieb Chris: > > > > On Sun, 2016-08-07 at 17:02 +0200, Tobi wrote: > > > > > > Hi Chris > > > > > > sorry I was not clear enough. I did not mean to start the service > > > via > > > systemd but to call like > > > > > > sudo /usr/sbin/clamd -c /path/to/config > > > > > > and see then if the socket has been created in expected location. > > > > > > Cheers > > > > > Thanks Tobi, however that didn't work either: > > > > chris@localhost:~$ sudo /usr/sbin/clamd -c /etc/clamav/clamd.conf > > [sudo] password for chris: > > ERROR: LOCAL: Socket file /run/clamd.socket could not be bound: > > Permission denied > > Closing the main socket. > > ERROR: Can't unlink the socket file /run/clamd.socket > *frankly* you need a subfolder *below* /run because when the socket > is > created *after* drop privileges the daemon has no business to write > cirectly below /run > > * create a subfolder > * make sure it has the correct permissions > * enuse it's created at boot with systemd-tmpfiles > > there is a reason i posted you this already: > [root@mail-gw:~]$ cat /etc/tmpfiles.d/clamd.conf > d /run/clamd 0775 clamscan clamilt > > that's for re-create folders at boot since /run is tmpfs > If there's nothing in that folder do I make a file? Apologies if dumb question but I'm banging my head and previous upgrades didn't give me problems like this at all. They just worked with my setup as it was.
-- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 12:29:19 up 15:53, 1 user, load average: 0.20, 0.28, 0.32 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