Re: Still lockin up... - Mailing list pgsql-novice

From Rasputin
Subject Re: Still lockin up...
Date
Msg-id 20010129093906.B37022@dogma.freebsd-uk.eu.org
Whole thread Raw
In response to Re: Still lockin up...  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
* Tom Lane <tgl@sss.pgh.pa.us> [010127 19:57]:
> Herbie Pabst <herbie@nextearth.com> writes:
> > Thank you for replying. I now have gotten as far as doing "initdb" and
> > have a template1 in "base" directory. Now when I run Postmaster it asks
> > for a data path, I use "-D" option and supply the path and run
> > postmaster but if locks up the computer and pgsql never starts.

Show us the whole command line.
> It's hardly likely that it "locks up the computer".

To be fair, Tom , I've had similar problems on some platforms
where the /etc/rc.d initscripts are b0rken, and the
" su - pgsql " line has been messed up so that it execs into
a postmaster shell.

If this is the case, the system will hang on bootup, because init
expects these scripts to return (whic hwon't happen unitl after
postmaster exits).

Herbie, if you are running postgres from the command line, stop it :)
If not , tell us where you got it and what script you're running.

> Are you typing
> "postmaster" in a shell window and expecting the command to terminate?
> It won't, nor will it automatically launch a psql for you.  The
> postmaster is just a daemon that you are supposed to start up as a
> background process.  See the admin guide, eg
> http://www.postgresql.org/devel-corner/docs/postgres/postmaster-start.htm
> (note that these docs are for 7.1, but they mostly apply to the 7.0
> version that I suppose you are running).
>
>             regards, tom lane

--
Rasputin
Jack of All Trades :: Master of Nuns

pgsql-novice by date:

Previous
From: Rasputin
Date:
Subject: Re: When replication?
Next
From: Laurent GALAIS
Date:
Subject: cannot connect to database