cluster creation fails if localhost is not resolvable

Bug #71460 reported by Brian Bishop
82
This bug affects 5 people
Affects Status Importance Assigned to Milestone
postgresql-8.1 (Debian)
Fix Released
Unknown
postgresql-8.1 (Ubuntu)
Won't Fix
Low
Unassigned
postgresql-8.3 (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: postgresql-8.1

When carrying out a new install of postgres-8.1 on new install of Edgy on a Dell d400, received above error.

More info as follows:
invoke-rc.d: initscript postgresql-8.1, action "start" failed.
dpkg: error processing postgresql-8.1 (--configure):
 subprocess post-installation script returned error exit status 1

Revision history for this message
Brian Bishop (bishopbr) wrote :

Issue similar to Debian Bug#393945:

Will try suggested change to /etc/hosts

Revision history for this message
Brian Bishop (bishopbr) wrote :

Looks good, added localhost to first line of /etc/hosts, e.g.

127.0.0.1 www.mydomain.com localhost

Revision history for this message
Martin Pitt (pitti) wrote :

Wontfix for now, since it is nontrivial to fix and not being able to resolve 'localhost' is really a corner case and will lead to other trouble as well, anyway.

Changed in postgresql-8.1:
importance: Undecided → Low
status: Unconfirmed → Confirmed
Changed in postgresql-8.1:
status: Unknown → Unconfirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Closing the 8.1 task, Feisty only supports 8.2 and we won't fix this in stables.

Changed in postgresql-8.2:
importance: Undecided → Low
status: Unconfirmed → Confirmed
Changed in postgresql-8.1:
status: Confirmed → Rejected
Changed in postgresql-8.1:
status: New → Confirmed
Martin Pitt (pitti)
Changed in postgresql-8.1:
status: Invalid → Won't Fix
Revision history for this message
Ladislav Prskavec (abtris) wrote :

My solution was modify /var/lib/postgresql/8.3/data/postgresql.conf

Set listen_addresses in postgresql.conf to *.
listen_addresses = '*' # what IP address(es) to listen on;

Martin Pitt (pitti)
Changed in postgresql-8.3 (Ubuntu):
status: Confirmed → Triaged
Changed in postgresql-8.1 (Debian):
status: Confirmed → Won't Fix
Changed in postgresql-8.1 (Debian):
status: Won't Fix → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.