Subject | DB corruption |
---|---|
Author | Listeny |
Post date | 2008-10-27T08:34:25Z |
Hi,
My database is refusing new data...
I try to backup and restore to new files. but,
gbak: ERROR: database file appears corrupt ()
gbak: ERROR: wrong page type
gbak: ERROR: page 20001 is of wrong type (expected 5, found 1)
gbak: ERROR: gds_$receive failed
gbak: Exiting before completion due to errors
SQL> show database;
Database: localhost:/home/dbs/withusdb.gdb
Owner: YSHIN
File 2: "/home/dbs/withusdb-third.fdb", length 20000, start 40001
File 1: "/home/dbs/withusdb-sec.gdb", length 0, start 20001
PAGE_SIZE 8192
Number of DB pages allocated = 30327
Sweep interval = 20000
Forced Writes are OFF
Transaction - oldest = 723311
Transaction - oldest active = 772404
Transaction - oldest snapshot = 772404
Transaction - Next = 772409
Default Character set: NONE
Please tell me how to rescue this database.
Listeny,
My database is refusing new data...
I try to backup and restore to new files. but,
gbak: ERROR: database file appears corrupt ()
gbak: ERROR: wrong page type
gbak: ERROR: page 20001 is of wrong type (expected 5, found 1)
gbak: ERROR: gds_$receive failed
gbak: Exiting before completion due to errors
SQL> show database;
Database: localhost:/home/dbs/withusdb.gdb
Owner: YSHIN
File 2: "/home/dbs/withusdb-third.fdb", length 20000, start 40001
File 1: "/home/dbs/withusdb-sec.gdb", length 0, start 20001
PAGE_SIZE 8192
Number of DB pages allocated = 30327
Sweep interval = 20000
Forced Writes are OFF
Transaction - oldest = 723311
Transaction - oldest active = 772404
Transaction - oldest snapshot = 772404
Transaction - Next = 772409
Default Character set: NONE
Please tell me how to rescue this database.
Listeny,