* Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> [010127 19:57]:
> Herbie Pabst <herbie(at)nextearth(dot)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
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
> (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
Jack of All Trades :: Master of Nuns
In response to
pgsql-novice by date
|Next:||From: Laurent GALAIS||Date: 2001-01-29 12:16:29|
|Subject: cannot connect to database|
|Previous:||From: Rasputin||Date: 2001-01-29 09:34:14|
|Subject: Re: When replication?|