View Single Post
  #7  
Old 13th July 2011, 19:52
egillette egillette is offline
Junior Member
 
Join Date: Jul 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Worked for me. . .

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
Reply With Quote