Getting the error DCS-10001 running the describe-component command in a DBSystem:
[root@odaudba02 ~]# odacli describe-component
DCS-10001:Internal error encountered: Failed to get result for describe-systemcomponent.
The analysis of the dcs-agent.log showed the following error:
error: rpmdb: BDB0113 Thread/process 15253/140067909265472 failed: run database recovery
error: cannot open Packages index using db5 - (-30973)
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: BDB0113 Thread/process 15253/140067909265472 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY:
The solution is given in the MOS 823143.1, to be executed in either ODA node, where the corruption most likely occurred:
[root@odaudba01 ~]# cd /var/lib/rpm
[root@odaudba01 rpm]# ls __db*
__db.001 __db.002 __db.003
[root@odaudba01 rpm]# rm -f __db.*
[root@odaudba01 rpm]# rpm -vv --rebuilddb