Subject FireBird 1.5 GBAK.exe, Error cannot start thread
Author matthias_krach
Hello NG,

we are using FireBird V1.5 release candidate 9. For making backups we
use a service, I have written in VB6. This service starts once a day
for each database gbak.exe in a shell-command like:

"C:\Programme\Firebird_1_5_RC9\bin\GBak.exe" -V -User <USERNAME> -
<PASSWORD> -Y "D:\APP\backupTool\Protokolle\Manuell_GBak.log" - Z
"FBSERVER:D:\App\Database\FileName.gdb"
"D:\APP\AutoBackup\FileName.bak"

USERNAME and PASSWORD are set with database-owner and his password.
FileName is the correct name of the database. The service and gbak
normally works fine. But sometimes I get the error

gbak: gbak version WI-V1.5.0.4306 Firebird 1.5
gbak: ERROR: internal gds software consistency check (cannot start
thread)
gbak: Exiting before completion due to errors

Normally I stop and start FireBird, then the backup works a few days,
before the error occurs again.

Today I got the error again. So I copied the database to an other pc
with FireBird installed. There backup and restore worked. After
restore I copied the (new) database back to the server and tried a
backup again. I got the same error. After that trying an other
database backup worked fine.

The FireBrid-Server logfile shows:

FILESRV (Server) Fri Feb 04 18:10:42 2005
Database: <DatabaseName>
internal gds software consistency check (cannot start thread)

The server has 5 databases in the same folder and backup does all
*.gdb files, each with an own shell-command, one after the other. The
error is shown most (but not always) at the same database while the
backup for the other 4 databases is done ok.

Can anybody tell me the reason for the error and/or give me a hint
solving this problem?

Thank you.
--
Greetings
Matthias Krach
from Plettenberg (Germay)