Found incorrect output in pg_lsclusters
От | Pash Ebash |
---|---|
Тема | Found incorrect output in pg_lsclusters |
Дата | |
Msg-id | CA+noMCDiSXaESZMSkpUs+9s+71+h5mQKwM51d1ULF1rkpx9sLg@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: Found incorrect output in pg_lsclusters
|
Список | 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"
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 по дате отправления: