is clamd running as a user that has permission for the /var/run?

if not, rather than messing /var/run up, try pointing at a 'dedicated' /tmp/clamd 
instead, with permissions for that user/group ...

richard

-- On Wednesday, July 28, 2004 1:31 AM -0400  Darton Williams <[EMAIL PROTECTED]> 
wrote:


Running clamav-0.75 on FreeBSD 5.2.1, compiled from source. Everything runs fine, except when I try 
"clamd stop/start" or "clamd restart". I get the error:
Wed Jul 28 00:56:48 2004 -> +++ Started at Wed Jul 28 00:56:48 2004
Wed Jul 28 00:56:48 2004 -> clamd daemon 0.75 (OS: freebsd5.2.1, ARCH: i386, CPU: i386)
Wed Jul 28 00:56:48 2004 -> Log file size limited to 10485760 bytes.
Wed Jul 28 00:56:48 2004 -> Reading databases from /usr/local/clamav/share/clamav
Wed Jul 28 00:56:49 2004 -> Protecting against 22932 viruses.
Wed Jul 28 00:56:49 2004 -> ERROR: Socket file /var/run/clamd is in use by another 
process.
I've seen this error mentioned a couple of places (obviously not a solution 
mentioned), and I've tried setting the following in clamav.conf:
# Remove stale socket after unclean shutdown.
FixStaleSocket
Also checked the permissions, made sure the pid is set, etc. Nothing seems to work 
short of manually deleting the socket file. Any ideas?
Best Regards,
Darton


------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to