Clamav-daemon
Stefan Onken
support at stonki.de
Thu Aug 6 18:05:57 UTC 2009
Hello,
I am trying to setup an email server with Clamav-Daemon support.
Starting clam-daemon:
1) Output
root at ubuntu:/home/stonki# /etc/init.d/clamav-daemon start
* Starting ClamAV daemon clamd
LibClamAV Warning:
***********************************************************
LibClamAV Warning: *** This version of the ClamAV engine is
outdated. ***
LibClamAV Warning: *** DON'T PANIC! Read
http://www.clamav.net/support/faq ***
LibClamAV Warning:
***********************************************************
ERROR: LOCAL: Socket file /var/run/clamav/clamd.socket could not be
bound: Permission denied
Closing the main socket.
2) Config
/etc/clamav/clamd.conf:
# Path to a local socket file the daemon will listen on.
LocalSocket /var/run/clamav/clamd.socket
User clamav
3) Permissions
root at ubuntu:/home/stonki# ls -als /var/run/clamav/
insgesamt 4
0 drwxr-xr-x 2 clamav clamav 60 2009-08-06 19:54 .
As User "clamav" I am able to write into this directory.
4) Strace Output:
[pid 14861] socket(PF_FILE, SOCK_STREAM, 0) = 5
[pid 14861] bind(5, {sa_family=AF_FILE,
path="/var/run/clamav/clamd.socket"...}, 110) = -1 EACCES
(Permission denied)
[pid 14861] stat("/var/log/clamav/clamd.log", {st_mode=S_IFREG|0640,
st_size=1556, ...}) = 0
[pid 14861] write(3, "Thu Aug 6 19:59:14 2009 -> ERROR"..., 121) =
121
[pid 14861] sendto(4, "<179>Aug 6 19:59:14 clamd[14861]"..., 121,
MSG_NOSIGNAL, NULL, 0) = 121
[pid 14861] write(2, "ERROR: LOCAL: Socket file /var/ru"..., 93ERROR:
LOCAL: Socket file /var/run/clamav/clamd.socket could not be bound:
Permission denied
) = 93
[pid 14861] close(5) = 0
Where is the problem ?
Thanks!
--
www.stonki.de
www.proftpd.de
www.kbarcode.net
www.krename.net
More information about the ubuntu-users
mailing list