[Pkg-postgresql-public] Bug#830485: handle pg_ctl errors better

Christoph Berg christoph.berg at credativ.de
Fri Jul 8 13:02:30 UTC 2016


Package: postgresql-common
Version: 175
Severity: normal

>From #postgresql:

08 14:55 <MatheusOl> Myon: TheWhip had an "invalid" data directory (only recovery.conf), and pg_ctlcluster show only this error:
08 14:55 <MatheusOl> * Error: could not exec /usr/lib/postgresql/9.5/bin/pg_ctl /usr/lib/postgresql/9.5/bin/pg_ctl start -D /var/lib/postgresql/9.5/main -l /var/log/postgresql/postgresql-9.5-main.log -s -o  -c config_file="/etc/postgresql/9.5/main/postgresql.conf" :
08 14:55 <MatheusOl> Calling pg_ctl by hand, we saw the *real* issue: `pg_ctl: directory "/var/lib/postgresql/9.5/main" is not a database cluster directory`

Christoph



More information about the Pkg-postgresql-public mailing list