Forum OpenACS Q&A: Problem with configuring AOLserver to start on boot

Hi,

I am quite new to this so im slightly confused and running into some
problems. I'm running Mandrake Linux (2.4.18mdk) and have already
installed PostgreSql 7.1.3, AOLserver 3.3ad13 and OpenACS 4.5.

I came to the section on Keep AOLserver alive from the following page:
https://openacs.org/doc/openacs-4/openacs.html

I decided to use the inittab method since it said it might be easier.

I then came to the part where it says:
nsadmin:~$ /usr/local/aolserver/bin/nsd-postgres -
it /usr/local/aolserver/birdnotes.tcl

and when i ran that line, it said "Notice: nsd.tcl: finished reading
config file" but then seemed to stall.

Does anyone know why this is happening? Or does it just take time to
complete? If i take out the 'i' option, it works but that then doesnt
achieve what it is meant to do.

Any help would be appreciated. Thanks in advance.

Hi Ayman,

Welcome to OpenACS.  Anyway for me normally when I have a new installed OpenACS I normally run it on a command line and tail -f myserver.log.  Normally I forget some stuff and a couple of errors along the way.

Using inittab or daemon tools will make your process restart if it dies  even if its because of an error so its not a good idea to use them for your initial startup.  Try the normal command line and tail and log file and see if there are any errors.  Good luck.

Collapse
Posted by russ m on
Ayman -

Welcome to OpenACS!

I think the docs may need to be fixed - the -i flag to nsd tells it to
direct error messages to the log, but not detach from the
terminal (inittab mode). Where it appears to have stalled, it's
sitting there running. You can either run restart-aolserver in a
different terminal (in which case the running nsd should exit) or
just drop the -i flag (in which case nsd will go to the background
like the example shows).

cheers