From: | "Poul L(dot) Christiansen" <plc(at)faroenet(dot)fo> |
---|---|
To: | William(dot)Roberts(at)revlon(dot)com |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Dumb Newbie Question |
Date: | 2000-08-17 22:29:25 |
Message-ID: | 399C6744.F28E20B3@faroenet.fo |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Here is a snippet of my init script in /etc/rc.d/init.d (I'm running RedHat 6.2)
PGDATA=/var/lib/pgsql/data
su -l postgres -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster -o '-B 3072
-i' start >/dev/null 2>&1"
Are you sure you are using: "postmaster -D/usr/lib/pgsql/data -i" ? There is a
missing space between -D and /usr/lib/pgsql/data
William(dot)Roberts(at)revlon(dot)com wrote:
> I installed Postgres 6.5 from RPM on Mandrake 6.0. After moving the files
> around, I finally got initdb to work. Now, for the life of me I can't seem to
> get Postmaster to startup. I am trying to start it as user Postgres with the
> following command:
>
> postmaster -D/usr/lib/pgsql/data -i
>
> >From the documentation that should work. When I try to execute that it gives a
> blank line on the terminal screen and sets there forever. The task list says
> Postmaster is running, but the terminal is locked unless I do a control z. And
> I can't connect to it from another terminal.
>
> Any thoughts.
>
> Thanks.
>
> Bill
>
> ******************************************************************
> This message is intended only for the use of the Addressee and may contain
> information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended
> recipient, you are hereby notified that any dissemination of this communication
> is strictly prohibited. If you have received this communication in error, please
> erase all copies of the message and its attachments and notify us immediately.
> Thank You.
From | Date | Subject | |
---|---|---|---|
Next Message | Eduardo Kotujansky | 2000-08-17 22:44:40 | C++ - libpq-fe.h and QT |
Previous Message | William.Roberts | 2000-08-17 21:22:43 | Dumb Newbie Question |