Subject | Re: [firebird-support] Firebird on Linux |
---|---|
Author | Helen Borrie |
Post date | 2006-03-13T22:02:56Z |
At 02:11 AM 14/03/2006, you wrote:
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.
Do also check that
-- xinetd is actually running (ps -aux | grep xi*)
-- port 3050 is not firewalled
./heLen
>I am trying to get firebird classic server running on my gentoo box.That's a direct connect to the database as the local user (doesn't use xinetd).
>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.
>I have added localhost to hosts.equivDo you have a conflicting entry for localhost in /etc/hosts? e.g.
>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.
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:Can you ping localhost?
>
># 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
>}
Do also check that
-- xinetd is actually running (ps -aux | grep xi*)
-- port 3050 is not firewalled
./heLen