In your initial message about "socket disappear" you were looking for /var/spool/amavisd/clamd.sock, that's a different path to the one we see here "/var/run/clamav/clamd.sock", perhaps you have to update the path in the client.
On 17 December 2013 19:51, <li...@sbt.net.au> wrote: > On Tue, December 17, 2013 4:33 pm, Amos Shapira wrote: > > So it's not a chroot thing. Please run "lsof -p 5914" and paste the > > output, I don't trust grep's on pid numbers. > > # lsof -p 5914 > COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME > clamd 5914 amavis cwd DIR 202,1 4096 2 / > clamd 5914 amavis rtd DIR 202,1 4096 2 / > clamd 5914 amavis txt REG 202,1 151456 397986 > /usr/sbin/clamd > clamd 5914 amavis mem REG 202,1 156928 196977 > /lib64/ld-2.12.so > clamd 5914 amavis mem REG 202,1 1926800 197060 > /lib64/libc-2.12.so > clamd 5914 amavis mem REG 202,1 22536 197048 > /lib64/libdl-2.12.so > clamd 5914 amavis mem REG 202,1 145896 197109 > /lib64/libpthread-2.12.so > clamd 5914 amavis mem REG 202,1 91096 201511 > /lib64/libz.so.1.2.3 > clamd 5914 amavis mem REG 202,1 599384 201505 > /lib64/libm-2.12.so > clamd 5914 amavis mem REG 202,1 69976 196781 > /lib64/libbz2.so.1.0.4 > clamd 5914 amavis mem REG 202,1 1536704 397963 > /usr/lib64/libclamav.so.6.1.18 > clamd 5914 amavis mem REG 202,1 65928 196751 > /lib64/libnss_files-2.12.so > clamd 5914 amavis 0r CHR 1,3 0t0 3674 > /dev/null > clamd 5914 amavis 1w CHR 1,3 0t0 3674 > /dev/null > clamd 5914 amavis 2w CHR 1,3 0t0 3674 > /dev/null > clamd 5914 amavis 3w REG 202,1 13427 518195 > /var/log/clamav/clamd.log > clamd 5914 amavis 4u unix 0xffff88007b7769c0 0t0 25368400 socket > clamd 5914 amavis 5u unix 0xffff880053cf6980 0t0 25368465 > /var/run/clamav/clamd.sock > clamd 5914 amavis 6r FIFO 0,8 0t0 25368468 pipe > clamd 5914 amavis 7w FIFO 0,8 0t0 25368468 pipe > clamd 5914 amavis 8r FIFO 0,8 0t0 25368469 pipe > clamd 5914 amavis 9w FIFO 0,8 0t0 25368469 pipe > > > > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html > -- [image: View my profile on LinkedIn] <http://www.linkedin.com/in/gliderflyer> -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html