I tried to use the Daemontools 0.76 package to manage AOLserver
(listening to port 80) but ran into troule on start-up. I typed:
svc -u /service/openacs4, which is supposed to bring up my
server.
/service/openacs4 is linked to the
service dir,
/home/nsadmin/openacs4 where the ./run script
resides.
The error:
[24/Sep/2001:17:18:11][7287.1024][-main-] Notice: modload: loading
'/home/nsadmin/bin/postgres.so'
[24/Sep/2001:17:18:11][7287.1024][-main-] Warning: modload: failed to
load '/home/nsadmin/bin/postgres.so': 'libpq.so.2: cannot load shared
object file: No such file or directory'
[24/Sep/2001:17:18:11][7287.1024][-main-] Error: dbdrv: failed to load
driver 'postgres'
[24/Sep/2001:17:18:11][7287.1024][-main-] Error: dbinit: no such
default pool 'main'
The run script - ./run:
#!/bin/sh
exec /home/nsadmin/bin/nsd -it /home/nsadmin openacs4.tcl -u nsadmin
-g web
There are no problems when I start a simpler service without db pools
or when I start the server from the command line
(as root):
./bin/nsd -ft openacs4.tcl -u nsadmin -g web
Thanks for your help,