Re: BUG #12992: Failure to start: too many private dirs demanded

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: BUG #12992: Failure to start: too many private dirs demanded
Дата
Msg-id 55243511.8080105@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: BUG #12992: Failure to start: too many private dirs demanded  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On 04/07/15 20:23, Tom Lane wrote:
> Tomas Vondra <tomas.vondra@2ndquadrant.com> writes:
>>   From what I see this looks like a simple permission issue, when the
>> postmaster can't access the data directory for some reason. Why exactly
>> that happened, I don't know - it might be a plain chmod, SELinux or
>> whatever.
>
> I'm suspicious that the submitter tried to "strace postmaster"
> without first becoming the postgres user

I don't think so - the lines at the very end say this:

write(2, "postmaster cannot access the ser"..., 121postmaster cannot
access the server configuration file

so it seems to suggest that (1) the strace attached to the process
succesfully, and (2) the 'postmaster' process can't read the config.


> and also didn't bother to examine the strace output very closely to
> see if it had anything to do with his original problem.

Perhaps. It's certainly difficult to analyze the strace log without any
further clues on what's wrong.


--
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: PQexec() hangs on OOM
Следующее
От: Antoine Goutenoir
Дата:
Сообщение: Re: BUG #12991: RESTART IDENTITY is not doing anything