Failed to start PostgreSQL Cluster 9.5-main
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql-9.5 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
OS Release:
taiga@16sv:~$ sudo lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
Postgre version:
taiga@16sv:~$ sudo apt-cache policy postgresql
postgresql:
Installed: 9.5+173ubuntu0.1
Candidate: 9.5+173ubuntu0.1
Version table:
*** 9.5+173ubuntu0.1 500
500 http://
500 http://
500 http://
500 http://
100 /var/lib/
9.5+173 500
500 http://
500 http://
Expected behavior:
Start properly postgresql service after installation and be able to connect to it with psql command from the postgres account.
What happened
Failed to start the service with the following error:
Jan 18 17:59:15 16sv postgresql@
Jan 18 17:59:15 16sv postgresql@
Jan 18 17:59:15 16sv postgresql@
Jan 18 17:59:15 16sv postgresql@
Jan 18 17:59:15 16sv systemd[1]: postgresql@
Jan 18 17:59:15 16sv systemd[1]: Failed to start PostgreSQL Cluster 9.5-main.
-- Subject: Unit postgresql@
-- Defined-By: systemd
-- Support: http://
--
-- Unit postgresql@
--
-- The result is failed.
Jan 18 17:59:15 16sv systemd[1]: postgresql@
Jan 18 17:59:15 16sv systemd[1]: postgresql@
Jan 18 17:59:15 16sv sudo[19642]: pam_unix(
Jan 18 17:59:21 16sv sudo[19656]: taiga : TTY=pts/0 ; PWD=/home/taiga ; USER=root ; COMMAND=
Jan 18 17:59:21 16sv sudo[19656]: pam_unix(
FIX:
line 90 of configuration file "/etc/postgresq
False alarm, I messed up... Sorry guys!