Re: BUG #16416: unable to start the server with pg_CTL

Поиск
Список
Период
Сортировка
Искать
От
Daniel Gustafsson
Тема
Re: BUG #16416: unable to start the server with pg_CTL
Дата
в 08:37:50
Msg-id
233F6064-C54A-497C-8419-BA4EDE8A406F@yesql.se
Ответ на
Список
Дерево обсуждения
BUG #16416: unable to start the server with pg_CTL PG Bug reporting form <noreply@postgresql.org>
Re: BUG #16416: unable to start the server with pg_CTL Daniel Gustafsson <daniel@yesql.se>
Re: BUG #16416: unable to start the server with pg_CTL Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
> On 5 May 2020, at 08:28, PG Bug reporting form  wrote:

> Any suggestions here will be really helpful- thanks.

The error is quite likely to be the one pg_ctl tells you:

> pg_ctl start -D /Library/PostgreSQL/12/data waiting for server to
> start....2020-05-05 11:40:04.838 IST [1216] FATAL: data directory
> "/Library/PostgreSQL/12/data" has wrong ownership 2020-05-05 11:40:04.838
> IST [1216] HINT: The server must be started by the user that owns the data
> directory. stopped waiting pg_ctl: could not start server Examine the log
> output.

The permissions are probably still not quite right for the user with which you
are trying to start the server.

If you initdb a fresh database you can inspect the permissions being set there
as a point of reference.

cheers ./daniel

В списке pgsql-bugs по дате отправления
От: PG Bug reporting form
Дата:
От: Tom Lane
Дата:
FAQ