Re: problems installing postgresql 8.0 on Mac OS

From: John DeSoi <desoi(at)pgedit(dot)com>
To: Joe Barwell <jbar(at)es(dot)co(dot)nz>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: problems installing postgresql 8.0 on Mac OS
Date: 2007-06-12 04:22:24
Message-ID: 3B24E600-9887-4674-A8B4-EC4BC196644D@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Thomas Markus 2007-06-12 06:31:08 Re: Sequence update function?
Previous Message Joe Barwell 2007-06-12 03:41:23 Re: problems installing postgresql 8.0 on Mac OS