From: Tim Boring <tboring@insight.rr.com>
To: pgsql-admin@postgresql.org
Subject: PGACCESS: error trying to connect...
Date: Tue, 8 May 2001 10:09:08 -0400
Message-ID: <01050810214300.28213@tim> (raw)
I've successfully installed pgsql 7.0.3 on my SuSE 7.0 system and can create
dbs, users, etc. from the psql terminal. However, if I want to try to use
pgaccess it gives me the following error message:
"Connection to database failed PQconnectPoll() -- connect() failed:
Connection refused. Is the postmaster running (with -i) at 'localhost' and
accepting connections on TCP/IP port 5432'?"
So I shutdown the postmaster and tried restarting like this:
postmaster -D -i /var/lib/pgsql/data > logfile 2>&1 &
but it doesn't start the postmaster. If I leave off the -i it will start, but
then I'm back to square one as far as using pgaccess.
Out of curiousity, since I'm trying to use pgaccess on the localhost, shouldn't
it just use regular Linux sockets and not try to connect via TCP/IP? It seems
odd that I can connect to the server from the psql terminal without setting the
-i option on the postmaster but not from pgaccess.
Any ideas.
Thanks,
Tim
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: tboring@insight.rr.com
Subject: Re: PGACCESS: error trying to connect...
In-Reply-To: <01050810214300.28213@tim>
References: <01050810214300.28213@tim>
* 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