Subject Re: [firebird-support] Re: connect errno 111
Author Dennis McFall
Steve Wiser wrote:

>Here are some basic sanity checks that you can do:
>
>1) Check that xinetd is running (as Helen has already said): ps aux |
>grep xinetd
>
>
>
yes, it is. And this is my /etc/xinetd.conf:
------------------------
defaults {
instances=60
log_type=SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir= /etc/xinetd.d
-------------------------

>2) Check to see if Firebird is listening on port 3050: netstat -an |
>grep 3050
>
>
>
no, it is not

>if not then make sure that your firebird file in /etc/xinetd.d is
>correct (pointing to right service and binary file)'
>
>
Yes:
service gds_db
server = /opt/firebird/bin/fb_inet_server (and that is where it is, in
fact)

>3) Check to see if the 3050 service is defined: grep 3050 /etc/services
>
>
Yes, it is

>4) I like to make sure my hosts file is cleaned-up: cat /etc/hosts
>
>Should look like
>127.0.0.1 localhost.localdomain localhost
>192.168.0.107 <whatever your hostname is>
>
>
>
The hostname _is_ localhost.localdomain
The entire contents of /etc/hosts is:

127.0.0.1 localhost.localdomain localhost


I am using the Firebird machine's IP address to try to connect (both
with isql on the server itself, as well as from other machines). In all
cases (both on the server and other, the connection is refused, unless
-- on the server, using isql -- I connect only with the path, without
the IP address prepended).



Thanks for your help. Any idea about why Firebird is not listening on 3050?

Dennis