On Monday, August 12, 2002, at 06:10 PM, Mark McEahern wrote:
I just added this line to /etc/rc.d/rc.local:
/usr/local/ZopeBase/start
Just be sure to turn off the -D option in the default start script, or you'll hang the system as it waits for you to quit Zope.
Ed, thanks for that tip. Is this documented anywhere (the fact that when you want to setup Zope as a service on Red Hat, you need to change the default start script)? Why is -D hard-coded into start like that anyhow?
I don't know if it's documented anywhere. I found out the hard way ;-) by adding the line without changing the start script. I had to ssh into the server to kill the Zope process before it could finish booting. Once I removed the -D argument it worked fine.
I'm tempted--despite how relatively clueless I am--to write yet another HOWTO describing my experiences getting Zope working with Apache. I suppose it'd be more effective to try to contribute to some canonical reference, though. Er, I mean, find, read, and grok it first, of course. Is there such a thing?
I, for one, would have appreciated such a document. I'm a relative newbie, too, and have only gotten things working after extensive trial-and-error, using lots and lots of Google searches to find the info I needed. ___/ / __/ / ____/ Ed Leafe http://leafe.com/ http://foxcentral.net