Unix Technical Forum

Re: PG on zeta 1.0

This is a discussion on Re: PG on zeta 1.0 within the pgsql Novice forums, part of the PostgreSQL category; --> >On my Sco-Openserver Unix machine, I need to start the postmaster like this >nohup pg_ctl -o -i start & ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Novice

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 09:53 PM
sam karush
 
Posts: n/a
Default Re: PG on zeta 1.0

>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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 09:53 PM
Mark Campbell
 
Posts: n/a
Default Re: PG on zeta 1.0

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?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:40 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com