pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chatterjee, Shibayan <shibayan.chatterjee@centurylink.com>
To: Luca Ferrari <fluca1978@gmail.com>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: RE: Issue: Creating Symlink for data directory of postgresql in CentOS7
Date: Fri, 12 Jul 2019 17:11:49 +0000
Message-ID: <d0820fe46f014f04874a663e75bad065@level3.com> (raw)
In-Reply-To: <CAKoxK+4+7sHnRJsjhK1KR9M=yhoXVfd2yW-uSaGWiQnDjdm=6Q@mail.gmail.com>
References: <edcbd415540549e4aa36c92e7dba0a5c@level3.com>
	<480fa09c6fba11c2b79724d3b5ffdd385822a295.camel@cybertec.at>
	<CAKoxK+4+7sHnRJsjhK1KR9M=yhoXVfd2yW-uSaGWiQnDjdm=6Q@mail.gmail.com>

Luca,
Here's what I modified the $PGDATA to:

>>> Environment=PGDATA=/data/postgresql/data


-Shibayan

-----Original Message-----
From: Luca Ferrari <fluca1978@gmail.com>
Sent: Friday, July 12, 2019 11:03 AM
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Chatterjee, Shibayan <shibayan.chatterjee@level3.com>; pgsql-general@postgresql.org
Subject: Re: Issue: Creating Symlink for data directory of postgresql in CentOS7

On Fri, Jul 12, 2019 at 4:47 PM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
> So there is some "postgresql-check-db-dir" (not part of PostgreSQL)
> that complains that there is nothing in /data/postgresql/data.  Is that accurate?
>

According to this
<https://www.postgresql.org/message-id/attachment/34217/postgresql-check-db-dir;
the script should check PGDATA does exist and contain the PG_VERSION file or complains as shown in the logs.

> It looks like you succeeded in getting the startup process to look for
> the PostgreSQL data directory in the new location, but - alas - there
> is no data directory there yet.What's the content of


What's the content of $PGDATA?

Luca


This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.


view thread (12+ messages)  latest in thread

Message-ID: <d0820fe46f014f04874a663e75bad065@level3.com>
Permalink:  ../d0820fe46f014f04874a663e75bad065@level3.com/
Also on:    postgresql.org/message-id/d0820fe46f014f04874a663e75bad065@level3.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: shibayan.chatterjee@centurylink.com, fluca1978@gmail.com, laurenz.albe@cybertec.at
  Subject: Re: Issue: Creating Symlink for data directory of postgresql in CentOS7
  In-Reply-To: <d0820fe46f014f04874a663e75bad065@level3.com>
  References: <edcbd415540549e4aa36c92e7dba0a5c@level3.com> <480fa09c6fba11c2b79724d3b5ffdd385822a295.camel@cybertec.at> <CAKoxK+4+7sHnRJsjhK1KR9M=yhoXVfd2yW-uSaGWiQnDjdm=6Q@mail.gmail.com> <d0820fe46f014f04874a663e75bad065@level3.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox