Received: from romana ([207.215.68.163]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6B1oka47483 for ; Tue, 10 Jul 2001 21:50:46 -0400 (EDT) (envelope-from hajhouse@houseag.com) Received: from hajhouse by romana with local (Exim 3.22 #1 (Debian)) id 15K990-0003vT-00; Tue, 10 Jul 2001 18:50:26 -0700 Date: Tue, 10 Jul 2001 18:50:25 -0700 To: Xue-Feng Yang Cc: pgsql-admin@postgresql.org Subject: Re: newbie question Message-ID: <20010710185025.A10435@houseag.com> References: <20010711002656.99933.qmail@web14604.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline In-Reply-To: <20010711002656.99933.qmail@web14604.mail.yahoo.com> User-Agent: Mutt/1.3.18i From: Henry House X-Archive-Number: 200107/37 X-Sequence-Number: 1788 --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 10, 2001 at 08:26:56PM -0400, Xue-Feng Yang wrote: > Can anyone help me on the following problem? >=20 > $psql -h localhost >=20 > psql: PQconnectPoll() -- connect() failed: Connection > refused > Is the postmaster running (with -i) at > 'localhost' > and accepting connections on TCP/IP port '5432'? 1. Is the postmaster process running? Check using 'ps'. 2. Is the postmaster not listening on TCP? Check using 'netstat -lnp'. Example of what you should see: tcp 0 0 0.0.0.0:5432 0.0.0.0:* LISTEN= 31693/postmaster=20=20=20=20 unix 0 [ ACC ] STREAM LISTENING 68763 31693/postmaster = /var/run/postgresql/.s.PGSQL.5432 --=20 Henry House OpenPGP key available from http://romana.hajhouse.org/hajhouse.asc --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7S7DhKK1cAVjXujwRAgtvAJwMfcfrPPQAohmGYJneYYaKP7CodACgp042 m0JnyJjR+lp5vnt2oN03JME= =ARm4 -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7--