ia64 hostname lookup problem

Started by Ed L.over 21 years ago3 messagesgeneral
Jump to latest
#1Ed L.
pgsql@bluepolka.net

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Ed L. (#1)
Re: ia64 hostname lookup problem

"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

#3Ed L.
pgsql@bluepolka.net
In reply to: Tom Lane (#2)
Re: ia64 hostname lookup problem

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

Attachments:

ia64-B.11.23-7.4.5.difftext/x-diff; charset=utf-8; name=ia64-B.11.23-7.4.5.diffDownload+39-15