Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WKUU3-000691-1v for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Mar 2014 15:08:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WKUU2-0003aS-F2 for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Mar 2014 15:08:46 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WKUU1-0003aM-RG for pgsql-bugs@postgresql.org; Mon, 03 Mar 2014 15:08:45 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WKUTz-0008A6-Ck for pgsql-bugs@postgresql.org; Mon, 03 Mar 2014 15:08:45 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s23F8gqw007217; Mon, 3 Mar 2014 10:08:42 -0500 From: Tom Lane To: pboake@gmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #9416: Setting up postgresql-9.1 (9.1.12-0wheezy1) Fails Configuration In-reply-to: <20140303032442.1916.18413@wrigleys.postgresql.org> References: <20140303032442.1916.18413@wrigleys.postgresql.org> Comments: In-reply-to pboake@gmail.com message dated "Mon, 03 Mar 2014 03:24:42 +0000" Date: Mon, 03 Mar 2014 10:08:42 -0500 Message-ID: <7216.1393859322@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org pboake@gmail.com writes: > apt-get upgrade returns; > Setting up postgresql-9.1 (9.1.12-0wheezy1) ... > [....] Starting PostgreSQL 9.1 database server: main[....] The PostgreSQL > server failed to start. Please check the log output: 2014-03-02 22:13:28 EST > LOG: could not bind IPv4 socket: Cannot assign requested address 2014-03-02 > 22:13:28 EST HINT: Is another postmaster already running on port 5432? If > not, wait a few seconds and retry. 2014-03-02 22:13:28 EST LOG: could not > bind IPv6 socket: Cannot assign requested address 2014-03-02 22:13:28 EST > HINT: Is another postmaster already running on port 5432? If not, wait a few > seconds and retry. 2014-03-02 22:1[FAILEST WARNING: could not create listen > socket for "localhost" 2014-03-02 22:13:28 EST FATAL: could not create any > TCP/IP sockets ... failed! > failed! > invoke-rc.d: initscript postgresql, action "start" failed. What that looks like is that the package's upgrade script forgot to stop the old postmaster version before trying to start the new one; or perhaps slightly more likely, failed to wait for the old postmaster to finish stopping. Either way, that would be a bug in the packaging, which you should take up with the Debian package maintainer, not with the upstream project. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs