From: | Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #12992: Failure to start: too many private dirs demanded |
Date: | 2015-04-07 19:50:41 |
Message-ID: | 55243511.8080105@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On 04/07/15 20:23, Tom Lane wrote:
> Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2015-04-07 21:01:08 | Re: BUG #12991: RESTART IDENTITY is not doing anything |
Previous Message | Antoine Goutenoir | 2015-04-07 19:06:46 | Re: BUG #12991: RESTART IDENTITY is not doing anything |