ITPub博客

首页 > 数据库 > Oracle > ORA-12012 ORA-29280

ORA-12012 ORA-29280

Oracle 作者:wuweilong 时间:2013-11-28 16:04:31 0 删除 编辑

"ORA-12012: error on auto execute of job ORACLE_OCM.MGMT_CONFIG_JOB_2_1" And "ORA-29280: invalid directory path" In Database AlertLog (Doc ID 1453959.1)

To Bottom

To Bottom

 

Modified:02-Apr-2013

Type:PROBLEM

Rate this document

 

Email link to this document

 

Open document in new window

 

Printable Page

 

In this Document

 

Symptoms

Changes

Cause

Solution

References

 

 

APPLIES TO:

Oracle Configuration Manager - Version 10.3.3.0.0 and later

Information in this document applies to any platform.

SYMPTOMS

Following error is reported every 24 hours in the alertLog file of a 11.2.0.3 database:

 

Errors in file /opt/oracle/diag/rdbms/db/trace/db_j001_26027.trc:

ORA-12012: error on auto execute of job "ORACLE_OCM"."MGMT_CONFIG_JOB_2_1"

ORA-29280: invalid directory path

ORA-06512: at "ORACLE_OCM.MGMT_DB_LL_METRICS", line 2436

ORA-06512: at line 1

CHANGES

Newly installed 11.2.0.3 database, or recently upgraded to 11.2.0.3 from an earlier release.

CAUSE

Newer database releases are automatically instrumented for OCM collections. But here, the OCM instrumentation job is trying to write to a "state" directory which doesn't yet exists.

 

To verify the OCM db directories, run as sysdba:

SQL>select * from dba_directories where DIRECTORY_NAME like '%OCM_CONFIG%';

 

MGMT_DB_LL_METRICS wants to write to ORACLE_OCM_CONFIG_DIR2, which is not created by the built-in instrumentation scripts.

SOLUTION

Problem is fixed with OCM Collector version 10.3.7

A. But out-of-box the 11.2 database includes earlier OCM version, therefore one must re-configure database for OCM collections by running the "ORACLE_HOME/ccr/admin/scripts/installCCRSQL" script. If script is missing, first configure OCM by running "ORACLE_HOME/ccr/bin/setupCCR".

Pay attention when on RAC database, with a non-shared file system environment, must set the ORACLE_CONFIG_HOME environment variable to $ORACLE_HOME prior to running the installCCRSQL.sh script. Reference: Oracle Configuration Manager Installation and Administration Guide

or

B. when not using the OCM Collector, remove the OCM objects from database:

SQL> drop user ORACLE_OCM cascade;

OCM is a standalone, separate tool and removing won't affect the database functionality.

Or could simply disable the OCM jobs by running:

 

exec dbms_scheduler.disable('ORACLE_OCM.MGMT_CONFIG_JOB')

exec dbms_scheduler.disable('ORACLE_OCM.MGMT_STATS_CONFIG_JOB')

REFERENCES

NOTE:859113.1 - How To Manually Remove ORACLE_OCM From Database

 

Related

Products

Keywords

ALERTLOG;OCM

Errors

ORA-12012;ORA-29280

 

来自 <https://support.oracle.com/epmos/faces/SearchDocDisplay?_adf.ctrl-state=9kfufexgp_4&_afrLoop=27396137888787>

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/20674423/viewspace-1061545/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle ACE Associate; 12cOCM;11gOCM;MySQL OCP;PGCA;PGCE;KCA; KCP; 本人拥有十年以上运营商,广电传媒,能源,制造等行业DBA从业经验; 有着丰富的管理及运维经验,经历过国家级重点项目,省级标杆项目,新型试点项目

注册时间:2010-01-08

  • 博文量
    779
  • 访问量
    4931716