Re: initdb failing (10.4 centos7)

From: Don Seiler <don(at)seiler(dot)us>
To: Michael Nolan <htfoot(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: initdb failing (10.4 centos7)
Date: 2018-05-19 19:16:59
Message-ID: CAHJZqBCfVpBkJdy-E-b+hYXhm2Bt2HpONknWUOM=LmpWM-4DdA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, May 19, 2018 at 2:10 PM, Michael Nolan <htfoot(at)gmail(dot)com> wrote:

> initdb is failing on Centos 7 with 10.4 because the install procedure does
> not change the ownership of the /usr/local/pgsql directory to postgres.
>
> Changing the ownership fixes the problem, but the install procedure should
> do this.
>

Are you using the PGDG repo packages, or the default CentOS repo packages?
You should use PGDG and those should install under /var/lib/pgsql.

Don.
--
Don Seiler
www.seiler.us

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Arta S 2018-05-19 20:13:50 Fwd: postgresql is down in whm status page
Previous Message Adrian Klaver 2018-05-19 19:15:07 Re: initdb failing (10.4 centos7)