Hi I have created a zope / plone site which i have deployed on a dedicated server using linux with fedora core 3. I have installed zope as root as setup an instance of zope using a different user. I am trying to setup zope so that it will start automatically when the server is rebooted. I have created a symlink in rc.d to zopectl however this doesnt seem to work. When i run zopectl i get the message daemon manager not running if i enter the start command zope starts. Is there someway of getting zopectl to run at startup and for it to automattically use the start command. Any help will be greatly appreciated -- View this message in context: http://www.nabble.com/Newbie-zopectl-question-t1311221.html#a3493768 Sent from the Zope - General forum at Nabble.com.
JulianRead schrieb:
Hi
I have created a zope / plone site which i have deployed on a dedicated server using linux with fedora core 3.
I have installed zope as root as setup an instance of zope using a different user.
I am trying to setup zope so that it will start automatically when the server is rebooted. I have created a symlink in rc.d to zopectl however this doesnt seem to work.
You need the symlink in your rc2.d or whatever your runlevel is. Usually you have some tools to build the link from rc.d to S<some number>zopectl in the desired runlevel directory
When i run zopectl i get the message
daemon manager not running
if i enter the start command zope starts. Is there someway of getting zopectl to run at startup and for it to automattically use the start command.
sys V style inits like FC4 uses, call all scripts in the runlevel which follow the S<number><name> schema with the argument "start" You system documentation will tell you :-) Regards Tino
Do you know if it is possible to get zopectl to run using rc.local? -- View this message in context: http://www.nabble.com/Newbie-zopectl-question-t1311221.html#a3496682 Sent from the Zope - General forum at Nabble.com.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 JulianRead wrote:
Do you know if it is possible to get zopectl to run using rc.local?
Yes. Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEHuGN+gerLs4ltQ4RAhAcAJ4pzdZ7KKEScqeUieEo8gmeWSwVsgCgjfqE b1BIrK8OlOtTQCrPXFyGfAs= =zKk0 -----END PGP SIGNATURE-----
On 2006-03-20, JulianRead wrote:
I have installed zope as root as setup an instance of zope using a different user.
I am trying to setup zope so that it will start automatically when the server is rebooted. I have created a symlink in rc.d to zopectl however this doesnt seem to work.
This tries to start zope as the user root, not as that different user. I do think you want to start it as that other user. The following article may help you: http://www.debian-administration.org/articles/372 Basically, login as that user and add a crontab entry with 'crontab -e' that contains something like this: @reboot /home/someuser/zopeinstance/bin/zopectl start Then test it of course. :) -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ GnuPG key | http://maurits.vanrees.org/var/gpgkey.asc "Do only what only you can do." --- Edsger Wybe Dijkstra
participants (4)
-
JulianRead -
Maurits van Rees -
Tino Wildenhain -
Tres Seaver