Description :Database's corruption sometimes occurs during Management Server upgrade (5.50 to 6.10). Management Server could not start. The following message appears in the logs: database disk image is malformed
Cause
Unknown cause
Environment
OS: Windows Related configuration item(s): sld_objects_repository database
Resolution
Database must be rebuilt to fix the corruption. You need to download SQLite for Windows (https://www.sqlite.org/download.html) or transfer the database file to a Linux server.
1 - Check Database Integrity with Pragma command :
SQLite version 3.7.17 2013-05-20 00:56:22 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> pragma integrity_check; rowid 1330553 missing from index sld_property_FKIndex1 rowid 1339729 missing from index sld_property_FKIndex1 rowid 1391484 missing from index sld_property_FKIndex1 rowid 2111800 missing from index sld_property_FKIndex1 rowid 2111810 missing from index sld_property_FKIndex1 rowid 2111810 missing from index sld_property_Index_PropName wrong # of entries in index sld_property_FKIndex1 wrong # of entries in index sld_property_Index_PropName wrong # of entries in index sld_object_FKIndex1 wrong # of entries in index sld_object_Index_key sqlite>