From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Michael Nolan <htfoot(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: initdb failing (10.4 centos7) |
Date: | 2018-05-19 19:15:07 |
Message-ID: | 6c034453-bc77-a261-635e-e605c3574ea3@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 05/19/2018 12:10 PM, Michael Nolan 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.
Did you follow the below?:
https://www.postgresql.org/download/linux/redhat/
"
For RHEL / CentOS / SL / OL 7 or Fedora 27 and later derived distributions:
postgresql-setup initdb
systemctl enable postgresql.service
systemctl start postgresql.service
"
If you did, what user did you do it as?
> --
> Mike Nolan
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Don Seiler | 2018-05-19 19:16:59 | Re: initdb failing (10.4 centos7) |
Previous Message | Michael Nolan | 2018-05-19 19:10:29 | initdb failing (10.4 centos7) |