pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Vaneet Sharma <vaneet@iwg.info>
Cc: pgsql-admin@postgresql.org
Subject: Re: Client Authentication problem
Date: Wed, 27 Apr 2005 12:13:14 -0500
Message-ID: <1114621994.13303.1310.camel@state.g2switchworks.com> (raw)
In-Reply-To: <C099215398503A4AA100AEDF1A5E802F01F193FD@mlt-mail>
References: <C099215398503A4AA100AEDF1A5E802F01F193FD@mlt-mail>

On Wed, 2005-04-27 at 11:43, Vaneet Sharma wrote:
> Hello,
> 
> I am using postgreSQL 8.0.2
> 
> I configured the database, started postmaster. It is running well. I
> can check and see it with ps anx command.
> 
> I am running postgreSQL on centos 3.4 and Centos 4.0 machines
> 
> Well, I created a database called test as well by command line on
> secure CRT
> 
> Now the problem is that:
> When I try to connect to my server using pgAdminIII, it is giving me
> the following error :
> 
> "Error connecting to the server: could not connect to the server: No
> route to host ( 0X00002751/10065).
> Is the server running on host 212.xx.xxx.xxx and accepting TCP/IP
> connections on port 5432?  "
> 
> 
> I have read pg_hba file and also included the IP entry of my machine
> from which I am connecting
> Entry Is below:
> 
> host    all         all         192.168.50.122         255.255.255.0  
> trust

This sounds like a networking problem right now.

I note that the IP you're trying to connect to has a 212.xxx.xxx.xxx
while the host you're connecting from needs to be 192.168.xxx.xxx. 
Since 192.168 is generally not routed around a lot, I'm guessing you've
got a dns  / etc/hosts issue but can't really be sure.

what does 'traceroute dbhostname' say?



view thread (5+ messages)  latest in thread

Message-ID: <1114621994.13303.1310.camel@state.g2switchworks.com>
Permalink:  ../1114621994.13303.1310.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1114621994.13303.1310.camel@state.g2switchworks.com

 · 

reply

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: smarlowe@g2switchworks.com, vaneet@iwg.info
  Subject: Re: Client Authentication problem
  In-Reply-To: <1114621994.13303.1310.camel@state.g2switchworks.com>
  References: <C099215398503A4AA100AEDF1A5E802F01F193FD@mlt-mail> <1114621994.13303.1310.camel@state.g2switchworks.com>

* 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