X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 6AE4B9DCA61 for ; Wed, 21 Dec 2005 16:11:20 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 09378-10 for ; Wed, 21 Dec 2005 16:11:20 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from koolancexeon.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by postgresql.org (Postfix) with ESMTP id 30C469DCA7C for ; Wed, 21 Dec 2005 16:11:17 -0400 (AST) Received: mail.g2switchworks.com 10.10.1.8 from 10.10.1.37 10.10.1.37 via HTTP with MS-WebStorage 6.5.6944 Received: from state.g2switchworks.com by mail.g2switchworks.com; 21 Dec 2005 14:11:18 -0600 Subject: Re: Help Me ! From: Scott Marlowe To: "Jim C. Nasby" Cc: zhuge xiao , pgsql-admin@postgresql.org In-Reply-To: <20051221200258.GF72143@pervasive.com> References: <43A7D28C.8040504@Rinaix.cn> <20051221200258.GF72143@pervasive.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1135195878.18741.28.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Wed, 21 Dec 2005 14:11:18 -0600 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.028 required=5 tests=[AWL=0.027, UNPARSEABLE_RELAY=0.001] X-Spam-Score: 0.028 X-Spam-Level: X-Archive-Number: 200512/251 X-Sequence-Number: 19971 On Wed, 2005-12-21 at 14:02, Jim C. Nasby wrote: > On Tue, Dec 20, 2005 at 05:44:44PM +0800, zhuge xiao wrote: > > Is the server running locally and accepting connections on Unix domain > > socket "/tmp/.s.PGSQL.5432"? > > So what are the permissions on /tmp/.s.PGSQL.5432? Can apache write to > it? > > Actually, I think apache normally chroot's to ServerRoot (httpd.conf) > when it starts. So you probably need to create a symlink from > /tmp/.s.PGSQL.5432 to "ServerRoot"/tmp. My apache doesn't do this, and it's a pretty straight forward source compile of whatever the latest version of the 2.x branch was late this last summer. However, I could see SELinux getting in the way.