對于手工建庫,或者剛升過級的庫,在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