本文主要是介绍Metric evaluation error start - Target {oracle_database.orcl} is broken: Dynamic Category property e,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
今天在oracle 13c OEM创建oracle 11g 监控的时候,发现如下报错信息
Metric evaluation error start - 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$12]
于是尝试重启 agent ,报如下错误:
bishuo:/home/oracle/middlewareagent/agent_inst/bin@oracle>./emctl reload agent dynamicproperties orcl:oracle_database
Oracle Enterprise Manager Cloud Control 13c Release 2
Copyright (c) 1996, 2016 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD reload error: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$21]
根据MOS (文档 ID 2105001.1)如下所示:
Enterprise Manager for Oracle Database - Version 13.1.1.0.0 and later
Information in this document applies to any platform.
SymptomsIn Enterprise Manager (EM) 13c Cloud Control, database target status shows metric collection error as below:
"Dynamic Category property error, Get dynamic property error, No such metadata, Computation of a critical dynamic property failed. Retries Completed"Computing dynamic properties of the target fails with below error:<AGENT_INST_HOME>/bin>./emctl reload agent dynamicproperties orcl:oracle_database
Oracle Enterprise Manager Cloud Control 13c Release 1
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD reload error: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]
ChangesCauseThere is no bundle_series column in dba_registry_history table for the problematic database as below:SQL> desc dba_registry_historyName Null? Type
----------------------------------------- -------- ----------------------------
ACTION_TIME TIMESTAMP(6)
ACTION VARCHAR2(30)
NAMESPACE VARCHAR2(30)
VERSION VARCHAR2(30)
ID NUMBER
COMMENTS VARCHAR2(255)
SolutionExecute catbundle.sql on problematic database to ensure that bundle_series column exists in dba_registry_history table.
from ORACLE_HOME/rdbms/admin/, run the following command (as sys):SQL> @catbundle.sql
If the last patch applied was a PSU, use the following command, instead:SQL> @catbundle.sql psu applyRun this command again to compute the dynamic properties of the target:./emctl reload agent dynamicproperties orcl:oracle_database
于是按照文档上的执行:
SQL> @catbundle.sql
....
SQL> desc DBA_REGISTRY_HISTORYName Null? Type----------------------------------------------------------------------------------------------------------------- -------- ----------------------------------------------------------------------------ACTION_TIME TIMESTAMP(6)ACTION VARCHAR2(30)NAMESPACE VARCHAR2(30)VERSION VARCHAR2(30)ID NUMBERBUNDLE_SERIES VARCHAR2(30)COMMENTS VARCHAR2(255)
这篇关于Metric evaluation error start - Target {oracle_database.orcl} is broken: Dynamic Category property e的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!