X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 2EE029DC942 for ; Wed, 4 Jan 2006 13:51:41 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 63636-07-2 for ; Wed, 4 Jan 2006 13:51:40 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 899DB9DC802 for ; Wed, 4 Jan 2006 13:51:38 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k04HpaXn003963; Wed, 4 Jan 2006 12:51:36 -0500 (EST) To: markos cc: pgsql-admin@postgresql.org Subject: Re: psql: could not connect to server: Network is In-reply-to: <1136396049.8613.18.camel@localhost> References: <1136376493.9304.15.camel@localhost> <5e744e3d0601040434h2853fdafvc0068beae18681c2@mail.gmail.com> <1136396049.8613.18.camel@localhost> Comments: In-reply-to markos message dated "Wed, 04 Jan 2006 19:34:09 +0200" Date: Wed, 04 Jan 2006 12:51:36 -0500 Message-ID: <3962.1136397096@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.204 required=5 tests=[AWL=-0.072, MAILTO_TO_SPAM_ADDR=0.276] X-Spam-Score: 0.204 X-Spam-Level: X-Archive-Number: 200601/55 X-Sequence-Number: 20143 markos writes: > psql -h localhost -U markulis > psql: could not connect to server: Network is unreachable > Is the server running on host "localhost" and accepting > TCP/IP connections on port 5432? Hm. "Network is unreachable" means that you have got a networking problem not a database problem. You'll probably find that simple commands like "ping localhost" don't work either. The problem could be a DNS issue --- what does "nslookup localhost" say? If it comes back with something reasonable, then you've got a kernel misconfiguration issue, which I don't think I can help you with. regards, tom lane