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

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: BUG #16416: unable to start the server with pg_CTL
Дата
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>)
Список pgsql-bugs
> On 5 May 2020, at 08:28, PG Bug reporting form <noreply@postgresql.org> 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
Дата:
Сообщение: BUG #16417: Unable to connect to server
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #16329: Valgrind detects an invalid read when building a gist index with buffering