Subject Re: internal gds software consistency check (cannot find tip page (165))
Author Adam
--- In firebird-support@yahoogroups.com, "georgeyod" <georgeyod@...>
wrote:
>
> any suggested workaround/fix for this error? it occured when i tried to
> open a connection to an embeded db file. i had been able to open this
> file before but for some reason now im getting this error.
>

Your database is corrupted. Probably someone or some tool has tried to
do a file copy while in use (for embedded, that means while your
application is loaded).

Close your application and take a file copy of the fdb file and keep
it somewhere safe, burn it to a CD / DVD to make sure you don't lose it.

Copy the file to a different machine with a full server installed (eg
Superserver). Run gfix and see if that can recover it. If that fails,
try running gbak with the -g option to prevent backup of back versions.

Although this error looks pretty serious, the TIP is where the facts
about which records are committed and which are rolled back, so
corruption there could be too hard to resolve using gfix. You may need
to use a commercial database repair tool. Check the Firebird website
for a list.

Adam