As the error message states, your database is in shutdown mode. Either
use gfix to bring it back online again or IBExpert might be able to do
that via ServicesAPI as well.
LogManager Series - Logging/Auditing Suites supporting
InterBase, Firebird, Advantage Database, MS SQL Server and