Forum OpenACS Q&A: Getting postgresql to start on boot

Hi everyone I need some help, I've installed Openacs before on numerous occasions but this time I'm having trouble with the postgresql.txt script you provided to get postgres to start on boot.

Don't know if its down to my system. I'm running Mandrake 9 and I'm trying to install postgresql-7.2.1.

I've copied the postgresql script to /etc/rc.d/init.d/, when I try to run the script I get this message:

./postgresql stop
: bad interpreter: No such file or directory

Thanks in advance for you help.

Collapse
Posted by Peter Alberer on
hi sergio,

you could try to make sure the interpreter for the shell-script is existing. look at the first line of the postgresql script. there is probably something like #!/bin/bash there. maybe the entry there does not point to an existing interpreter.

hope that helps, peter

Collapse
Posted by Sergio Fortuna on
Hi Peter
don't know why but changing the name of the script from postgresql to just postgres did the trick. Thanks for your post though...