Subject | Re: [firebird-support] Re: connect errno 111 |
---|---|
Author | Steve Wiser |
Post date | 2005-08-26T17:57:18Z |
I'm not sure what you mean the hostname is localhost.localdomain... If
you type hostname at the command prompt it should give you the name of
your server, right? You have run ifconfig to verify that your network
interface is up and has an ip address assigned to it, right?
My computer:
hostname: steve
ifconfig (partial): inet addr:192.168.13.22 Bcast:192.168.13.255
Mask:255.255.255.0
I am assuming that the networking is set up on your server and you are
accessing it via ssh, right? Sorry if these are basic questions, but
sometimes I have a tendency to skip ahead too far with a lot of
assumptions and I want to make sure I am not doing that in this case.
-steve
you type hostname at the command prompt it should give you the name of
your server, right? You have run ifconfig to verify that your network
interface is up and has an ip address assigned to it, right?
My computer:
hostname: steve
ifconfig (partial): inet addr:192.168.13.22 Bcast:192.168.13.255
Mask:255.255.255.0
I am assuming that the networking is set up on your server and you are
accessing it via ssh, right? Sorry if these are basic questions, but
sometimes I have a tendency to skip ahead too far with a lot of
assumptions and I want to make sure I am not doing that in this case.
-steve
On Fri, 2005-08-26 at 11:49 -0500, Dennis McFall wrote:
> 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
>
>
> ------------------------ Yahoo! Groups Sponsor
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://firebird.sourceforge.net and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
[Non-text portions of this message have been removed]