I think OP meant the socket used by 'zopectl' to communicate with the child process. At least on Zope 2.10. those files are in $INSTANCE_HOME/var, along with the PID file::
$ ~/projects/Zope-CVS/Zope-2.10-branch/bin/mkzopeinstance.py \ -d /tmp/lp_175981 -u admin:123 $ /tmp/lp_175981/bin/zopectl start . daemon process started, pid=7672 $ ls -l /tmp/lp_175981/{etc,var} /tmp/lp_175981/etc: total 40 drwxr-xr-x 2 tseaver tseaver 4096 2008-03-08 11:36 package-includes -rw-r--r-- 1 tseaver tseaver 739 2008-03-08 11:36 site.zcml -rw-r--r-- 1 tseaver tseaver 31755 2008-03-08 11:36 zope.conf
/tmp/lp_175981/var: total 12 -rw-r--r-- 1 tseaver tseaver 299 2008-03-08 11:36 README.txt -rw-r--r-- 1 tseaver tseaver 4 2008-03-08 11:36 Z2.lock -rw-r--r-- 1 tseaver tseaver 4 2008-03-08 11:36 Z2.pid srwx------ 1 tseaver tseaver 0 2008-03-08 11:36 zopectlsock
ZEO, however, puts its control socket in $INSTANCE_HOME/etc::
$ /tmp/lp_175981/bin/zopectl stop . daemon process stopped $ ./projects/Zope-CVS/Zope-2.10-branch/bin/mkzeoinstance.py \ /tmp/lp_175981 9999 Wrote file /tmp/lp_175981/etc/zeo.conf Wrote file /tmp/lp_175981/bin/zeoctl Changed mode for /tmp/lp_175981/bin/zeoctl to 755 Wrote file /tmp/lp_175981/bin/runzeo Changed mode for /tmp/lp_175981/bin/runzeo to 755 $ /tmp/lp_175981/bin/zeoctl start . daemon process started, pid=7719 $ ls -l /tmp/lp_175981/{etc,var} /tmp/lp_175981/etc: total 44 drwxr-xr-x 2 tseaver tseaver 4096 2008-03-08 11:36 package-includes -rw-r--r-- 1 tseaver tseaver 739 2008-03-08 11:36 site.zcml -rw-r--r-- 1 tseaver tseaver 911 2008-03-08 11:39 zeo.conf srwx------ 1 tseaver tseaver 0 2008-03-08 11:40 zeo.zdsock -rw-r--r-- 1 tseaver tseaver 31755 2008-03-08 11:36 zope.conf
/tmp/lp_175981/var: total 1296 -rw-r--r-- 1 tseaver tseaver 1277376 2008-03-08 11:37 Data.fs -rw-r--r-- 1 tseaver tseaver 29587 2008-03-08 11:40 Data.fs.index -rw-r--r-- 1 tseaver tseaver 5 2008-03-08 11:40 Data.fs.lock -rw-r--r-- 1 tseaver tseaver 0 2008-03-08 11:40 Data.fs.tmp -rw-r--r-- 1 tseaver tseaver 299 2008-03-08 11:36 README.txt -rw-r--r-- 1 tseaver tseaver 5 2008-03-08 11:40 ZEO.pid
Which I would agree is a bug (but in ZODB3 / ZEO, not Zope).
I think OP meant the socket used by 'zopectl' to communicate with the
child process. At least on Zope 2.10. those files are in
$INSTANCE_HOME/var, along with the PID file::
$ ~/projects/ Zope-CVS/ Zope-2. 10-branch/ bin/mkzopeinsta nce.py \ 175981/ bin/zopectl start 175981/ {etc,var} lp_175981/ etc:
-d /tmp/lp_175981 -u admin:123
$ /tmp/lp_
. daemon process started, pid=7672
$ ls -l /tmp/lp_
/tmp/
total 40
drwxr-xr-x 2 tseaver tseaver 4096 2008-03-08 11:36 package-includes
-rw-r--r-- 1 tseaver tseaver 739 2008-03-08 11:36 site.zcml
-rw-r--r-- 1 tseaver tseaver 31755 2008-03-08 11:36 zope.conf
/tmp/ lp_175981/ var:
total 12
-rw-r--r-- 1 tseaver tseaver 299 2008-03-08 11:36 README.txt
-rw-r--r-- 1 tseaver tseaver 4 2008-03-08 11:36 Z2.lock
-rw-r--r-- 1 tseaver tseaver 4 2008-03-08 11:36 Z2.pid
srwx------ 1 tseaver tseaver 0 2008-03-08 11:36 zopectlsock
ZEO, however, puts its control socket in $INSTANCE_ HOME/etc: :
$ /tmp/lp_ 175981/ bin/zopectl stop Zope-CVS/ Zope-2. 10-branch/ bin/mkzeoinstan ce.py \ 175981/ etc/zeo. conf 175981/ bin/zeoctl 175981/ bin/zeoctl to 755 175981/ bin/runzeo 175981/ bin/runzeo to 755 175981/ bin/zeoctl start 175981/ {etc,var} lp_175981/ etc:
. daemon process stopped
$ ./projects/
/tmp/lp_175981 9999
Wrote file /tmp/lp_
Wrote file /tmp/lp_
Changed mode for /tmp/lp_
Wrote file /tmp/lp_
Changed mode for /tmp/lp_
$ /tmp/lp_
. daemon process started, pid=7719
$ ls -l /tmp/lp_
/tmp/
total 44
drwxr-xr-x 2 tseaver tseaver 4096 2008-03-08 11:36 package-includes
-rw-r--r-- 1 tseaver tseaver 739 2008-03-08 11:36 site.zcml
-rw-r--r-- 1 tseaver tseaver 911 2008-03-08 11:39 zeo.conf
srwx------ 1 tseaver tseaver 0 2008-03-08 11:40 zeo.zdsock
-rw-r--r-- 1 tseaver tseaver 31755 2008-03-08 11:36 zope.conf
/tmp/ lp_175981/ var:
total 1296
-rw-r--r-- 1 tseaver tseaver 1277376 2008-03-08 11:37 Data.fs
-rw-r--r-- 1 tseaver tseaver 29587 2008-03-08 11:40 Data.fs.index
-rw-r--r-- 1 tseaver tseaver 5 2008-03-08 11:40 Data.fs.lock
-rw-r--r-- 1 tseaver tseaver 0 2008-03-08 11:40 Data.fs.tmp
-rw-r--r-- 1 tseaver tseaver 299 2008-03-08 11:36 README.txt
-rw-r--r-- 1 tseaver tseaver 5 2008-03-08 11:40 ZEO.pid
Which I would agree is a bug (but in ZODB3 / ZEO, not Zope).