Re: problems installing postgresql 8.0 on Mac OS - Mailing list pgsql-admin

From John DeSoi
Subject Re: problems installing postgresql 8.0 on Mac OS
Date
Msg-id 3B24E600-9887-4674-A8B4-EC4BC196644D@pgedit.com
Whole thread Raw
In response to Re: problems installing postgresql 8.0 on Mac OS  (Joe Barwell <jbar@es.co.nz>)
List 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


pgsql-admin by date:

Previous
From: Joe Barwell
Date:
Subject: Re: problems installing postgresql 8.0 on Mac OS
Next
From: Thomas Markus
Date:
Subject: Re: Sequence update function?