← Back to team overview

desktop-packages team mailing list archive

[Bug 1424509] Re: lsclusters claims clusters are not running, when they are under systemd

 

That is indeed strange. Yesterday I fixed two bugs (bug 1429734 and
https://launchpad.net/ubuntu/+source/postgresql-common/166bzr2) which
both caused the 9.4-main cluster to not start after package
installation. To make sure it's not that, can you re-try with latest
vivid? (p-common should land within the hour now, it was stuck in
-proposed for a while).

Otherwise, are these clusters *really* running? Check with "ps aux|grep
post"? Can you please give me the output of "systemctl status -l
postgresql@9.4-main.service", and "ls -la /var/run/postgresql/"?

** Changed in: postgresql-common (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to postgresql-common in Ubuntu.
https://bugs.launchpad.net/bugs/1424509

Title:
  lsclusters claims clusters are not running, when they are under
  systemd

Status in postgresql-common package in Ubuntu:
  Incomplete

Bug description:
  $ pg_lsclusters 
  Ver Cluster Port Status Owner    Data directory               Log file
  9.4 main    5432 down   postgres /var/lib/postgresql/9.4/main /var/log/postgresql/postgresql-9.4-main.log
  9.4 xnox    5433 down   postgres /var/lib/postgresql/9.4/xnox /var/log/postgresql/postgresql-9.4-xnox.log

  yet

  $ sudo systemctl list-units 'postgresql*'
  UNIT                        LOAD   ACTIVE SUB     DESCRIPTION
  postgresql.service          loaded active exited  PostgreSQL RDBMS
  postgresql@9.4-main.service loaded active running PostgreSQL Cluster 9.4-main
  postgresql@9.4-xnox.service loaded active running PostgreSQL Cluster 9.4-xnox

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: postgresql-common 166bzr1
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  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)
  PackageArchitecture: all
  SourcePackage: postgresql-common
  UpgradeStatus: Upgraded to vivid on 2014-11-16 (98 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgresql-common/+bug/1424509/+subscriptions


References