Re: socket dissapears, how to t/s ?

[email protected]
Newsgroups gmane.org.user-groups.slug.general
Message-ID <[email protected]>
On Mon, December 16, 2013 2:01 pm, Steve Kowalik wrote:

> Sounds like a chroot issue. As root, what does /proc/<pid of clamd>/cwd
> point to?

Steve, thanks

do you mean this:
# ps ax | grep clamd
21905 ?        Ssl    0:00 clamd

# ls -al  /proc/21905/cwd
lrwxrwxrwx 1 root root 0 Dec 16 14:22 /proc/21905/cwd -> /

# ls  /proc/21905/cwd
bin   cgroup  etc   lib    lost+found  misc  net  proc  sbin     srv  tmp 
var
boot  dev     home  lib64  media       mnt   opt  root  selinux  sys  usr

# ls -al  /proc/21905/cwd/var/spool/amavisd/clamd.sock
srw-rw-rw- 1 amavis amavis 0 Dec 16 14:21
/proc/21905/cwd/var/spool/amavisd/clamd.sock



-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.