From: | markos <el96645(at)mail(dot)ntua(dot)gr> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: psql: could not connect to server: Network is |
Date: | 2006-01-05 01:26:58 |
Message-ID: | 1136424419.10198.11.camel@localhost |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Wed, 2006-01-04 at 12:51 -0500, Tom Lane wrote:
> markos <el96645(at)mail(dot)ntua(dot)gr> 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
Thanks a lot. You were actually right, the network was down. I just had
to give the command : "sudo ifup lo". I just couldn't narrow my search
until you made sure that postgre is ok, so thanks again
From | Date | Subject | |
---|---|---|---|
Next Message | Tomaz Borstnar | 2006-01-05 05:43:09 | Re: full data disk -- any chance of recovery |
Previous Message | Snoof | 2006-01-05 00:10:20 | Re: New install - can't access pgsql |