[Zope] Starting zope automatically on Linux Mandrake 8.0

Karl Munroe komunroe@uwimona.edu.jm
Tue, 12 Jun 2001 12:27:53 -0800


This still does not work, I still get the smae messages. The zope script =
is
not reported in linuxconf>Control panel>Control service activity as a
service and still not starting automaticall at boot.

What am I doing wrong?


-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
Martin Sk=F8tt
Sent: Tuesday, June 12, 2001 8:04 AM
To: Karl Munroe
Cc: ZOPE Mailing List
Subject: RE: [Zope] Starting zope automatically on Linux Mandrake 8.0


Scripts need to be prepared in a special way before chkconfig can use
them. You can use what ever editor you want as long as it can save text.
Add something like this in the beginning of your script (before code, but
after #!/...):
# chkconfig: 345 90 15
# description: Start and stop the Zope server.

Do that and the chkconfig commands should work fine. Read more about
chkconfig in man chkconfig.

Martin Sk=F8tt
mskott@image.dk

On Tue, 12 Jun 2001, Karl Munroe wrote:

> I tried to use chkconfig to add the zope service but got the following
> replies
>
> chkconfig --add zope :
> service zope does not support chkconfig
>
> chkconfig --level 345 zope on
> service zope does not support chkconfig
>
> the details of my zope install are :
>
> Unpacked from binay distrubution to /var/zope
>
> script zope in /etc/rc.d/init.d/ that I can use to start zope like so:
> /etc/rc.d/init.d/zope start
>
> Thanks in advance for you help
>
> Karl Munroe
>
> -----Original Message-----
> From: Chris Green [mailto:cmg@uab.edu]
> Sent: Monday, June 11, 2001 5:57 PM
> To: Karl Munroe
> Cc: ZOPE Mailing List
> Subject: Re: [Zope] Starting zope automatically on Linux Mandrake 8.0
>
>
> "Karl Munroe" <komunroe@uwimona.edu.jm> writes:
> >
> > I have a problem with linuxconf picking up the zope script from
> > /etc/rc.d/init/d. The file exists and it has execute permissions. I c=
an
:
> > ./zope {start|restart|etc..} form the command line. However, when I t=
ry
to
> > restart the zope server from linuxconf it does not report it as a
service
> > and zope does not start automatically when the server is rebooted.
> >
>
> Try
>
> chkconfig --add zope or
> chkconfig --level 345 zope on
> --
> Chris Green <cmg@uab.edu>
> "Yeah, but you're taking the universe out of context."
>
>
> _______________________________________________
> 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 )
>


_______________________________________________
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 )