[Pkg-postgresql-public] Bug#724573: postgresql: postgresql init could not create IPv4 socket. permission denied

John Proios john at snigel.gr
Wed Sep 25 05:49:14 UTC 2013


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

Dear Maintainer,
after install postgresql with apt-get have one error :

PostgreSQL 9.1 database server: mainThe PostgreSQL server failed to start. Please check the log output: 2013-09-25 07:30:57 EEST LOG: could not create IPv6 socket: permission denied
 2013-09-25 07:30:57 EEST LOG: could not create IPv4 socket: permission denied 2013-09-25 07:30
:57 EEST WARNING: could not create listen socket for "localhost" 2013-09-25 07:30:57 EEST FATAL
: could not create any TCP/IP sockets ... failed!

run server with debug : 
/usr/lib/postgresql/9.1/bin/postgres -d 3 --config-file=/etc/postgresql/9.1/main/postgresql.conf

have this :
2013-09-25 05:46:11 GMT DEBUG:  postgres: PostmasterMain: initial environment dump:
2013-09-25 05:46:11 GMT DEBUG:  -----------------------------------------
2013-09-25 05:46:11 GMT DEBUG:          SHELL=/bin/bash
2013-09-25 05:46:11 GMT DEBUG:          TERM=screen
2013-09-25 05:46:11 GMT DEBUG:          XDG_SESSION_COOKIE=93b40e375bb1a9f054986b2b000004dd-1380085423.923787-851719110
2013-09-25 05:46:11 GMT DEBUG:          USER=postgres
2013-09-25 05:46:11 GMT DEBUG:          MAIL=/var/mail/postgres
2013-09-25 05:46:11 GMT DEBUG:          PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
2013-09-25 05:46:11 GMT DEBUG:          LC_MESSAGES=el_GR.UTF-8
2013-09-25 05:46:11 GMT DEBUG:          PWD=/var/lib/postgresql
2013-09-25 05:46:11 GMT DEBUG:          LANG=en_GB.UTF-8
2013-09-25 05:46:11 GMT DEBUG:          SHLVL=1
2013-09-25 05:46:11 GMT DEBUG:          HOME=/var/lib/postgresql
2013-09-25 05:46:11 GMT DEBUG:          LOGNAME=postgres
2013-09-25 05:46:11 GMT DEBUG:          _=/usr/lib/postgresql/9.1/bin/postgres
2013-09-25 05:46:11 GMT DEBUG:          PGLOCALEDIR=/usr/share/locale
2013-09-25 05:46:11 GMT DEBUG:          PGSYSCONFDIR=/etc/postgresql-common
2013-09-25 05:46:11 GMT DEBUG:          LC_COLLATE=en_GB.UTF-8
2013-09-25 05:46:11 GMT DEBUG:          LC_CTYPE=en_GB.UTF-8
2013-09-25 05:46:11 GMT DEBUG:          LC_MONETARY=C
2013-09-25 05:46:11 GMT DEBUG:          LC_NUMERIC=C
2013-09-25 05:46:11 GMT DEBUG:          LC_TIME=C
2013-09-25 05:46:11 GMT DEBUG:  -----------------------------------------
2013-09-25 08:46:13 EEST LOG:  could not create IPv4 socket: permission denied
2013-09-25 08:46:13 EEST WARNING:  could not create listen socket for "127.0.0.1"
2013-09-25 08:46:13 EEST LOG:  could not create IPv4 socket: permission denied
2013-09-25 08:46:13 EEST WARNING:  could not create listen socket for "192.168.1.98"
2013-09-25 08:46:13 EEST FATAL:  could not create any TCP/IP sockets
2013-09-25 08:46:13 EEST DEBUG:  shmem_exit(1): 0 callbacks to make
2013-09-25 08:46:13 EEST DEBUG:  proc_exit(1): 1 callbacks to make
2013-09-25 08:46:13 EEST DEBUG:  exit(1)
2013-09-25 08:46:13 EEST DEBUG:  shmem_exit(-1): 0 callbacks to make
2013-09-25 08:46:13 EEST DEBUG:  proc_exit(-1): 0 callbacks to make

-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armhf (armv7l)

Kernel: Linux 3.3.0+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

postgresql recommends no packages.

postgresql suggests no packages.

-- no debconf information



More information about the Pkg-postgresql-public mailing list