From: | "Tom Brown" <tbrown(at)hwwe(dot)com> |
---|---|
To: | "pgsql-novice list" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: Postmaster hangs until Ctrl-C |
Date: | 2001-04-05 19:50:35 |
Message-ID: | 000b01c0be0c$5a87ad20$b900a8c0@Michelle |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
I was certain that I had already taken care of the proper environmental
variables (PGLIB, PGDATA) and that I should be able to start postmaster in
the foreground or background. But I tried your suggestion anyway. By
starting postmaster in the background it revealed an error I hadn't
considered -- postmaster couldn't find PGDATA in spite of the correct
.bash_profile.
I checked the current $PATH variable and found that it didn't include
/home/postgres/bin. I had logged in as tbrown and su'd to postgres which
kept /home/tbrown/bin in the path as $HOME. I exited and logged in again as
postgres. Then postmaster worked. The $HOME and $PATH environmental
variables were /home/postgres/bin and /usr/loca/pgsql/data as expected.
Thanks for the reply. It helped.
Tom
----- Original Message -----
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tom Brown <tbrown(at)hwwe(dot)com>
Cc: pgsql-novice list <pgsql-novice(at)postgresql(dot)org>
Sent: Thursday, April 05, 2001 11:09 AM
Subject: Re: [NOVICE] Postmaster hangs until Ctrl-C
> "Tom Brown" <tbrown(at)hwwe(dot)com> writes:
> > When I run postmaster, the system hangs until I Ctrl-C.
>
> Sounds like you're just saying
> postmaster
> and not doing anything to put the process into the background. See
> http://www.postgresql.org/devel-corner/docs/postgres/postmaster-start.html
>
> regards, tom lane
>
From | Date | Subject | |
---|---|---|---|
Next Message | Brian T. Allen | 2001-04-05 19:53:40 | Re: Database Name Case Sensitivity |
Previous Message | Hector Miranda | 2001-04-05 19:25:34 | Problem with large tables |