Subject Re: Wrong page type
Author akovjazin

> database file appears corrupt ()
> wrong page type
> page 2135463 is of wrong type (expected 5, found 7)

You may look at
there is one possible (the mos often) reason for this error.
But in your case I think that it can be caused by the bug in index
garbage collection in Firebird 1.0.3.

The precautions for this error is to perform maintainance procedures -
backup/restore, set statistics, etc.

Sincerely yours,
Alexey Kovyazin, /