The DB can be anywhere
Export the PG variables or run the pg_ctl as follows
nohup pg_ctl -o -i -D /wherever/your/data/dir/is start &
My postgresql.conf is located in /usr/local/pgsql/data, so my command would be
nohup pg_ctl -o -i -D /usr/local/pgsql/data start &
Mark Campbell
Confidentiality Notice: http://ucs.co.za/conf.html
sam karush wrote:
>On my Sco-Openserver Unix machine, I need to start the postmaster like this
>nohup pg_ctl -o -i start &
Heres what I get:
/bin/nohup: appending output to 'nohup. out'
and in nohup out:
postmaster starting
postmaster cannot access the server configuration file "/boot/home/webserver/databases/postgresql.conf" No such file or directory.
My database folder is in boot/home. Should this be moved?