AW: [Zope] Problems starting zope server on boot process / Redhat 7.3

news@pernex.de news@pernex.de
Tue, 18 Mar 2003 16:12:22 +0100


I did as you said but it did not bring me along any further.
I am relatively new at linux and really helpless with this topic.

I did=20

bash -x service zope start

The output is:

+ alias 'rm=3Drm -i'
+ alias 'cp=3Dcp -i'
+ alias 'mv=3Dmv -i'
+ '[' -f /etc/bashrc ']'
+ . /etc/bashrc
+++ id -gn
+++ id -un
+++ id -u
++ '[' root =3D root -a 0 -gt 99 ']'
++ umask 022
++ '[' '' ']'
++ basename service
+ VERSION=3Dservice ver. 0.91
++ basename service
+ USAGE=3DUsage: service < option > | --status-all | [ service_name [
command | --full-restart ] ]
+ SERVICE=3D
+ SERVICEDIR=3D/etc/init.d
+ '[' 3 -eq 0 ']'
+ cd /
+ '[' 3 -gt 0 ']'
+ '[' -z '' -a 3 -eq 1 -a zope =3D --status-all ']'
+ '[' 3 -eq 2 -a start =3D --full-restart ']'
+ '[' -z '' ']'
+ SERVICE=3Dzope
+ shift
+ '[' 2 -gt 0 ']'
+ '[' -z zope -a 2 -eq 1 -a start =3D --status-all ']'
+ '[' 2 -eq 2 -a output =3D --full-restart ']'
+ '[' -z zope ']'
+ OPTIONS=3D start
+ shift
+ '[' 1 -gt 0 ']'
+ '[' -z zope -a 1 -eq 1 -a output =3D --status-all ']'
+ '[' 1 -eq 2 -a '' =3D --full-restart ']'
+ '[' -z zope ']'
+ OPTIONS=3D start output
+ shift
+ '[' 0 -gt 0 ']'
+ '[' -x /etc/init.d/zope ']'
+ env -i LANG=3Den_US.iso885915 /etc/init.d/zope start output
env: /etc/init.d/zope: No such file or directory=20

Then I said: bash -x zope start

+ alias 'rm=3Drm -i'
+ alias 'cp=3Dcp -i'
+ alias 'mv=3Dmv -i'
+ '[' -f /etc/bashrc ']'
+ . /etc/bashrc
+++ id -gn
+++ id -un
+++ id -u
++ '[' root =3D root -a 0 -gt 99 ']'
++ umask 022
++ '[' '' ']'
+=20

zope:=20
: command not found
+ . /etc/rc.d/init.d/functions

zope: /etc/rc.d/init.d/functions
: No such file or directory
+=20

zope:=20
: command not found
zope: line 16: syntax error near unexpected token `in
'
zope: line 16: `case "$1" in
'

Cheers,

Dominik

-----Urspr=FCngliche Nachricht-----
Von: Bryan C. Andregg [mailto:bryan.andregg@duke.edu]=20
Gesendet: Dienstag, 18. M=E4rz 2003 15:17
An: news@pernex.de
Betreff: Re: [Zope] Problems starting zope server on boot process /
Redhat 7.3

On Mon, Mar 17, 2003 at 08:42:58PM +0100, news@pernex.de mailed:
> Hallo Bryan,
>=20
> I just put the scripts in here. Just checked all the file locations.
> They seem to be ok. However I did not find=20
>=20
> zProcessManager.pid and
> zwatchdog.pid
>=20
> on my running Zope which I started manually. I commented them out on
my
> system.
>=20
> Thanks a lot!

Can you try adding the -x flag to the #!/bin/bash and see if you can
follow
the script's output to find the error.
--=20
Bryan C. Andregg		Duke University Medical Center
 Programmer			Dept. of Anesthesiology
 e <bryan.andregg@duke.edu>
 p +1 919 684 6201