Stéphane Pétrot spetrot
Wed May 31 08:56:18 PDT 2006
Hi,

thanks for the answers. In fact, the problem was due to the firewall :
after changing the IP address of my slave server, I had not reloaded
the firewall. And the firewall script keep the old value of IP.

Thank you.
St?phane







2006/5/31, Matthew Whittaker-Williams <m.whittaker-williams at iu.nl>:
> On Wednesday 31 May 2006 17:03, St?phane P?trot wrote:
> > Hi,
> >
> > the demon slon is running on my slave server, but it can't connect to
> > the master server. I got the log error :
> >
> > CEST ERROR  slon_connectdb: PQconnectdb("host=master dbname=my_db
> > user=postgres port=5432") failed - could not connect to server:
> >         Is the server running on host "master" and accepting
> >         TCP/IP connections on port 5432?
> >
> > It was well working before I change the IP of the slave (no more the
> > same network but a remote one). The firewall is OK to receive
> > connection on port 5432.
> > So what's happened?
> >
> > Thanks
> > St?phane
> > _______________________________________________
> > Slony1-general mailing list
> > Slony1-general at gborg.postgresql.org
> > http://gborg.postgresql.org/mailman/listinfo/slony1-general
>
>
> Is the new ip of the slave listed in the pg_hba.conf on the master?
> If not, change that and it should work again.
>
> Kind regards
>
> Matthew
> --
> Unix system & Network Engineer
> Internet Unie Services B.V.
> Postbus 23667
> 1100 ED  AMSTERDAM
> Tel: +31(0)20 463 0506
> Fax: +31(0)20 463 2146
> Email: m.whittaker-williams at iu.nl
> URL: http://iu.nl
> PGP: 0x08A909D0
> Ripe nic-handle: MW2861-RIPE
> _______________________________________________
> Slony1-general mailing list
> Slony1-general at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/slony1-general
>



More information about the Slony1-general mailing list