Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B9033475AE4 for ; Mon, 23 Dec 2002 02:03:27 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 26A8A475A71 for ; Mon, 23 Dec 2002 02:03:27 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id gBN73Rd0029701; Mon, 23 Dec 2002 02:03:27 -0500 (EST) To: Justin Georgeson Cc: pgsql-admin@postgresql.org Subject: Re: StreamServer Port : bind() failed : How to solve this In-reply-to: <3E06928B.1080804@unboundtech.com> References: <000a01c1cbec$c124cf60$1201a8c0@a4005> <3E06928B.1080804@unboundtech.com> Comments: In-reply-to Justin Georgeson message dated "Sun, 22 Dec 2002 22:35:23 -0600" Date: Mon, 23 Dec 2002 02:03:26 -0500 Message-ID: <29700.1040627006@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/258 X-Sequence-Number: 6753 Justin Georgeson writes: > I'm not sure what you mean you're doing when you say you stop it with > ctrl-c, but you can use the pg_ctl utility, or `service postgresql stop` > to stop it. Then you should be able to start with the command you > listed, although you probably want to use pg_ctl or `service postgresql > start` instead. > shreedhar wrote: >> i am getting following error message. >> StreamServer Port : bind() failed : Address already in use. >> is another postmaster already running on port 5432 >> If not, wait a few seonds, and retry I'm also wondering whether shreedhar has followed the advice given in the error message: wait a bit and try again to start the postmaster. On some Unixen it's impossible to reassign a particular listening port number until the previous owner has been dead awhile (where "awhile" is usually measured in "a few minutes"). regards, tom lane