Received: from mail.clinet.fi (mail.clinet.fi [194.100.0.7]) by hub.org (8.9.3/8.9.3) with ESMTP id DAA41420 for ; Tue, 22 Feb 2000 03:04:14 -0500 (EST) (envelope-from michael@laserle.fi) Received: from rottis.laserle.fi ([194.100.20.23]) by mail.clinet.fi (8.9.3/8.9.3) with ESMTP id KAA24477 for ; Tue, 22 Feb 2000 10:04:04 +0200 Received: from laserle.fi (michael [192.168.1.25]) by rottis.laserle.fi (8.9.3/8.9.3) with ESMTP id JAA12193 for ; Tue, 22 Feb 2000 09:35:20 +0200 Message-ID: <38B23B9F.DCD13637@laserle.fi> Date: Tue, 22 Feb 2000 09:32:47 +0200 From: Michael Holopainen X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: postgres Subject: Postgers stops accepting local connections ; Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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)