Re: How to configure two netcard for PostgreSQL? - Mailing list pgsql-sql

From Tomasz Myrta
Subject Re: How to configure two netcard for PostgreSQL?
Date
Msg-id 3E87E084.8070302@klaster.net
Whole thread Raw
In response to Re: How to configure two netcard for PostgreSQL?  ("dailiming" <ldai@accunettech.com>)
List pgsql-sql
Uz.ytkownik dailiming napisa?:
> I try again. 
> F.E:
> First,I modified the pg_hba.conf cfg file.
> 
> host all 192.168.0.10 255.255.255.0 trust
> host all 192.168.1.10 255.255.255.0 trust
> 
> Second, I used "/etc/rc.d/init.d/postgresql" to stopping the postmaster.
> Finally, I restart the postmaster by "/usr/bin/postmaster -i -S -D /var/lib/pgsql/lib/data".
> 
> When I telnet 192.168.0.10 to connect database,I have the same results as before.
> 
> "psql -h 192.168.0.10 coredb  " is failed.
> "psql -h 192.168.1.10 coredb "  is successed.
> 
> Why the first is failed?


I have postgres 7.3. I tested your case on ip-alias on only one netcard
and it works fine.
Maybe you have some routing problems? Can you ping both netcards?

Regards,
Tomasz Myrta



pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to configure two netcard for PostgreSQL?
Next
From: Rajesh Kumar Mallah
Date:
Subject: Re: Off topic : world database