Whats the best way to Automatically Start Zope Server on bootup??
Whats the best way to Automatically Start Zope Server on bootup?? I have SuSE 6.2 system. I am having some trouble (newbie, sorry) deciding what the best way to start it up automatically. Docs say boot.local, but it stops the process. Do I run it as daemon? If so how? In background?? Not sure. Thanks in advance for any assistance.
Robert, I think SuSE uses System V-type RC stuff (e.g. it has /etc/rc.d, /etc/rc.d/rc3.d, /etc/rc.d/rc5.d, etc.) Though I might be wrong about the location of the rc.d directory for SuSE (sometimes LInux vendors put the rc.d directory in /sbin). In this case, you're going to want to either use a graphical rc-script editing tool (sorry, I don't know if SuSE has one) to create an "rc" script for Zope or make one "by hand". KDE has a runlevel editor, BTW (SysV Runlevel Editor). Use this to create a new rc script in rc.d/init.d/zope or somesuch then use a symbolic link to it in rc.d/rc3.d and rc.d/rc5.d. Refer to other rc scripts for its structure. See also my install howto at http://www.zope.org/Members/mcdonc/HowTos/zopeinstall/ZOPE-INSTALL-HOWTO for an example rc script that will work on Red Hat. Note that some people have reported that they need to redirect stdin and stdout when they start Zope from an init script, it may otherwise quit unexpectedly. Append "1>/dev/null 2/dev/null" to the end of the line which starts Zope in your init script to do so. This bug is in the collector but insn't fixed. *Or*............. just use Windows if you'd rather not be bothered with the learning curve on these kinds of issues. I'm serious. It can take a tremendous amount of time to understand just how the runlevel environment works in any UNIX. For a newbie, the *nix/Zope combination requires a serious time investment. (In other words, please don't scream at us if it's driving you nuts :-)). Robert Geiger wrote:
Whats the best way to Automatically Start Zope Server on bootup??
I have SuSE 6.2 system. I am having some trouble (newbie, sorry) deciding what the best way to start it up automatically. Docs say boot.local, but it stops the process.
Do I run it as daemon? If so how? In background?? Not sure.
Thanks in advance for any assistance.
_______________________________________________ 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 )
-- Chris McDonough Digital Creations, Inc. Zope - http://www.zope.org
On Sat, 29 Jan 2000, Chris McDonough wrote:
*Or*............. just use Windows if you'd rather not be bothered with the learning curve on these kinds of issues. I'm serious. It can take a tremendous amount of time to understand just how the runlevel environment works in any UNIX. For a newbie, the *nix/Zope combination requires a serious time investment.
With all due respect, chris, it is NOT a serious time investment unless you try to build from sources. Most major distributions (RedHat and Debian, at least) have good Zope packages available that automatically set Zope up to start at startup. The only tricky part is to know you have to do /etc/rc.d/init.d/zope start /sbin/init.d/zope start /etc/init.d/zope start or whatever, but in general, that should be something that users know. If they really have no clue, then they can reboot the machine and Zope will come up on startup. I was able to set up Zope on RedHat, play with it for a while on my workstation, install it on my server, decide I liked it, upgrade the server to Debian Potato, and install it again -- no sources, no sweat. Jeff Rush's RPMs and the standard Debian packages make the whole process pretty painless. If you're a newbie, don't use the source. It's complicated, and learning how to build stuff in general takes time. That's why people make packages in the first place. If you're using packages, the process is equally complicated on Windows and UNIX; in fact, if (somehow -- I won't pretend *this* is simple ^_^) you're already blessed with a working Debian setup, Zope installation is a one-line command, and you don't even need to start it up -- it starts automatically. The problems associated with using Windows, especially for server software, are too well-known and well-documented for me to cover here. The primer on init system shell programming that was given here is a bit much for the average Zope user. Something like "start scripts are located in ..., type .../zope start to start it" should not be, though. If it is, that person *needs* to deal with the learning curve associated with computers in general. Dtml is almost certainly going to beyond their grasp (it's beyond mine, at least for now! ^_^) So maybe the answer is "don't use SuSE", but I don't think it's "don't use linux".
(In other words, please don't scream at us if it's driving you nuts :-)).
That I can respect and agree with :-) Zope is *AWESOME* and it's free! I can't see how anyone would be inclined to scream at you for that.
Glyph Lefkowitz wrote:
So maybe the answer is "don't use SuSE", but I don't think it's "don't use linux".
You're right, of course. We are *extremely* lucky to have Jeff Rush and the Debian package maintainer(s) to do some of our configuration management dirty work. A thousand kudos to both of them. I don't mean to slight their efforts in any way. This was really stupid of me. A more proper response in this case would have been to suggest using Red Hat or Debian and the appropriate package. We hope to be able to support platform-specific native install mechanisms more thoroughly in the future. For now, due to resource shortages, we can't and we're relying on the package maintainers to do so. But, to be honest, at the end of the day, I personally don't care if you run Zope on Linux or BeOS or MacOS X or on the fender of a Buick, I just want you to be happy and productive.
Zope is *AWESOME* and it's free! I can't see how anyone would be inclined to scream at you for that.
Ha. Want to see my Inbox? Even better, want to see *Paul's* Inbox? :-) -- Chris McDonough Digital Creations, Inc. Zope - http://www.zope.org
participants (3)
-
Chris McDonough -
Glyph Lefkowitz -
Robert Geiger