Error On Slony Replication

Started by Prashant Bharuchaover 14 years ago5 messagesgeneral
Jump to latest
#1Prashant Bharucha
prashantbharucha@yahoo.ca

Hello All

For replication ,Created cluster and after I run Slon command

 getting error on

PQconnectdb("dbname=XYZ host= user=cls password=11111) failed - could not translate host name

Could you please help ?

Thx
Prashant

#2Brandon Phelps
bphelps@gls.com
In reply to: Prashant Bharucha (#1)
Re: Error On Slony Replication

Why do you have host= without a hostname? Where is your closing "?

Brandon Phelps
Global Linking Solutions
O: (704) 973-6855
C: (704) 222-2103
E: bphelps@gls.com

Show quoted text

On 11/02/2011 02:34 PM, Prashant Bharucha wrote:

Hello All

For replication ,Created cluster and after I run Slon command

getting error on

PQconnectdb("dbname=XYZ host= user=cls password=11111) failed - could
not translate host name

Could you please help ?

Thx
Prashant

In reply to: Prashant Bharucha (#1)
Re: Error On Slony Replication

On 02/11/2011 18:34, Prashant Bharucha wrote:

Hello All

For replication ,Created cluster and after I run Slon command

getting error on

PQconnectdb("dbname=XYZ host= user=cls password=11111) failed - could
not translate host name

The host is missing from the above.

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

#4Scott Mead
scottm@openscg.com
In reply to: Raymond O'Donnell (#3)
Re: Error On Slony Replication

On Wed, Nov 2, 2011 at 2:55 PM, Raymond O'Donnell <rod@iol.ie> wrote:

On 02/11/2011 18:34, Prashant Bharucha wrote:

Hello All

For replication ,Created cluster and after I run Slon command

getting error on

PQconnectdb("dbname=XYZ host= user=cls password=11111) failed - could
not translate host name

If you want to connect to an instance on the local machine with unix
sockets, don't include the host=

--
Scott Mead
OpenSCG http://www.openscg.com

Show quoted text

The host is missing from the above.

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#5Prashant Bharucha
prashantbharucha@yahoo.ca
In reply to: Raymond O'Donnell (#3)
Re: Error On Slony Replication

But Host Address should take automatically,

same thing is working good on other machine.

--- On Wed, 11/2/11, Raymond O'Donnell <rod@iol.ie> wrote:

From: Raymond O'Donnell <rod@iol.ie>
Subject: Re: [GENERAL] Error On Slony Replication
To: "Prashant Bharucha" <prashantbharucha@yahoo.ca>
Cc: pgsql-general@postgresql.org
Received: Wednesday, November 2, 2011, 2:55 PM

On 02/11/2011 18:34, Prashant Bharucha wrote:

Hello All

For replication ,Created cluster and after I run Slon command

  getting error on

PQconnectdb("dbname=XYZ host= user=cls password=11111) failed - could
not translate host name

The host is missing from the above.

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general