"Database XYZ.GDB shutdown" error message

Q: There is problem when connecting to database:

17.10.2006 14:46:08)Cfg connected
17.10.2006 14:46:08)Connecting "XYZ"
17.10.2006 14:46:08)database C:\data\XYZ.GDB shutdown

FireBird 1.5.0.4 @ WinXP is used, restart does not help


A: Database is probably corrupted, use gbak utility and if it does not help export metadata and recreate database by this way.