I encouter some problems with the database after the database manager is killed (forced reboot or powerloss).
The project is created using PVSS 3.6-SP2 and has been upgraded to WinCCOA 3.18.
When the data manager is killed and restarted with the
Code: Select all
-repair onCode: Select all
....
....
dbRepair:Copyright (C) 1984-1997, Raima Corporation, All Rights Reserved
WCCILdata (0), 2021.09.21 10:40:49.884, SYS, SEVERE, 54, Unexpected state, DataManager, systemCall, C:\Siemens\Automation\WinCC_OA\3.18\bin\dbcheck -a -k -t C:\PVSS_projects\my-example\db\wincc_oa\TypeAndId returned exit code 1
WCCILdata (0), 2021.09.21 10:40:49.889, SYS, SEVERE, 106, Database repair, DataManager, repairDBase (on), Database could not be repaired
dbRepair:----------------------------------------------------------------------
dbRepair:Processing key file: sysId.key(12), total of 1 node
dbRepair:------------------------------------------------------------------------
dbRepair:Processing key file: dpId.key(13), total of 64 nodes
dbRepair:------------------------------------------------------------------------
dbRepair:Processing key file: confId.key(14), total of 1 node
dbRepair:------------------------------------------------------------------------
dbRepair:Processing key file: fixId.key(15), total of 1 node
dbRepair:------------------------------------------------------------------------
dbRepair:Processing key file: aliasId.key(16), total of 51 nodes
dbRepair:------------------------------------------------------------------------
dbRepair:Processing key file: viewId.key(19), total of 1 node
dbRepair:------------------------------------------------------------------------
dbRepair:Processing data file: pvssGlobal.db(0), total of 1 record
dbRepair:------------------------------------------------------------------------
dbRepair:Processing data file: objName.db(1), total of 10698 records
dbRepair:------------------------------------------------------------------------
dbRepair:Processing data file: objNameTxt.db(2), total of 11984 records
dbRepair:------------------------------------------------------------------------
dbRepair:Processing data file: typeId.db(3), total of 357 records
dbRepair:------------------------------------------------------------------------
dbRepair:Processing data file: elId.db(4), total of 5707 records
dbRepair:------------------------------------------------------------------------
dbRepair:Processing data file: sysId.db(5), total of 2 records
dbRepair:------------------------------------------------------------------------
dbRepair:Processing data file: dpId.db(6), total of 1936 records
dbRepair:------------------------------------------------------------------------
dbRepair:Processing data file: confId.db(7), total of 24 records
dbRepair:------------------------------------------------------------------------
dbRepair:Processing data file: attrId.db(8), total of 519 records
dbRepair:Problems at record 1:
dbRepair: * set DPATTRIBUTESET(4) error:
dbRepair: member has null previous-pointer but is not first member
dbRepair:Problems at record 15:
dbRepair: * set DPATTRIBUTESET(4) error:
dbRepair: member has null next-pointer but is not last member
...
...Code: Select all
dbRepair:46 errors were encountered in 46 records/nodes
WCCILdata0:"C:\\PVSS_projects\\TRVL36\\db\\wincc_oa\\TypeAndId"...FAILED (check)
WCCILdata (0), 2021.09.21 10:40:51.075, SYS, FATAL, 106, Database repair, DataManager, repairDBase, Database has not been repaired - shutdown initiated
Code: Select all
PVSStoolRepairDb