From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Perrin - Demography <aperrin@demog.Berkeley.EDU>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] postmaster does not start up
Date: Tue, 12 Dec 2000 12:47:13 -0500
Message-ID: <2205.976643233@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.SUN.4.10.10012050937520.22579-100000@davis.DEMOG.Berkeley.EDU>
References: <Pine.SUN.4.10.10012050937520.22579-100000@davis.DEMOG.Berkeley.EDU>
Andrew Perrin - Demography <aperrin@demog.Berkeley.EDU> writes:
> Greetings - this is with a newly-compiled 7.0.3 under debian 2.2 on a
> pentium box. All compiling went just fine; however, although the
> postmaster is running based on ps, it can't be accessed. Any ideas will be
> much appreciated.
> postgres@nujoma:~$ /usr/local/pgsql/bin/pg_ctl start
> postgres@nujoma:~$ psql
> Connection to database 'template1' failed.
> connectDB() -- connect() failed: Connection refused
> Is the postmaster running at 'localhost' and accepting connections on Unix
> socket '5432'?
Hmm. Where are you invoking psql from, and is it the same one you
compiled yourself?
ISTR that the Debian RPMs use a nonstandard location of the pgsql Unix
socket file, which means that an RPM psql will NOT talk to a standard
compilation of the postmaster, nor vice versa.
I've complained about that packaging choice in the past ;-)
regards, tom lane
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: tgl@sss.pgh.pa.us, aperrin@demog.Berkeley.EDU, pgsql-general@postgresql.org
Subject: Re: [GENERAL] postmaster does not start up
In-Reply-To: <2205.976643233@sss.pgh.pa.us>
References: <Pine.SUN.4.10.10012050937520.22579-100000@davis.DEMOG.Berkeley.EDU> <2205.976643233@sss.pgh.pa.us>
* 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