From: Michael Holopainen <michael@laserle.fi>
To: postgres <pgsql-admin@postgreSQL.org>
Subject: Postgers stops accepting local connections ;
Date: Tue, 22 Feb 2000 09:32:47 +0200
Message-ID: <38B23B9F.DCD13637@laserle.fi> (raw)
When I log into postgres host as postgres su and try to connect to DB
(i.e. psql)
I get the infamous error message:
"
Unable to connect to PostgresSQL server: connectDB() -- connect()
failed: Connection refused
Is the postmaster running at 'localhost' and accepting connections on
Unix socket '5432'?
"
The strange thing is :
-It DID work little time ago and nothing has been done to it.
-(windows) Clients CAN still connect to the DB without any problems !!
???
-I am running it logged to linux as "postgres" su.
-the postmaster is running.
-the postmaster was started "su - postgres ..." and the port is 5432
- If I restart postgres then it will work for a while, but after a while
it stops working, without any apparent reason.
It has done the same thing few times now.
Any suggestions ?
I'm new to both linux & postgres so any help is greatly appreciated.
-michael (A)
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: michael@laserle.fi
Subject: Re: Postgers stops accepting local connections ;
In-Reply-To: <38B23B9F.DCD13637@laserle.fi>
References: <38B23B9F.DCD13637@laserle.fi>
* 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