lsclusters claims clusters are not running, when they are under systemd
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | postgresql-common (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
$ pg_lsclusters
Ver Cluster Port Status Owner Data directory Log file
9.4 main 5432 down postgres /var/lib/
9.4 xnox 5433 down postgres /var/lib/
yet
$ sudo systemctl list-units 'postgresql*'
UNIT LOAD ACTIVE SUB DESCRIPTION
postgresql.service loaded active exited PostgreSQL RDBMS
postgresql@
postgresql@
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: postgresql-common 166bzr1
ProcVersionSign
Uname: Linux 3.18.0-9-generic x86_64
ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Feb 23 02:57:52 2015
InstallationDate: Installed on 2013-08-29 (542 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130829)
PackageArchitec
SourcePackage: postgresql-common
UpgradeStatus: Upgraded to vivid on 2014-11-16 (98 days ago)
| Scott Moser (smoser) wrote : | #2 |
| Martin Pitt (pitti) wrote : | #3 |
That is indeed strange. Yesterday I fixed two bugs (bug 1429734 and https:/
Otherwise, are these clusters *really* running? Check with "ps aux|grep post"? Can you please give me the output of "systemctl status -l postgresql@
| Changed in postgresql-common (Ubuntu): | |
| status: | New → Incomplete |
| Scott Moser (smoser) wrote : | #4 |
fix-released
$ apt-cache policy postgresql
postgresql:
Installed: (none)
Candidate: 9.4+166bzr2
Version table:
9.4+166bzr2 0
500 http://
$ cat /$ cat /proc/cmdline
BOOT_IMAGE=
$ sudo apt-get install -qy postgresql
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libpq5 postgresql-9.4 postgresql-
postgresql-common ssl-cert
Suggested packages:
postgresql-doc oidentd ident-server locales-all postgresql-doc-9.4 openssl-blacklist
The following NEW packages will be installed:
libpq5 postgresql postgresql-9.4 postgresql-
postgresql-common ssl-cert
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,929 kB of archives.
After this operation, 16.3 MB of additional disk space will be used.
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Fetched 3,929 kB in 0s (30.7 MB/s)
Preconfiguring packages ...
Selecting previously unselected package libpq5:amd64.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 79484 files and directories currently installed.)
Preparing to unpack .../libpq5_
Unpacking libpq5:amd64 (9.4.1-1) ...
Selecting previously unselected package postgresql-
Preparing to unpack .../postgresql-
Unpacking postgresql-
Selecting previously unselected package postgresql-
Preparing to unpack .../postgresql-
Unpacking postgresql-
Selecting previously unselected package ssl-cert.
Preparing to unpack .../ssl-
Unpacking ssl-cert (1.0.35) ...
Selecting previously unselected package postgresql-common.
Preparing to unpack .../postgresql-
...
| Changed in postgresql-common (Ubuntu): | |
| status: | Incomplete → Fix Released |


would appear to cause fallout of bug 1430025 also.