Subject Re: fbmgr says server could not start
Author Gentoolah Linuxlah
I reported this as a bug at bugzilla.gentoo.org and somebody ask me to
add localhost and my hostname to /etc/hosts.equiv*. This actually make
my server starts with no complains on the screen but the firebird
sitll log 1 error when the server start.

This is my firebird.log when the server start:

buttercup (Client) Fri Jan 14 19:22:11 2005
INET/inet_error: connect errno = 111

buttercup (Client) Fri Jan 14 19:22:11 2005
/opt/firebird/bin/fbguard: guardian starting bin/fbserver




* since I'm using gentoo, I'm using "ebuild <package name ebuilb path>
config". This will take care of the post-install matters.

--- In firebird-support@yahoogroups.com, "Gentoolah Linuxlah"
<linuxlah@y...> wrote:
>
> Thanks Helen for the attention. Anyway, after your suggestion I do a
> quick check on existance of fb before starting it. It's still giving
> me same error. Below is my screen / log shots. Is my fb tries to
> _over_ spawn or something? What can I do to fix this? TQ.
>
> buttercup root # ps auxf | grep fb
> root 10087 0.0 0.1 1376 436 pts/0 S+ 17:34 0:00
> \_ grep fb
> buttercup root # /opt/firebird/bin/fbmgr.bin -start -user sysdba
> -password masterke
> check $FIREBIRD/firebird.log file for errors
> can not start server
> buttercup root # cat /opt/firebird/firebird.log
> buttercup (Client) Fri Jan 14 17:35:14 2005
> INET/inet_error: connect errno = 111
>
> buttercup (Client) Fri Jan 14 17:35:14 2005
> /opt/firebird/bin/fbguard: guardian starting bin/fbserver
> buttercup (Server) Fri Jan 14 17:35:16 2005
> SERVER/process_packet: connection rejected for root
> .
> .
> .
> buttercup (Server) Fri Jan 14 17:35:25 2005
> SERVER/process_packet: connection rejected for root
>
> buttercup (Server) Fri Jan 14 17:35:25 2005
> SERVER/process_packet: connection rejected for root
>
> buttercup (Server) Fri Jan 14 17:35:25 2005
> SERVER/process_packet: connection rejected for root
>
> buttercup root # ps auxf | grep fb
> root 10107 0.0 0.1 1376 436 pts/0 S+ 17:35 0:00
> \_ grep fb
> root 10097 0.0 0.5 3720 1520 pts/0 S 17:35 0:00
> /opt/firebird/bin/fbguard -f
> root 10098 0.0 1.1 10276 2960 ? S 17:35 0:00 \_
> /opt/firebird/bin/fbserver
> root 10099 0.0 1.1 10276 2960 ? S 17:35 0:00 \_
> /opt/firebird/bin/fbserver
> root 10102 0.0 1.1 10276 2960 ? S 17:35 0:00
> \_ /opt/firebird/bin/fbserver
> root 10104 0.0 1.1 10276 2960 ? S 17:35 0:00
> \_ /opt/firebird/bin/fbserver
> buttercup root #
> buttercup root # /opt/firebird/bin/fbmgr.bin -shut -user sysdba
> -password masterke
> server shutdown completed
>
> buttercup root # ps auxf | grep fb
> root 10215 0.0 0.1 1376 436 pts/0 S+ 17:59 0:00
> \_ grep fbbuttercup root # su - firebird -c
> "/opt/firebird/bin/fbmgr.bin -start -user sysdba -password masterke"
> check $FIREBIRD/firebird.log file for errors
> can not start server
> buttercup root # less /opt/firebird/firebird.log
> buttercup (Client) Fri Jan 14 18:00:27 2005
> INET/inet_error: connect errno = 111
>
> buttercup (Client) Fri Jan 14 18:00:28 2005
> /opt/firebird/bin/fbguard: guardian starting bin/fbserver
>
>
> buttercup (Server) Fri Jan 14 18:00:29 2005
> SERVER/process_packet: connection rejected for firebird
>
> buttercup (Server) Fri Jan 14 18:00:29 2005
> SERVER/process_packet: connection rejected for firebird
>
> buttercup (Server) Fri Jan 14 18:00:29 2005
> SERVER/process_packet: connection rejected for firebird
> .
> .
> .
>
> buttercup root # ps auxf | grep fb
> root 10268 0.0 0.1 1376 436 pts/0 S+ 18:03 0:00
> \_ grep fb
> firebird 10240 0.0 0.5 3720 1520 pts/0 S 18:00 0:00
> /opt/firebird/bin/fbguard -f
> firebird 10241 0.0 1.1 10276 2960 ? S 18:00 0:00 \_
> /opt/firebird/bin/fbserver
> firebird 10242 0.0 1.1 10276 2960 ? S 18:00 0:00 \_
> /opt/firebird/bin/fbserver
> firebird 10245 0.0 1.1 10276 2960 ? S 18:00 0:00
> \_ /opt/firebird/bin/fbserver
> firebird 10246 0.0 1.1 10276 2960 ? S 18:00 0:00
> \_ /opt/firebird/bin/fbserver
>
>
> --- In firebird-support@yahoogroups.com, Helen Borrie <helebor@t...>
> wrote:
> > At 01:14 PM 13/01/2005 +0000, you wrote:
> >
> >
> >
> > >I'm using a Gentoo emerge version of Firebird which is Firebird
1.5.1.
> > >Everytime I try to
> > >start my firebird fbmgr says "server can not start" and "please
check
> > >$FIREBIRD/
> > >firebird.log", but the server did start. when I did ps -aux , I can
> see
> > >the firebird thingy. I
> > >did try to "su - firebird" and run the fbmgr but same thing
happends...
> >
> > Has it occurred to you that fbserver may be already running? If it's
> > already started, it can't be started again without stopping it
> > first. Probably it would be clearer if the message were not
> designed to
> > shoot two crows with one arrow.
> >
> > Check its state with ps *before* you issue the command.
> >
> > ./hb