pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pboake@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #9416: Setting up postgresql-9.1 (9.1.12-0wheezy1) Fails Configuration
Date: Mon, 03 Mar 2014 10:08:42 -0500
Message-ID: <7216.1393859322@sss.pgh.pa.us> (raw)
In-Reply-To: <20140303032442.1916.18413@wrigleys.postgresql.org>
References: <20140303032442.1916.18413@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



view thread (11+ messages)  latest in thread

Message-ID: <7216.1393859322@sss.pgh.pa.us>
Permalink:  ../7216.1393859322@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7216.1393859322@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pboake@gmail.com
  Subject: Re: BUG #9416: Setting up postgresql-9.1 (9.1.12-0wheezy1) Fails Configuration
  In-Reply-To: <7216.1393859322@sss.pgh.pa.us>
  References: <20140303032442.1916.18413@wrigleys.postgresql.org> <7216.1393859322@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox