[Pkg-postgresql-public] Bug#703806: postgresql: failed to start: couldn't create TCP/IP Sockets

Christian Meyer c2h5oh at web.de
Sat Mar 23 21:50:07 UTC 2013


Package: postgresql
Version: 9.1+134wheezy3
Severity: normal

Dear Maintainer,
I installed postgresql but it exited with error code 1 in synaptic:
Start-Date: 2013-03-23  21:34:46
Commandline: /usr/sbin/synaptic
Install: postgresql-9.1:amd64 (9.1.8-1, automatic), postgis:amd64 (1.5.3-2),
libproj0:amd64 (4.7.0-2, automatic), postgresql-9.1-postgis:amd64 (1.5.3-2),
libgeos-c1:amd64 (3.3.3-1.1, automatic), postgresql-common:amd64 (134wheezy3,
automatic), proj-data:amd64 (4.7.0-2, automatic), postgresql-client-9.1:amd64
(9.1.8-1, automatic), libgeos-3.3.3:amd64 (3.3.3-1.1, automatic), postgresql-
client-common:amd64 (134wheezy3, automatic)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2013-03-23  21:35:10


I tried to start it manually but failed, too:
# LANG=C /etc/init.d/postgresql start[....] Starting PostgreSQL 9.1 database
server: main[....] The PostgreSQL server failed to start. Please check the log
output: 2013-03-23 22:26:32 CET LOG: konnte IPv4-Socket nicht binden: Die
angeforderte Adresse kann nicht zugewiesen werden 2013-03-23 22:26:32 CET TIPP:
L?uft bereits ein anderer Postmaster auf Port 5432? Wenn nicht, warten Sie
einige Sekunden und versuchen Sie erneut. 2013-03-23 22:26:32 CET WARNUNG:
konnte Listen-Socket f?r >>localhost<< nicht erzeugen 201[FAIL23 22:26:32 CET
FATAL: konnte keine TCP/IP-Sockets erstellen ... failed!
 failed!

The logfile says that IPv4 Socket couldn't be bound and asks wheather an other
postmaster is running on port 5432:
2013-03-23 22:26:32 CET LOG:  konnte IPv4-Socket nicht binden: Die angeforderte
Adresse kann nicht zugewiesen werden
2013-03-23 22:26:32 CET TIPP:  L?uft bereits ein anderer Postmaster auf Port
5432? Wenn nicht, warten Sie einige Sekunden und versuchen Sie erneut.
2013-03-23 22:26:32 CET WARNUNG:  konnte Listen-Socket f?r >>localhost<< nicht
erzeugen
2013-03-23 22:26:32 CET FATAL:  konnte keine TCP/IP-Sockets erstellen


# netstat -an | grep 5432
#

Thanks for looking into it
Christian Meyer



-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages postgresql depends on:
ih  postgresql-9.1  9.1.8-1

postgresql recommends no packages.

postgresql suggests no packages.

-- no debconf information



More information about the Pkg-postgresql-public mailing list