Metric evaluation error start

来源:互联网 发布:端口攻击器 编辑:程序博客网 时间:2024/05/29 13:02

今天在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_databaseOracle 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 laterInformation in this document applies to any platform.Symptoms In 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_databaseOracle Enterprise Manager Cloud Control 13c Release 1Copyright (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]Changes Cause There 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 NUMBERCOMMENTS 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.sqlIf 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_HISTORY Name                                                                                                              Null?    Type ----------------------------------------------------------------------------------------------------------------- -------- ---------------------------------------------------------------------------- ACTION_TIME                                                                                                                TIMESTAMP(6) ACTION                                                                                                                     VARCHAR2(30) NAMESPACE                                                                                                                  VARCHAR2(30) VERSION                                                                                                                    VARCHAR2(30) ID                                                                                                                         NUMBER BUNDLE_SERIES                                                                                                              VARCHAR2(30) COMMENTS                                                                                                                   VARCHAR2(255)



阅读全文
0 0
原创粉丝点击