Re: How to configure two netcard for PostgreSQL?

From: Tomasz Myrta <jasiek(at)klaster(dot)net>
To: dailiming <ldai(at)accunettech(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: How to configure two netcard for PostgreSQL?
Date: 2003-03-31 06:30:28
Message-ID: 3E87E084.8070302@klaster.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message cio198 2003-03-31 10:47:04 create view with numeric data
Previous Message Rajesh Kumar Mallah 2003-03-31 05:38:48 Re: Off topic : world database