Found incorrect output in pg_lsclusters - Mailing list pgsql-bugs

From Pash Ebash
Subject Found incorrect output in pg_lsclusters
Date
Msg-id CA+noMCDiSXaESZMSkpUs+9s+71+h5mQKwM51d1ULF1rkpx9sLg@mail.gmail.com
Whole thread Raw
Responses Re: Found incorrect output in pg_lsclusters
List pgsql-bugs
postgres@PC:/root$ uname -a
Linux PC 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64 GNU/Linux

postgres@PC:/root$
 PostgreSQL 9.6.8 on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18) 6.3.0 20170516, 64-bit
(1 row)


postgres@PC:/root$ pg_lsclusters
Ver Cluster  Port Status Owner    Data directory            Log file
9.6 asterisk 5433 down   postgres /postgresql/data/asterisk /var/log/postgresql/postgresql-9.6-asterisk.log
9.6 db1    5432 online postgres /postgresql/data/db1    /var/log/postgresql/postgresql-9.6-db1.log

postgres@PC:/root$ pg_ctlcluster 9.6 asterisk status
could not change directory to "/root": Отказано в доступе
pg_ctl: server is running (PID: 32275)
/usr/lib/postgresql/9.6/bin/postgres "-D" "/postgresql/data/asterisk" "-c" "config_file=/etc/postgresql/9.6/asterisk/postgresql.conf"



But...Client program works well with current DB, but pg_lsclusters outputs that cluster is down.
Another cluster works well :)
Thanks for your work!

pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: BUG #15252: "do not dump comments" in pg_restore help
Next
From: "Anjul Tyagi"
Date:
Subject: Server Crash