Re: Issue: Creating Symlink for data directory of postgresql in CentOS7

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, "Chatterjee, Shibayan" <shibayan(dot)chatterjee(at)centurylink(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Issue: Creating Symlink for data directory of postgresql in CentOS7
Date: 2019-07-13 19:02:56
Message-ID: e3922841-d703-60a1-54f9-cc3756bfa7d7@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/13/19 4:30 AM, Laurenz Albe wrote:
> On Fri, 2019-07-12 at 18:08 +0000, Chatterjee, Shibayan wrote:
>>> Jul 12 10:00:51 postgresql-check-db-dir: "/data/postgresql/data" is missing or empty.
>>> Jul 12 10:00:51 postgresql-check-db-dir: Use "postgresql-setup initdb" to initialize the database cluster.
>>> Jul 12 10:00:51 postgresql-check-db-dir: See /usr/share/doc/postgresql-9.2.24/README.rpm-dist for more information.
>>
>> For sure there's all the necessary files in '/data/postgresql/data'.
>> The startup process cannot read it, because of sym link.
>
> Well, where is the source for this fabled "postgresql-check-db-dir"?

https://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob;f=rpm/redhat/9.2/postgresql/EL-7/postgresql92-check-db-dir;h=550b31770cabacf32cbb1b8f272e8ce305fc9908;hb=HEAD

>
> Yours,
> Laurenz Albe
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2019-07-14 15:05:27 Re: Issue: Creating Symlink for data directory of postgresql in CentOS7
Previous Message Wayne Mell 2019-07-13 17:21:05 Re: Postgresql and VBA - Connection Timeout