From: | "Aurangzeb M(dot) Agha" <aagha(at)bigfoot(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | PostgreSQL General List <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: postmaster, but not pg_ctl -i -i |
Date: | 2002-11-14 16:32:36 |
Message-ID: | Pine.LNX.4.44.0211140830130.3388-100000@cinemaspace.berkeley.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Tom, you're right. The postmaster command specifying the port failed as
well, but I can run fine on a different port (5433).
Where can I find a list of the different options I can pass postmaster and
pg_ctl?
I looked in the reference doc but all I see there is:
-o options
Specifies options to be passed directly to postmaster.
The parameters are usually surrounded by single or double quotes to ensure that they are passed
through as a group.
I'm specifically interested in knowing how to specify the port for pg_ctl,
but would like to know what the options for the two commands is as well.
Thx,
Aurangzeb
On Thu, 14 Nov 2002, Tom Lane wrote:
:"Aurangzeb M. Agha" <aagha(at)bigfoot(dot)com> writes:
:> $ pg_ctl start -D . -o -i
:> postmaster successfully started
:> FATAL: StreamServerPort: bind() failed: Address already in use
:> Is another postmaster already running on port 5432?
:> If not, wait a few seconds and retry.
:> /usr/local/pgsql/bin/postmaster: cannot create INET stream port
:
:> BUT, if I do:
:
:> $ postmaster -D . -o -i -p 5432
:
:These are not the same command: in particular -o means completely
:different things. I expect that
:
:$ postmaster -D . -i -p 5432
:
:(which is what pg_ctl will do) will fail.
:
:You may be able to find what process is using TCP port 5432 by using
:netstat or lsof or some such tool.
:
: regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Manfred Koizar | 2002-11-14 17:15:45 | Re: Upgrade to dual processor machine? |
Previous Message | Shridhar Daithankar | 2002-11-14 15:35:28 | Re: [GENERAL] Upgrade to dual processor machine? |