I have got debian automatically starting webobjects
Your script needs to be executable ( chmod +x /etc/init.d/wostart.sh)
and respond to the start and stop commands
/etc/init.d/wostart.sh start
(for starting webobjects)
/etc/init.d/wostart.sh stop
(for stopping webobjects)
You should put a symbolic link from the rc.d directories to the
init.d. My debian server boots into runlevel 2 so I made sure I had
S91wostart.sh in rc2.d linked to
cd /etc/rc2.d
ln -s ../init.d/wostart.sh S91wostart.sh
I had problems with environment variables not being defined (eg
$NEXT_ROOT) so I defined it manually in the start of the script
wostart.sh
export NEXT_ROOT=/usr/local/apple
Tim
On 14/10/2007, at 7:23 PM, ute Hoffmann wrote:
Hallo,
I have tried in vain to get WO start up on a debian linux on
restart of this server.
I have a wostart.sh which I have put into init.d -> no luck
Then I put it into rc.boot and changed its name to Swo.sh, as I
read it looks for a S as first letter for processes it is supposed
to start: no success.
I get something interesting as: No WO prozesses shown in ps -ax
BUT
"The requested Applikation was not found on this server" - Error-
Page, which seems to me there IS some WO-Specific prozess running
indeed.
Is there anyone around who can help me with getting WO successfully
automatically starting on server restart?
If I log into the server via ssh (I'm root then), and cd to the
script and start it via ./Swo.sh it does what it is supposed to do
and starts the WO prozesses...
And yes, I checked its user rights, all user can read, write and
run the script. That should be enough, should it. A how to on the
web stated that Debian goes through init.d, then through all rc's
and last through rc.boot, so it should find the skript, should it?
Thanks for some expertise.
Regards,
Ute
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-
[EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/timcu%
40tpg.com.au
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]