Remote Server Connection Problem
Remote Server Connection Problem
От:
Gokop Goteng <goteng1704@yahoo.com>
Дата:
Dear All,
Please how can I add a remote server in my pgAdmin. I can add local servers in my cluster which runs Globus 4 toolkit using PostgreSQL version 7.4. I am using pgAdmin3 v1.2.2. I get this error when i was trying to add a new remote server:
An error has occured:
Error connecting to the server: FATAL: no pg_hba.conf entry for host "138.250.104.229", user "globus", database "rftDatabase", SSL off
138.250.104.229 is the IP for the local server, 138.250.104.232 is the IP of the remote server, but is not showing it in the error.
Please any help is appreciated
Regards
Gokop
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.
Re: Remote Server Connection Problem
От:
rod@iol.ie
Дата:
goteng1704@yahoo.com wrote: > Error connecting to the server: FATAL: no pg_hba.conf entry > for host "138.250.104.229", user "globus", database > "rftDatabase", SSL off > > 138.250.104.229 is the IP for the local server, 138.250.104.232 > is the IP of the remote server, but is not showing it in the > error. There's your problem - you need to give 138.250.104.229 permission to connect to the remote server by adding a suitable entry to pg_hba.conf - look up "Client authentication" in the PostgreSQL docs. Ray. http://www.iol.ie
Re: Remote Server Connection Problem
От:
Gokop Goteng <goteng1704@yahoo.com>
Дата:
Hi Ray,
Thanks for your help. I forgot to tell you that I have done that. See below the hosts I put in pg_hba.conf file:
host rftDatabase "globus" "138.250.104.229" 255.255.255.255 md5
host rftDatabase "globus" "138.250.104.225" 255.255.255.255 md5
host rftDatabase "globus" "138.250.104.226" 255.255.255.255 md5
host rftDatabase "globus" "138.250.104.227" 255.255.255.255 md5
host rftDatabase "globus" "138.250.104.228" 255.255.255.255 md5
host rftDatabase "globus" "138.250.104.230" 255.255.255.255 md5
host rftDatabase "globus" "138.250.104.231" 255.255.255.255 md5
host rftDatabase "globus" "138.250.104.232" 255.255.255.255 md5
I have also put all host in the /etc/hosts.allow file. I have read the client authentication of PostgreSQL. I am using port 5432 (default) for postgres to connect. It works fine for local servers but not for remote servers.
Any help is highly appreciated.
Kind regards
Gokop
rod@iol.ie wrote:goteng1704@yahoo.com wrote:
> Error connecting to the server: FATAL: no pg_hba.conf entry
> for host "138.250.104.229", user "globus", database
> "rftDatabase", SSL off
>
> 138.250.104.229 is the IP for the local server, 138.250.104.232
> is the IP of the remote server, but is not showing it in the
> error.
There's your problem - you need to give 138.250.104.229 permission to
connect to the remote server by adding a suitable entry to pg_hba.conf -
look up "Client authentication" in the PostgreSQL docs.
Ray.
http://www.iol.ie
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.
Re: Remote Server Connection Problem
От:
Gokop Goteng <goteng1704@yahoo.com>
Дата:
Hi Ray,
Thanks very much. It has worked. I restarted the headnode and tried to connect and create new servers and it works just fine.
Thanks again
Gokop
rod@iol.ie wrote:goteng1704@yahoo.com wrote:
> Error connecting to the server: FATAL: no pg_hba.conf entry
> for host "138.250.104.229", user "globus", database
> "rftDatabase", SSL off
>
> 138.250.104.229 is the IP for the local server, 138.250.104.232
> is the IP of the remote server, but is not showing it in the
> error.
There's your problem - you need to give 138.250.104.229 permission to
connect to the remote server by adding a suitable entry to pg_hba.conf -
look up "Client authentication" in the PostgreSQL docs.
Ray.
http://www.iol.ie
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.