Subject Redhat 7.1 install of Firebird SS Stalled
Author J M Craig
Hi Folks,

After way too many adjustments, retries, and tweaks, I'm still getting
variations on "gethostbyname failed" errors whenever I try to run server
or client.

I've followed (as best I could) all the directions I could find on how to
do the install for Redhat 7.1. Including:

1. Updating glibc (did I miss a step here because I relied on having
done an update earlier in the week via the Update Agent which definitely
included glibc?).

2. Getting the old libncurses and installing it (I now have
libncurses.so.4 in /usr/lib). This isn't quite what's recommended at
this link--which mentions libncurses.so.3:
http://www.interbase2000.org/doc_zamana.htm
But, I used the same RPM file referred to on this link:
http://sourceforge.net/docman/display_doc.php?docid=2155&group_id=9028
(The file I used was ncurses4-5.0-2.i386.rpm--I couldn't find a version
3 anywhere.)

3. Trying all kinds of various content in /etc/hosts.equiv
The clearest explanation of what to add is from the sourceforge docman
link above which gives this rather clear explanation:

echo localhost.localdomain >>/etc/hosts.equiv

(The only thing I'm not clear on is if "localhost" and "localdomain" are
supposed to stand for the actual host's name and so on--I tried it both
ways; neither worked for me.)

When I attempt to connect to a DB, I just get this:

Unable to complete network request to host "localhost".
-Failed to establish a connection.
-Connection refused

Here's a sample session trying to start ibmgr:

[root@blacky interbase]# ibmgr -start
check $INTERBASE/interbase.log file for errors
can not start server
[root@blacky interbase]# cat interbase.log
blacky.localdomain (Client) Thu Nov 1 12:28:58 2001
INET/inet_error: connect errno = 111
blacky.localdomain (Client) Thu Nov 1 12:28:58 2001
/opt/interbase/bin/ibguard: guardian starting bin/ibserver
blacky.localdomain (Server) Thu Nov 1 12:28:58 2001
INET/INET_connect: gethostbyname failed, error code = 1
blacky.localdomain (Client) Thu Nov 1 12:28:58 2001
/opt/interbase/bin/ibguard: bin/ibserver terminated due to
startup error (2)
blacky.localdomain (Client) Thu Nov 1 12:28:58 2001
/opt/interbase/bin/ibguard: bin/ibserver terminated due to
startup error (2)
[root@blacky interbase]#

My /etc/hosts.equiv file currently contains:
localhost.localdomain

I've tried:
localhost
(apparently suggested by the doc_zamana.htm link--point #4)

127.0.0.1 blacky localhost.localdomain localhost
(copy of the "localhost" entry from /etc/hosts)

Various other permutations involving the name of the host "blacky"
and so on.

Anyone have any suggestions? (If I can't get this working soon, my boss
is going to be unhappy that I chose Linux for the server....)

Thanks,

John