Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 04C2D9FB2D6 for ; Tue, 12 Jun 2007 01:22:34 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 50623-01 for ; Tue, 12 Jun 2007 01:22:20 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from a2s5.a2hosting.com (a2s5.a2hosting.com [209.124.50.10]) by postgresql.org (Postfix) with ESMTP id 1D96D9FB2A0 for ; Tue, 12 Jun 2007 01:22:29 -0300 (ADT) Received: from adsl-153-125-165.tys.bellsouth.net ([70.153.125.165] helo=[192.168.1.12]) by a2s5.a2hosting.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1Hxxtk-0000Y3-3p; Tue, 12 Jun 2007 00:22:28 -0400 In-Reply-To: <466e15e3.22d.2225.519007444@ihug.co.nz> References: <466e15e3.22d.2225.519007444@ihug.co.nz> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3B24E600-9887-4674-A8B4-EC4BC196644D@pgedit.com> Cc: Content-Transfer-Encoding: 7bit From: John DeSoi Subject: Re: problems installing postgresql 8.0 on Mac OS Date: Tue, 12 Jun 2007 00:22:24 -0400 To: Joe Barwell X-Mailer: Apple Mail (2.752.3) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2s5.a2hosting.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - pgedit.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/98 X-Sequence-Number: 25766 On Jun 11, 2007, at 11:41 PM, Joe Barwell wrote: > OK, it installed fine, restarted fine, but postgres does not > appear in Activity > Monitor. I can't use Creat User in the Client tools (or any > other tool). It says: > > Database connection failed: > could not connect to server: Connection refused > Is the server running on host "localhost" and accepting > TCP/IP connections on port 5432? See if there is an error message in the console log (/Applications/ Utilities/Console). The startup command was: su -m postgres -c '/Library/PostgreSQL8/bin/pg_ctl start -D /Library/ PostgreSQL8/data -l /Library/PostgreSQL8/log/PostgreSQL8.log -o -i' Is there a valid cluster created in /Library/PostgreSQL8/data? You should also be able find what went wrong by looking in the PostgreSQL log file which is the path specified by -l above. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL