Subject Re: [firebird-support] Firebird on Linux
Author Helen Borrie
At 02:11 AM 14/03/2006, you wrote:
>I am trying to get firebird classic server running on my gentoo box.
>I get the following firebird.log :
>
>rr4linux Sun Mar 12 21:56:42 2006
> INET/inet_error: connect errno = 111
>
>rr4linux Sun Mar 12 22:12:30 2006
> INET/inet_error: connect errno = 111
>
>rr4linux Sun Mar 12 22:12:32 2006
> INET/inet_error: connect errno = 111
>
>It seems to run okay as embedded.

That's a direct connect to the database as the local user (doesn't use xinetd).

>I have added localhost to hosts.equiv
>I have tried to use the tutorial at :
>http://sxs.thexdershome.com/internet_serving/firebird102.html but it
>has not helped.
>
>Any one familiar with firebird on linux? This has got me puzzled as I
>get the same errors on my ubuntu box.

Do you have a conflicting entry for localhost in /etc/hosts? e.g.
some distros include

127.0.0.1 localhost.localdomain

In one default installation (I think it might have been Ubuntu,
actually!) the hosts file had localhost associated to the IP address
of the host machine!

Since I'm not using any domains in the network, I change all my hosts
files so it's just

127.0.0.1 localhost

Or you could try just replacing the hostname with the localhost IP address.


>my xinetd.d/firebird file is:
>
># default: on
># description: FirebirdSQL server
>#
># Be careful when commenting out entries in this file.
># Active entry should be first as some scripts
># (CSchangeRunUser.sh in particular) use sed scripting
># to modify it.
>service gds_db
>{
> flags = REUSE
> socket_type = stream
> wait = no
> user = firebird
># These lines cause problems with Windows XP SP2 clients
># using default firewall configuration (SF#1065511)
># log_on_success += USERID
># log_on_failure += USERID
> server = /opt/firebird/bin/fb_inet_server
> disable = no
>}

Can you ping localhost?

Do also check that
-- xinetd is actually running (ps -aux | grep xi*)
-- port 3050 is not firewalled

./heLen