Subject | Re: database file appears corrupt |
---|---|
Author | psmdev |
Post date | 2005-05-04T12:18:40Z |
Hi,
Are you saying Gfix gives you the page error, or after running it you
get the second error message when your app tries to log in?
We've found that sometimes running gfix repeatedly can help, as if the
first pass through has made it possible for later runs to fix more
problems.
We've also found that often DB corruption is due to a disk error, and
running scandisk reveals that the database is cross-linked with
another file somewhere. We only get that on FAT32 OSes though (win98
or 98SE/ME).
It could just be irretrievable though. Normally you can get them back
to life, but on occasion there's nothing to be done, and you just have
to resort to the most recent backup.
HTH.
--- In firebird-support@yahoogroups.com, "masters_pj" <PMasters@e...>
wrote:
Are you saying Gfix gives you the page error, or after running it you
get the second error message when your app tries to log in?
We've found that sometimes running gfix repeatedly can help, as if the
first pass through has made it possible for later runs to fix more
problems.
We've also found that often DB corruption is due to a disk error, and
running scandisk reveals that the database is cross-linked with
another file somewhere. We only get that on FAT32 OSes though (win98
or 98SE/ME).
It could just be irretrievable though. Normally you can get them back
to life, but on occasion there's nothing to be done, and you just have
to resort to the most recent backup.
HTH.
--- In firebird-support@yahoogroups.com, "masters_pj" <PMasters@e...>
wrote:
> Hi,
>
> I seem to have a corrupt gdb file.
> Whenever my app tries to access the file I receive the error:
>
> Database file appears corrupt ()
> Bad Checksum
> Checksum error on database page 30472
>
> I have tried using gfix (with and without the -ignore switch) but
> receive a similar error:
>
> database file appears corrupt()
> -wrong page type
> -page 30472 is wrong type (expected 5 found 0)
>
> The same errors occur if I try to back up the file, access the file
> in IBOConsole, or validate the file in IBOconsole.
>
> Does anyone have any suggestions for recovery?
>
> Thanks
>
> Paul.