Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 14173

Summary: zope wont restart if shutdown.
Product: Gentoo Linux Reporter: dan <overvolting>
Component: Current packagesAssignee: Jason Shoemaker (RETIRED) <kutsuya>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.4_rc2   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description dan 2003-01-19 06:34:19 UTC
When zope is shutdown from within control panel (in zope) or any other way than init script, the 
zope init script wont restart zope and doesn't give a reason. 
the reason is there is a pid in zope-home/var/Z2.pid 
I'm reporting this because it confused me for a while but i'm not sure if it's a bug or a feature. 
Maybe when the init scripts fail to start zope for this reason they should issue a warning that zope 
is not starting because this pid file is there, and to remove it if zope isn't really running.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-01-21 11:56:04 UTC
which version ?
Comment 2 dan 2003-01-22 00:50:28 UTC
2.6.0-r1 
Comment 3 Grant Goodyear (RETIRED) gentoo-dev 2003-01-22 15:12:57 UTC
I'm not up to handling this one right now, but Mandrake's Zope initscript
has a fairly impressive bit of scripting to handle the pid problem:
http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/SPECS/Zope/Zope-2.1.6-zope?rev=1.1&content-type=text/x-cvsweb-markup

Tossing back to bug-wranglers to see if somebody has the time to fix this
problem properly.
Comment 4 Jason Shoemaker (RETIRED) gentoo-dev 2003-02-06 12:31:26 UTC
I believe I've resolved this problem in upcoming revision. Probably can see this in bug #13751 zope.initd script. 

I've had the flu since feb 2, so development has slowed way down.
Comment 5 Jason Shoemaker (RETIRED) gentoo-dev 2003-02-18 15:06:27 UTC
Has the problem been fixed with the new revision in portage?  zope-2.6.0-r2.ebuild
Comment 6 Jason Shoemaker (RETIRED) gentoo-dev 2003-02-18 15:07:17 UTC
Has the problem been fixed with the new revision in portage?  zope-2.6.0-r2.ebuild
Comment 7 Jason Shoemaker (RETIRED) gentoo-dev 2003-02-18 15:09:27 UTC
Hmm, was trying to change resolution TEST REQUEST. Sorry for the dups.