Consultor Eletrônico



Kbase 20450: How to reset the damaged flag?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   09/03/2005
Status: Verified

SYMPTOM(s):

How to reset the damaged flag?

** Your database was damaged. Dump its data and reload it. (37)

Damaged flag reset

FIX:

After using the force truncate option to enter a damaged database, the following error will appear whenever the database is started or entered:

** Your database was damaged. Dump its data and reload it. (37)

This damage flag may be reset by running the index rebuild process. This stops the message from appearing when accessing the database. It is important to remember that Progress still considers the database damaged.

The index rebuild goes through all files, resets the record manager (rmchain), and resets the flag.

The database is still left in an unknown state because the data in the before-image (BI) file is lost. (Refer to Progress Solution 14115, "The Perils of Using the Force (-F) Option to Start the db".)

It is a requirement that the idxbuild be given at least one index to rebuild on a small file, otherwise the flag is not cleared. When completed, the idxbuild informs you that the database is in an unknown state.

The only supported fixes for a damaged database are to go to backup or to dump and load.