Subject | Re: [firebird-support] Re: connect errno 111 |
---|---|
Author | Dennis McFall |
Post date | 2005-08-26T16:49:52Z |
Steve Wiser wrote:
------------------------
defaults {
instances=60
log_type=SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir= /etc/xinetd.d
-------------------------
service gds_db
server = /opt/firebird/bin/fb_inet_server (and that is where it is, in
fact)
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
>Here are some basic sanity checks that you can do:yes, it is. And this is my /etc/xinetd.conf:
>
>1) Check that xinetd is running (as Helen has already said): ps aux |
>grep xinetd
>
>
>
------------------------
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 |no, it is not
>grep 3050
>
>
>
>if not then make sure that your firebird file in /etc/xinetd.d isYes:
>correct (pointing to right service and binary file)'
>
>
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/servicesYes, it is
>
>
>4) I like to make sure my hosts file is cleaned-up: cat /etc/hostsThe hostname _is_ localhost.localdomain
>
>Should look like
>127.0.0.1 localhost.localdomain localhost
>192.168.0.107 <whatever your hostname is>
>
>
>
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