startup script for red hat linux?
Anybody have an /etc/init.d/ startup script for Zope for Red Hat Linux? I did a quick search on google and found a Debian one. I'll probably take a peek at that and see if I can make it work. Thanks, // mark -
Mark, Here are two the first is based of the second, but they both work: http://www.zope.org/Members/eriknorvelle/Improved%20RedHat%20Startup%20Scrip... http://www.zope.org/Members/markoer2/resources/howtos/redhat_startup On Sunday, August 11, 2002, at 09:46 PM, Mark McEahern wrote:
Anybody have an /etc/init.d/ startup script for Zope for Red Hat Linux?
I did a quick search on google and found a Debian one. I'll probably take a peek at that and see if I can make it work.
Thanks,
// mark
-
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Michael LaPera]
Here are two the first is based of the second, but they both work:
http://www.zope.org/Members/eriknorvelle/Improved%20RedHat%20Start up%20Script http://www.zope.org/Members/markoer2/resources/howtos/redhat_startup
That worked dandy. Thanks! That is, once I realized the reason I was getting "bad interpreter" was that I had scp'ed the file from my Windows box to my Linux box, so it had DOS line endings. That burned several hours, but in the process I got all familiar with the script itself, so I suppose that wasn't too bad. dos2unix is my friend. Cheers, // m -
On Sunday, August 11, 2002, at 09:46 PM, Mark McEahern wrote:
Anybody have an /etc/init.d/ startup script for Zope for Red Hat Linux?
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 Leafe http://leafe.com/ http://foxcentral.net
[Ed Leafe]
Anybody have an /etc/init.d/ startup script for Zope for Red Hat Linux?
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'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? Thanks, // mark -
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
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 have put a note in the "Maintaining Zope" chapter at http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Maintain ingZope.stx to the effect that we need to have better docs about this.
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?
You may want to read http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Maintain ingZope.stx/document_src in your own copy add anything you think is worthwhile, sending the result to me in email for inclusion in the Book...
participants (4)
-
Chris McDonough -
Ed Leafe -
Mark McEahern -
Michael LaPera