对于手工建库,或者刚升过级的库,在EM 13c下面可能报如下错误,导致可用性状态未知:
Target oracle_database.orcl is broken: Target {oracle_database.orcl} is broken: Dynamic Category property error,Get dynamic property error,No such metadata - No valid queryDescriptor or executionDescriptor found for target [oracle_database.orcl$57] is broken: Dynamic Category property error,Get dynamic property error, No such metadata - No valid queryDescriptor or executionDescriptor found for target [oracle_database.orcl$57]
解决方法:
SQL> desc dba_registry_history
Name Null? Type
----------------------------------------- -------- ----------------------------
ACTION_TIME TIMESTAMP(6)
ACTION VARCHAR2(30)
NAMESPACE VARCHAR2(30)
VERSION VARCHAR2(30)
ID NUMBER
COMMENTS VARCHAR2(255)
没有BUNDLE_SERIES列,重新运行如下脚本使之有此列
SQL> @$ORACLE_HOME/rdbms/admin/catbundle.sql
Enter value for 1: psu
Enter value for 2: 0
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
SQL> desc dba_registry_history
Name Null? Type
----------------------------------------------------------------------------------------------------------------- -------- ----------------------------------------------------------------------------
ACTION_TIME TIMESTAMP(6)
ACTION VARCHAR2(30)
NAMESPACE VARCHAR2(30)
VERSION VARCHAR2(30)
ID NUMBER
BUNDLE_SERIES VARCHAR2(30)
COMMENTS