Stefan Sinne wrote:

I'm trying to shut down a database with still one open connection, using:

gfix -shut -attach 5 ....

This naturally fails with message 'database shutdown unsuccessful'.

After this I can not connect anymore to the database, even not as sysdba, I always get the message 'shutdown in progress'.

I tried to bring the database online, but this failed as well ('Target shutdown mode is invalid').

The only solution is to close the open connection to the database (the one that made the shutdown fail) or to force a shutdown and bring it online again. After this new connections are allowed again.

Is this the normal behaviour or am I missing something?

Tested with Firebird SS 2.0.5 and 2.1.3 on linux x86-64.

Helen Borrie answers:

It is not the normal behaviour: Congratulations - you have discovered a genuine, silver-plated regression bug. Dmitry Y is fixing it now.

BTW, I can also confirm that the syntax pattern documented for the new shutdown options in the v.2.0 and 2.1 release note is also wrong. The whole item in fact is badly edited. Shoot the editor!

All will be put right for the v.2.0.6 and 2.1.4 sub-releases. All going well, you will be able to test it in tomorrow's snapshots.

Like this post? Share on: TwitterFacebookEmail


Related Articles


Author

Firebird Community

Published

Category

Gems from Firebird Support list

Tags