Subject | Re: [firebird-support] Re: connect errno 111 |
---|---|
Author | Steve Wiser |
Post date | 2005-08-26T16:21:35Z |
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
if it is not running then start it: service xinetd start
if it is not installed then install it from the rpm
2) Check to see if Firebird is listening on port 3050: netstat -an |
grep 3050
if not then make sure that your firebird file in /etc/xinetd.d is
correct (pointing to right service and binary file)
3) Check to see if the 3050 service is defined: grep 3050 /etc/services
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>
Do those steps and then see what happens.
Thanks,
Steve
1) Check that xinetd is running (as Helen has already said): ps aux |
grep xinetd
if it is not running then start it: service xinetd start
if it is not installed then install it from the rpm
2) Check to see if Firebird is listening on port 3050: netstat -an |
grep 3050
if not then make sure that your firebird file in /etc/xinetd.d is
correct (pointing to right service and binary file)
3) Check to see if the 3050 service is defined: grep 3050 /etc/services
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>
Do those steps and then see what happens.
Thanks,
Steve
On Sat, 2005-08-27 at 01:17 +1000, Helen Borrie wrote:
> At 09:12 AM 26/08/2005 -0500, you wrote:
> >Steve Wiser wrote:
> >
> > >Since it is Fedora or Redhat just type "service xinetd restart" and
> then
> > >check the /var/log/messages file to see what it is doing.
> > >
> > >
> > >
> >
> >After I run "service xinetd restart", there is nothing in
> >/var/log/messages related to Firebird. The only entry since reboot is
> >for an sshd session that I opened with an SSH client on another
> machine.
> >
> >This is now the /etc/xinetd.conf file:
> >
> >defaults {
> >instances=60
> >log_type=SYSLOG authpriv
> >log_on_success = HOST PID
> >log_on_failure = HOST
> >cps = 25 30
> >}
> >includedir= /etc/xinetd.d
>
> There won't be anything relating to Firebird. xinetd is a daemon that
> just
> runs there, waiting to be asked to do things. If it is asked to start
> a
> firebird process (fb_inet_server) for a requesting client, it will do
> that. All of those other scripts in xinetd.(besides firebird, such as
> cvs,
> sshd-xinetd, rsync, etc.) are also just lying there waiting to be
> asked to
> start something up.
>
> After giving xinetd the restart command, check ps -ax again to see if
> xinetd is running. If it is, then go ahead and try to connect a
> client.
>
> ./heLen
>
>
>
>
> ------------------------ 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]