| From: | Mark Campbell <mark(dot)campbell(at)ucs-software(dot)co(dot)za> |
|---|---|
| To: | sam karush <sk418(at)rivah(dot)net> |
| Cc: | pgsql-novice(at)postgresql(dot)org |
| Subject: | Re: PG on zeta 1.0 |
| Date: | 2006-05-23 11:05:00 |
| Message-ID: | 4472EC5C.6090807@ucs-software.co.za |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
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?
| From | Date | Subject | |
|---|---|---|---|
| Next Message | boxi | 2006-05-23 22:19:24 | What is PostgreSQL 8.0 ?? |
| Previous Message | sam karush | 2006-05-23 10:40:22 | Re: PG on zeta 1.0 |