Thread: ia64 hostname lookup problem

ia64 hostname lookup problem

From
"Ed L."
Date:
I've installed both 32-bit and 64-bit executables of 7.4.5 on ia64 running
HP-UX B.11.23.  The 32-bit version works fine and accepts both local and
remote connections.  The 64-bit version, however, rejects any/all attempts
to connect with the following message:

FATAL:  no pg_hba.conf entry for host "???", user "dba", database
"template1"

These are using identical pg_hba.conf files.  Any clues?

Ed


Re: ia64 hostname lookup problem

From
Tom Lane
Date:
"Ed L." <pgsql@bluepolka.net> writes:
> I've installed both 32-bit and 64-bit executables of 7.4.5 on ia64 running
> HP-UX B.11.23.  The 32-bit version works fine and accepts both local and
> remote connections.  The 64-bit version, however, rejects any/all attempts
> to connect with the following message:
> FATAL:  no pg_hba.conf entry for host "???", user "dba", database
> "template1"

It worked for me last time I tested on HP's testdrive machines.  How did
you build the 64-bit version *exactly* --- what configure options, what
compiler version, etc?

            regards, tom lane

Re: ia64 hostname lookup problem

From
"Ed L."
Date:
On Friday October 22 2004 5:11, Tom Lane wrote:
> "Ed L." <pgsql@bluepolka.net> writes:
> > I've installed both 32-bit and 64-bit executables of 7.4.5 on ia64
> > running HP-UX B.11.23.  The 32-bit version works fine and accepts both
> > local and remote connections.  The 64-bit version, however, rejects
> > any/all attempts to connect with the following message:
> > FATAL:  no pg_hba.conf entry for host "???", user "dba", database
> > "template1"
>
> It worked for me last time I tested on HP's testdrive machines.  How did
> you build the 64-bit version *exactly* --- what configure options, what
> compiler version, etc?

I'd misapplied a patch.  It works now.  Here's exactly what I did:

1)  export CC=gcc CFLAGS="-O2 -mlp64" LDFLAGS=-mlp64

2)  Applied attached patch.

3)  ./configure --without-readline --without-zlib \
    --prefix=/opt/pgsql/postgresql-7.4.5-64bit


Attachment