Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YfZWP-0004JK-CL for pgsql-bugs@arkaria.postgresql.org; Tue, 07 Apr 2015 19:50:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YfZWO-00080x-LH for pgsql-bugs@arkaria.postgresql.org; Tue, 07 Apr 2015 19:50:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YfZWN-00080p-Mi for pgsql-bugs@postgresql.org; Tue, 07 Apr 2015 19:50:51 +0000 Received: from mail-wi0-f180.google.com ([209.85.212.180]) by magus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YfZWI-0003T4-Vs for pgsql-bugs@postgresql.org; Tue, 07 Apr 2015 19:50:50 +0000 Received: by wiun10 with SMTP id n10so32029372wiu.1 for ; Tue, 07 Apr 2015 12:50:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=hhYc+si4v0+QkWETGTQjkYyD8gKlsLP+EILekVnBKgU=; b=g66CT8HdlBHTV5c/z3VpT+4zkY1rN6tKLL0vutgUL+19WPY5Zi+Q4CRxZSahC6pQeq xis0WjmEmQLs0V1OnyhOgUhg626MmSnwZqy83OjxR2JyTgCbFF58JTJ195jrqtiZ28qn jBZOTKFKT1cw19EGrLTcYtq3mye/lP0ktorSl0bw8wh+20NZ/pnxgSrXJzZbNxuqNW8l LwfUvhY/Fw5hI9cIPzeK7rfekCudsHxecV+6nnVEGFHOB4JFx1ax7KOxzTXTkXJQ/iKz dzEzZdRoaXXiG42HmLRNpTtwDKptgyNFTQZ8EpZqVl6vSTMXv1IaYpKNKPDJFeiP8K8E ihUQ== X-Gm-Message-State: ALoCoQl9jbFX51CZCNrQFTETJrraiaJc8qel98Lan9FQKkGxp2RM3mjXPnPoBjNihXmxtg5TFhq5NGNEULHzB2/9CGlNHOOtm3HKWGo1Df/LHwGGGYVExv04khtUfSS0Ws0x4SR18Q7JfbPnyHzZ89oA/84JLBVjzdHNqV3L5Cn3mD657U/Tzmm8ZCZMUjCkBBbw9lJZMvqI X-Received: by 10.180.104.137 with SMTP id ge9mr7762767wib.24.1428436244867; Tue, 07 Apr 2015 12:50:44 -0700 (PDT) Received: from [10.137.2.12] (ip-78-45-139-138.net.upcbroadband.cz. [78.45.139.138]) by mx.google.com with ESMTPSA id dg8sm6441589wjc.9.2015.04.07.12.50.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Apr 2015 12:50:44 -0700 (PDT) Message-ID: <55243511.8080105@2ndquadrant.com> Date: Tue, 07 Apr 2015 21:50:41 +0200 From: Tomas Vondra User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Tom Lane CC: pgsql-bugs@postgresql.org Subject: Re: BUG #12992: Failure to start: too many private dirs demanded References: <20150407164403.26381.36364@wrigleys.postgresql.org> <55241C2B.1010805@2ndquadrant.com> <26608.1428431004@sss.pgh.pa.us> In-Reply-To: <26608.1428431004@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 04/07/15 20:23, Tom Lane wrote: > Tomas Vondra 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