Subject Re: Only sysdba can connect others can't ( gstat Attributes = shutdown)
Author Adam
--- In firebird-support@yahoogroups.com, "Mohammad Jeffry"
<linuxlah@...> wrote:
>
> Today my fdb got wierd. All other user can't connect execpt me
which is
> using the "SYSDBA". The firebird service is definately up and
running.
>
> netstat -nl
> Proto Recv-Q Send-Q Local Address Foreign Address
State
> .
> .
> tcp 0 0 0.0.0.0:3050 0.0.0.0:*
LISTEN
>
> but my gstat for the db is giving me
> .
> .
> Attributes database shutdown
>
> How to troubleshoot this?

This is because someone has put the database into shutdown mode.
Shutdown mode prevents everyone other than SYSDBA and the owner from
connecting.

This allows you to safely run metadata scripts etc and be sure no-one
else is connected while this happens.

gfix -shut f 300 aliasname

will terminate all connections after 5 minutes.

To allow logins again, you need to use

gfix -online

Adam