On Apr 11, 2005, at 22:20, Kurt Albershardt wrote:

0.83 on Gentoo Linux

I'm not able to see a socket created, either when I use /var/tmp/clamav or when I configure as /var/run/clamav/clamd.sock (after creating the clamav directory and changing permissions appropriately.)

Works fine on an old RH8 box, I've diffed the clamd.conf files and there is nothing notably different.


Where to look? Is there a verbose startup mode for the daemon?

try using:

lsof -c <command>

here are actual examples.

daleenterprise:~ root# lsof -c clamd
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
clamd 443 mailtransport cwd VDIR 14,2 9600 2 / (/dev/disk0s3)
clamd 443 mailtransport 0u unix 0x039134f0 0t0 /var/clamav/clamd.sock
clamd 443 mailtransport 1w VCHR 3,2 0t0 54212356 /dev/null
clamd 443 mailtransport 2w VCHR 3,2 0t0 54212356 /dev/null
clamd 443 mailtransport 3r 0x032d8688 file struct, ty=0x3, op=0x3167f4
clamd 443 mailtransport 4w VREG 14,2 80335 7190019 /private/var/log/mailtransport/clamd.log
clamd 443 mailtransport 5w VCHR 3,2 0t0 54212356 /dev/null
daleenterprise:~ root# lsof -c freshclam
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
freshclam 357 mailtransport cwd VDIR 14,2 512 2255453 /usr/share/clamav
freshclam 357 mailtransport 0r 0x032d86f4 file struct, ty=0x3, op=0x3167f4
freshclam 357 mailtransport 3w VREG 14,2 17155 7190022 /private/var/log/mailtransport/freshclam.log
daleenterprise:~ root#


-- Dale

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to