"ORA-12012: error on auto execute of job ORACLE_OCM.MGMT_CONFIG_JOB_2_1" And "ORA-29280: invalid dir

简介:  "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.


"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:

OracleConfiguration Manager - Version 10.3.3.0.0 and later

Informationin this document applies to any platform.

SYMPTOMS

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

 

Errorsin 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

Newlyinstalled 11.2.0.3 database, or recently upgraded to 11.2.0.3 from an earlierrelease.

CAUSE

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

 

To verifythe OCM db directories, run as sysdba:

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

 

MGMT_DB_LL_METRICSwants to write to ORACLE_OCM_CONFIG_DIR2, which is not created by the built-ininstrumentation scripts.

SOLUTION

Problem isfixed with OCM Collector version 10.3.7

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

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

or

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

SQL>drop user ORACLE_OCM cascade;

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

Or couldsimply disable the OCM jobs by running:

 

execdbms_scheduler.disable('ORACLE_OCM.MGMT_CONFIG_JOB')

execdbms_scheduler.disable('ORACLE_OCM.MGMT_STATS_CONFIG_JOB')

REFERENCES

NOTE:859113.1 - How To ManuallyRemove 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>

目录
相关文章
|
8月前
cancal报错 config dir not found
cancal报错 config dir not found
|
2月前
|
Java 数据库连接 开发工具
web后端-SpringCloud-Config分布配置
web后端-SpringCloud-Config分布配置
|
3月前
|
API
在vite.config.js 配置代理
在vite.config.js 配置代理
78 2
|
26天前
|
自然语言处理 JavaScript
vue element plus Config Provider 全局配置
vue element plus Config Provider 全局配置
28 0
|
5月前
|
API
vite.config.js 的一些常用配置
vite.config.js 的一些常用配置
113 1
|
8天前
|
JSON JavaScript 前端开发
vue2_vite.config.js的proxy跨域配置和nginx配置代理有啥区别?
vue2_vite.config.js的proxy跨域配置和nginx配置代理有啥区别?
24 1
|
17天前
|
JavaScript
vue.config.ts配置环境变量
vue.config.ts配置环境变量
20 0
|
2月前
|
移动开发 监控 小程序
mPaaS常见问题之uniapp ios端云打包的配置config文件如何解决
mPaaS(移动平台即服务,Mobile Platform as a Service)是阿里巴巴集团提供的一套移动开发解决方案,它包含了一系列移动开发、测试、监控和运营的工具和服务。以下是mPaaS常见问题的汇总,旨在帮助开发者和企业用户解决在使用mPaaS产品过程中遇到的各种挑战
30 0
|
2月前
|
消息中间件 SpringCloudAlibaba Java
【Springcloud Alibaba微服务分布式架构 | Spring Cloud】之学习笔记(八)Config服务配置+bus消息总线+stream消息驱动+Sleuth链路追踪
【Springcloud Alibaba微服务分布式架构 | Spring Cloud】之学习笔记(八)Config服务配置+bus消息总线+stream消息驱动+Sleuth链路追踪
786 0
|
2月前
|
微服务
SpringCloud-Config服务端微服务从自己的Gitee上获取配置内容配置读取规则
SpringCloud-Config服务端微服务从自己的Gitee上获取配置内容配置读取规则
17 0

热门文章

最新文章