pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John DeSoi <desoi@pgedit.com>
To: Joe Barwell <jbar@es.co.nz>
Cc: pgsql-admin@postgresql.org
Subject: Re: problems installing postgresql 8.0 on Mac OS
Date: Tue, 12 Jun 2007 00:22:24 -0400
Message-ID: <3B24E600-9887-4674-A8B4-EC4BC196644D@pgedit.com> (raw)
In-Reply-To: <466e15e3.22d.2225.519007444@ihug.co.nz>
References: <466e15e3.22d.2225.519007444@ihug.co.nz>


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




view thread (9+ messages)

Message-ID: <3B24E600-9887-4674-A8B4-EC4BC196644D@pgedit.com>
Permalink:  ../3B24E600-9887-4674-A8B4-EC4BC196644D@pgedit.com/
Also on:    postgresql.org/message-id/3B24E600-9887-4674-A8B4-EC4BC196644D@pgedit.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-admin@postgresql.org
  Cc: desoi@pgedit.com, jbar@es.co.nz
  Subject: Re: problems installing postgresql 8.0 on Mac OS
  In-Reply-To: <3B24E600-9887-4674-A8B4-EC4BC196644D@pgedit.com>
  References: <466e15e3.22d.2225.519007444@ihug.co.nz> <3B24E600-9887-4674-A8B4-EC4BC196644D@pgedit.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