Hey, I hate to open an old thread, but I just wanted to say thanks!
I was having the same issue with clamd on a client's machine, and for whatever reason -- even after an upgrade it still kept giving me the socket permission denied error message.
I checked the permissions on the file and on the directory and everything seemed to be fine, but still I got the error message.
Commenting out the two lines mentioned above allowed clamd to start without a hitch!
Code:
root@server [/var]# service clamd start
Starting Clam AntiVirus Daemon: Bytecode: Security mode set to "TrustSigned".
ERROR: LOCAL: Socket file /var/clamd could not be removed: Permission denied
ERROR: Can't unlink the socket file /var/clamd
[FAILED]
root@server [/var]# nano /etc/clamd.conf
root@server [/var]# service clamd start
Starting Clam AntiVirus Daemon: Bytecode: Security mode set to "TrustSigned".
[ OK ]
root@server [/var]#
So I'm happy!
-
Eric Gillette
Recent comments
7 hours 3 min ago
16 hours 31 min ago
17 hours 21 min ago
20 hours 54 min ago
1 day 1 hour ago
1 day 1 hour ago
1 day 3 hours ago
1 day 13 hours ago
1 day 18 hours ago
1 day 20 hours ago