Package: postgresql-common
Version: 198
Severity: normal

I recently noticed that I had several PostgreSQL version installed in
parallel (9.5, 9.6, 10 and 11). Therefore I looked up the upgrade path
and upraded from 9.5 to 11. This went fine, thanks for the smooth
procedure.

I then removed the unneeded version 9.6 and 10 (I intend to remove 9.5
later). Now at every boot I see
[FAILED] Failed to start PostgreSQL Cluster 10-main.
See 'systemctl status [email protected]' for details.

• [email protected] - PostgreSQL Cluster 10-main
   Loaded: loaded (/lib/systemd/system/[email protected]; enabled-runtime; 
vendor preset: enabled)
   Active: failed (Result: protocol) since Wed 2019-01-09 10:40:30 CET; 4min 
49s ago
  Process: 603 ExecStart=/usr/bin/pg_ctlcluster --skip-systemctl-redirect 
10-main start (code=exited, status=1/FAILURE)

Jan 09 10:40:29 samd systemd[1]: Starting PostgreSQL Cluster 10-main...
Jan 09 10:40:29 samd postgresql@10-main[603]: Error:   start -D 
/var/lib/postgresql/10/main -l /var/log/postgresql/postgresql-10-main.log -s -o 
 -c config_file="/etc/postgresql/10/main/postgresql.conf"  exited with status 1:
Jan 09 10:40:29 samd postgresql@10-main[603]: Can't exec "": Datei oder 
Verzeichnis nicht gefunden at /usr/bin/pg_ctlcluster line 211.
Jan 09 10:40:29 samd postgresql@10-main[603]: Error: could not exec   start -D 
/var/lib/postgresql/10/main -l /var/log/postgresql/postgresql-10-main.log -s -o 
 -c config_file="/etc/postgresql/10/main/postgresql.conf" : No such file or 
direcJan 09 10:40:29 samd systemd[1]: [email protected]: Can't open 
PID file /run/postgresql/10-main.pid (yet?) after start: No such file or 
directory
Jan 09 10:40:29 samd systemd[1]: [email protected]: Failed with result 
'protocol'.
Jan 09 10:40:30 samd systemd[1]: Failed to start PostgreSQL Cluster 10-main.

(Datei oder Verzeichnis nicht gefunden → File or directory not found)

Somehow the package system noticed that 9.6 no longer needs to be
started, but failed to do this for version 10. 


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.13samd.01 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages postgresql-common depends on:
ii  adduser                   3.118
ii  debconf [debconf-2.0]     1.5.69
ii  lsb-base                  10.2018112800
ii  postgresql-client-common  198
ii  procps                    2:3.3.15-2
ii  ssl-cert                  1.0.39
ii  ucf                       3.0038+nmu1

Versions of packages postgresql-common recommends:
ii  e2fsprogs  1.44.5-1
ii  logrotate  3.14.0-4

Versions of packages postgresql-common suggests:
pn  libjson-perl  <none>

-- debconf information:
  postgresql-common/catversion-bump:
* postgresql-common/ssl: true
* postgresql-common/obsolete-major:
-- 
      Dr. Helge Kreutzmann                     [email protected]
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to