Re: [GENERAL] Recover PostgreSQL database folder data - Mailing list pgsql-general

From Adrian Klaver
Subject Re: [GENERAL] Recover PostgreSQL database folder data
Date
Msg-id 92d98d6d-a3ba-ae5b-0f45-fe14ab793501@aklaver.com
Whole thread Raw
In response to Re: [GENERAL] Recover PostgreSQL database folder data  (Edson Lidorio <edson@openmailbox.org>)
List pgsql-general
On 04/21/2017 02:13 PM, Edson Lidorio wrote:
>
>
> On 21-04-2017 18:02, Adrian Klaver wrote:
>> Chown -R postgres: postgres /var/lib/pgsql/9.6/data
> After the command, I have the errors:

What does the directory listing for /var/lib/pgsql/9.6/data  show?
>
> Apr 21 18:11:41 localhost postgresql96-check-db-dir:
> "/var/lib/pgsql/9.6/data/" is missing or empty.
> Apr 21 18:11:41 localhost postgresql96-check-db-dir: Use
> "/usr/pgsql-9.6/bin/postgresql96-setup initdb" to initialize the
> database cluster.
> Apr 21 18:11:41 localhost postgresql96-check-db-dir: See
> /usr/share/doc/postgresql96/README.rpm-dist for more information.
> Apr 21 18:11:41 localhost systemd: postgresql-9.6.service: control
> process exited, code=exited status=1
> Apr 21 18:11:41 localhost systemd: Failed to start PostgreSQL 9.6
> database server.
> Apr 21 18:11:41 localhost systemd: Unit postgresql-9.6.service entered
> failed state.
> Apr 21 18:11:41 localhost systemd: postgresql-9.6.service failed.
>
>
>


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Edson Lidorio
Date:
Subject: Re: [GENERAL] Recover PostgreSQL database folder data
Next
From: John R Pierce
Date:
Subject: Re: [GENERAL] Recover PostgreSQL database folder data