Re: initdb failing (10.4 centos7)

Поиск
Список
Период
Сортировка
От Michael Nolan
Тема Re: initdb failing (10.4 centos7)
Дата
Msg-id CAOzAquL_k_dvQbrvGTt63M4uPu-CmUQSpuOQK1=JzLB7VOPE1g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: initdb failing (10.4 centos7)  (Don Seiler <don@seiler.us>)
Ответы Re: initdb failing (10.4 centos7)  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general


On Sat, May 19, 2018 at 2:16 PM, Don Seiler <don@seiler.us> wrote:
On Sat, May 19, 2018 at 2:10 PM, Michael Nolan <htfoot@gmail.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

I was installing from source code, so I did a configure and a build (as postgres) and then an install (as root).
--
Mike Nolan

В списке pgsql-general по дате отправления:

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: postgres=# VACUUM FULL pg_statistic => ERROR: missing chunknumber 0 for toast value .. in pg_toast_2619
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: initdb failing (10.4 centos7)