From: Tomasz Myrta <jasiek@klaster.net>
To: dailiming <ldai@accunettech.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: How to configure two netcard for PostgreSQL?
Date: Mon, 31 Mar 2003 08:30:28 +0200
Message-ID: <3E87E084.8070302@klaster.net> (raw)
In-Reply-To: <00b901c2f730$5e9996d0$1f00a8c0@accunettech.com>
References: <Pine.LNX.4.44.0303281446470.2204-100000@peter.localdomain>
<009e01c2f720$febdc920$1f00a8c0@accunettech.com>
<13583.1049076928@sss.pgh.pa.us>
<00b901c2f730$5e9996d0$1f00a8c0@accunettech.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: jasiek@klaster.net, ldai@accunettech.com
Subject: Re: How to configure two netcard for PostgreSQL?
In-Reply-To: <3E87E084.8070302@klaster.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox