On 4/21/2017 12:00 PM, Adrian Klaver wrote:
Apr 21 04:01:48 localhost postgresql96-check-db-dir: cat:
/var/lib/pgsql/9.6/data//PG_VERSION: Permissão negada

So you got a permissions error when the script was trying to read PG_VERSION.

The suspicious part is this:
/var/lib/pgsql/9.6/data//PG_VERSION

in particular the //

Is that really the case?


unix/linux seems quite happy to ignore extra /'s ...

# ls -l /var/lib/pgsql/9.3/data//PG_VERSION
-rw-------. 1 postgres postgres 4 May 22 2014 /var/lib/pgsql/9.3/data//PG_VERSION


--
john r pierce, recycling bits in santa cruz

Reply via email to