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 5052A9DC84C for ; Wed, 21 Dec 2005 16:02:59 -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 09550-05 for ; Wed, 21 Dec 2005 16:02:59 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from flake.decibel.org (unknown [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id CFE1B9DC84B for ; Wed, 21 Dec 2005 16:02:56 -0400 (AST) Received: by flake.decibel.org (Postfix, from userid 1001) id 3DC2939834; Wed, 21 Dec 2005 14:02:58 -0600 (CST) Date: Wed, 21 Dec 2005 14:02:58 -0600 From: "Jim C. Nasby" To: zhuge xiao Cc: pgsql-admin@postgresql.org Subject: Re: Help Me ! Message-ID: <20051221200258.GF72143@pervasive.com> References: <43A7D28C.8040504@Rinaix.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43A7D28C.8040504@Rinaix.cn> X-Operating-System: FreeBSD 6.0-RELEASE amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.046 required=5 tests=[AWL=0.046] X-Spam-Score: 0.046 X-Spam-Level: X-Archive-Number: 200512/250 X-Sequence-Number: 19970 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. -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461