Subject Re: [firebird-support] Fix corrupted database
Author Ann W. Harrison
myles@... wrote:
> ERROR: database file appears corrupt ()
> ERROR: wrong page type
> ERROR: page 87361 is of wrong type (expected 7, found 5)
> ERROR: gds_$receive failed
> Does anyone have any suggestions on what I can do with this?

Yes. Look in the log. You'll find an error that tells you which
table the index belongs to and the numeric id of the index. Look up
the index id in the rdb$indices table. Deactivate and reactivate
the index.