[Pkg-postgresql-public] Bug#757612: [postgresql] Postqresql don't start on boot with systemd
Aeris
aeris at imirhil.fr
Sat Aug 9 19:41:15 UTC 2014
Package: postgresql
Version: 9.4+159
Severity: normal
--- Please enter the report below this line. ---
Hi,
Since 9.3 to 9.4 upgrade, postgresql don't start on boot with systemd.
# journalctl -u postgresql
-- Logs begin at sam. 2014-08-09 21:26:01 CEST, end at sam. 2014-08-09
21:33:52 CEST. --
# netstat -altpn | grep 5432
Postgresql start correctly if start by hand
# systemctl start postgresql.service
# journalctl -u postgresql
-- Logs begin at sam. 2014-08-09 21:37:19 CEST, end at sam. 2014-08-09
21:39:06 CEST. --
août 09 21:39:06 test systemd[1]: Starting PostgreSQL RDBMS...
août 09 21:39:06 test systemd[1]: Started PostgreSQL RDBMS.
# netstat -altpn | grep 5432
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN
841/postgres
tcp6 0 0 ::1:5432 :::* LISTEN
841/postgres
Removing or renaming /lib/systemd/system/postgresql.service resolve the
problem.
# journalctl -u postgresql
-- Logs begin at sam. 2014-08-09 21:35:09 CEST, end at sam. 2014-08-09
21:36:15 CEST. --
août 09 21:35:12 test systemd[1]: Starting LSB: PostgreSQL RDBMS server...
août 09 21:35:17 test postgresql[396]: Starting PostgreSQL 9.4 database
server: main.
août 09 21:35:17 test systemd[1]: Started LSB: PostgreSQL RDBMS server.
# netstat -altpn | grep 5432
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN
395/postgres
tcp6 0 0 ::1:5432 :::* LISTEN
395/postgres
Regards,
--- System information. ---
Architecture: amd64
Kernel: Linux 3.14-2-amd64
Debian Release: jessie/sid
990 testing www.deb-multimedia.org
990 testing security.debian.org
990 testing cdn.debian.net
500 testing-updates cdn.debian.net
500 stable-updates cdn.debian.net
500 stable www.deb-multimedia.org
500 stable toolbelt.heroku.com
500 stable security.debian.org
500 stable cdn.debian.net
500 stable apt.spideroak.com
102 unstable cdn.debian.net
101 experimental cdn.debian.net
--- Package information. ---
Depends (Version) | Installed
=============================-+-===========
postgresql-9.4 | 9.4~beta2-1
systemd | 208-6
systemd-sysv | 208-6
Package's Recommends field is empty.
Suggests (Version) | Installed
=============================-+-===========
postgresql-doc |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20140809/b708e8c2/attachment.sig>
More information about the Pkg-postgresql-public
mailing list