Subject Re: [firebird-support] Re: SuperServer on Gentoo doesn't start any more
Author Milan Babuskov
Matthias Hanft wrote:
> Emil Totev wrote:
>> Actually it seems to me this script would be unable to _stop_ firebird
>> 2.0 - fbmgr.bin -shut _requires_ the -user and -password switches to
>> stop the server.
>
> Do you have more information about that? I couldn't find any documentation
> about fbmgr.bin and all that other "start and stop stuff" on Linux.
>
> Since the latest FB Gentoo package update (where all the files were moved
> from /opt to /usr), the startup script "/etc/init.d/firebird start"
> always takes a while, then displays "the firebird service could not
> be started" - but that's a lie: everything runs fine! (At least for
> the next few weeks; then, somewhen, the FB server won't respond to
> requests any more, and "/etc/init.d/firebird stop" won't work any
> more, either! I have to "killall fbserver" and "/etc/init.d/firebird zap"
> and start FB again).

AFAIK, 'kill' and 'killall' on fbserver is safe since FB 2.0 as it
handles the signals properly. So, maybe fbmgr isn't really needed to
stop the server anymore.

Anyway, for FB 1.x:

bin/fbmgr -start [-forever]

-start starts the server
-forever starts the guardian

bin/fbmgr -shut [-force] -user SYSDBA -pass *******

-shut shuts down the server
-forces the shutdown even when there are active connections

You need SYSDBA password only for -shut.

--
Milan Babuskov
http://www.flamerobin.org