Re: [HACKERS] Postgres 6.4.2 connection problem - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Postgres 6.4.2 connection problem
Date
Msg-id 3056.927220409@sss.pgh.pa.us
Whole thread Raw
In response to Postgres 6.4.2 connection problem  (Andy Farrell <andy_farrell@itd.sterling.com>)
List pgsql-hackers
Andy Farrell <andy_farrell@itd.sterling.com> writes:
> Connect DB(): getprotobyname failed

> Any idea what causes this error message?

Just what it says: getprotobyname() failed --- there is only one
place in libpq that can generate that message.

Now, *why* it failed is a more interesting question; that really
shouldn't happen in a machine with functioning TCP/IP support.

My guess is that this new machine is not as close to being an
identical platform as you thought, and that you need to rebuild
the Postgres libraries and binaries from source.

It's also possible that there's something wrong with the
/etc/protocols file on the new machine, but if that were the
case then very little would be working...
        regards, tom lane


pgsql-hackers by date:

Previous
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: PL installation
Next
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] Trigger - Rewrite question with 6.5beta