pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12992: Failure to start: too many private dirs demanded
Date: Tue, 07 Apr 2015 21:50:41 +0200
Message-ID: <55243511.8080105@2ndquadrant.com> (raw)
In-Reply-To: <26608.1428431004@sss.pgh.pa.us>
References: <20150407164403.26381.36364@wrigleys.postgresql.org>
	<55241C2B.1010805@2ndquadrant.com>
	<26608.1428431004@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (4+ messages)

Message-ID: <55243511.8080105@2ndquadrant.com>
Permalink:  ../55243511.8080105@2ndquadrant.com/
Also on:    postgresql.org/message-id/55243511.8080105@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tomas.vondra@2ndquadrant.com, tgl@sss.pgh.pa.us
  Subject: Re: BUG #12992: Failure to start: too many private dirs demanded
  In-Reply-To: <55243511.8080105@2ndquadrant.com>
  References: <20150407164403.26381.36364@wrigleys.postgresql.org> <55241C2B.1010805@2ndquadrant.com> <26608.1428431004@sss.pgh.pa.us> <55243511.8080105@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox