Re: Found incorrect output in pg_lsclusters

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Pash Ebash <ep4sh2k(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Found incorrect output in pg_lsclusters
Date: 2018-07-31 19:40:29
Message-ID: 20180731194029.GB2791@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Jun 26, 2018 at 02:07:42PM +0300, Pash Ebash wrote:
> postgres(at)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(at)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(at)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(at)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!

'pg_lsclusters' is not a program the Postgres community maintains. I
think it is from Debian and/or Ubuntu --- I would report it to them.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Geoghegan 2018-08-01 01:48:23 Re: could not read block 0 in file : read only 0 of 8192 bytes when doing nasty on immutable index function
Previous Message Tom Lane 2018-07-31 18:33:34 Re: BUG #15306: Use pkg-config for searching libxml2 header