[Zope] Zope refuses to start after normal stop

Jorge O. Martinez jmartinez@eMediaMillWorks.com
Fri, 12 Apr 2002 17:20:02 -0400


Hi:

This is weird. I stopped Zope (using the stop script provided)  because 
I was going to test Tomcat (also on port 8080), but when I tried to 
restart zope again (as zoped, a user I've created for zope), it refused, 
and it's giving me this messages (by the way, I stopped Tomcat, so the 
port is free):

********************

Traceback (most recent call last):
   File "/usr/local/zope/z2.py", line 474, in ?
     zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid))
   File "/usr/local/zope/lib/python/zdaemon/Daemon.py", line 73, in run
     pf = open(pidfile, 'w+')
IOError: [Errno 2] No such file or directory: 
'/usr/local/zope/var/var/zProcessManager.pid'
[zoped@coco zope]$ ------
2002-04-12T21:05:21 PANIC(300) z2 Startup exception
Traceback (innermost last):
   File /usr/local/zope/z2.py, line 495, in ?
   File <string>, line 1, in ?
   File /usr/local/zope/lib/python/Zope/__init__.py, line 22, in ?
   File /usr/local/zope/lib/python/OFS/Application.py, line 18, in ?
   File /usr/local/zope/lib/python/App/Product.py, line 39, in ?
   File /usr/local/zope/lib/python/ZClasses/__init__.py, line 20, in ?
   File /usr/local/zope/lib/python/ZClasses/ZClass.py, line 87, in ?
     (Object: ComputedAttribute)
   File /usr/local/zope/lib/python/OFS/misc_.py, line 21, in ?
   File /usr/local/zope/lib/python/OFS/misc_.py, line 27, in p_
   File /usr/local/zope/lib/python/App/ImageFile.py, line 38, in __init__
IOError: [Errno 2] No such file or directory: 
'/usr/local/zope/AccessControl/www/User_icon.gif'

*******************

However, when I try to start it as root (a bad idea, but I was just 
curious), it starts, and I can go to the manage area. What's going on? 
Am I going crazy, is it because it's Friday?. To test Tomcat I added a 
few env vars, but nothing that should mess python (only java stuff) What 
am I missing, any idea will be appreciated,

Regards,

Jorge M.


-- 
Jorge O. Martinez
MIS Senior Associate
eMediaMillWorks
1100 Mercantile Lane, Suite 119
Largo, MD 20774
E-mail  => jmartinez@eMediaMillWorks.com
Phone   => (301)883-2482 ext. 105
Fax     => (301)883-9754