"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.1)


To Bottom


 


Modified:02-Apr-2013

Type:PROBLEM


 


 


 


 


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>

时间: 2024-09-27 06:13:43

"ORA-12012: error on auto execute of job ORACLE_OCM.MGMT_CONFIG_JOB_2_1" And "ORA-29280: invalid dir的相关文章

tiny4412 Android 5.0编译出现:clang++: error: unable to execute command: Killed

clang++: error: unable to execute command: Killedclang++: error: clang frontend command failed due to signal (use -v to see invocation)clang version 3.5 Target: i386--linux-gnuThread model: posixclang++: note: diagnostic msg: PLEASE submit a bug repo

ORA-12012错误如何解决

ALERT日志中报错如下: Sun Mar 30 06:05:40 2014 Errors in file /oracle/app/oracle/diag/rdbms/zscims/zscims1/trace/zscims1_j001_15269946.trc: ORA-12012: error on auto execute of job "ORACLE_OCM"."MGMT_CONFIG_JOB_2_1" ORA-29280: invalid directory

Oracle 11.2.0.3 ORA-12012ORA-29280 ORA-06512

  Oracle 11.2.0.3 ORA-12012ORA-29280 ORA-06512   问题现象: db alert日志中出现如下告警信息: Errors in file/app/oracle/diag/rdbms/cctv/CCTV2/trace/CCTV2_j000_1370.trc: ORA-12012: error on auto execute of job"ORACLE_OCM"."MGMT_CONFIG_JOB_2_2" ORA-29

alert日志中的两种ORA错误分析

今天在巡检系统的时候,发现alert日志中有两种类型的ora错误. Errors in file /U01/app/oracle/diag/rdbms/XX/XX/trace/xxdb_j002_20401.trc: ORA-12012: error on auto execute of job "XXDATA"."S_XXXX_HIST_OPS_SERINFO_K" ORA-12170: TNS:Connect timeout occurred ORA-06512

oracle库存储问题导致数据库重启后无法正常启动恢复教程

某客户的核心数据库存储问题导致数据库重启后无法正常启动,根据客户反馈最开始在启动数据库时 报错控制文件IO错误,如下: Sun Mar 15 11:59:37 2015 Errors in file /oracle/app1/oracle/admin/xxxx/bdump/xxxx2_arc1_630876.trc: ORA-00204: error in reading (block 1, # blocks 1) of control file ORA-00202: control file:

oracle记录一次存储异常数据库恢复后遗症ORA-600[kafspa:columnBuffer1]错误处理

先说下前提,这个库以前是由于存储异常,找硬件厂商做了raid重组,然后我进行数据恢复的,恢复出来数据之后,应用厂商通过验证和补数据,然后迁移到另外一台机器做生产用的,这个库一直没有怎么看,最近检查数据库发现ORA-600[kafspa:columnBuffer1]错误,通过删除异常记录的方式解决. 数据库alert日志 Mon Aug 10 00:00:21 2015 LNS: Standby redo logfile selected for thread 1 sequence 617 for

DBA生存警示:保护现场不要让事情更糟

张乐奕 云和恩墨副总经理 Oracle ACE 总监 ITPUB Oracle数据库管理版版主.Oracle高可用版版主.ACOUG联合创始人 今天收到一个发过来请求帮助的 case,Oracle 数据库无法启动,请求帮助恢复.仔细阅读了发过来的告警日志,这是一个典型的"事情越弄越糟"的案例. 作为一个专业的DBA,在遇到问题时,一定要思考:如何保护现场,不让事情变得更糟.这是基本要求,保护现场以使得其他人接手工作时,可以从原有状态开始. 以下就来根据告警日志,一条一条地回顾这位 DB

Linux平台下RMAN异机恢复总结

下面总结.整理一下RMAN异机恢复这方面的知识点,这篇笔记在个人笔记里面躺了几年了,直到最近偶然被翻看到,遂整理.总结一下.如下所示,个人将整个RMAN异机恢复分为准备工作和操作步骤两大部分.当然,准备工作里面,有些步骤不是必须的,可以跳过或忽略的.这个取决于你的实际环境和你对RMAN异机恢复的熟悉程度.   准备工作   1:了解一下目标服务器与源服务器的操作系统版本信息   需要对比一下目标服务器与源服务器的操作系统版本是否一致,具体来说,操作系统版本信息.内核信息(例如Oracle Lin

直接复制数据文件实现linux平台数据库复制到windows平台数据库

一.1  平台环境概述   之前在测试传输表空间时感受了一下跨平台的移值,当时只测试了通过传输表空间的特性复制某个指定表空间,或者是通过RMAN中的CONVERT或TTS复制数据库,测试结束之后,感觉ORACLE10G之后对不同平台(相同字节顺序)的数据文件相互兼容性方面得到大大提升,下意识认为不通过传输表空间直接复制数据文件应该也可以,今天在本地测试了一下,确实相当好使,通过这种方式使得跨平台的移植更加高效,也易于管理和操作,下面记录的为操作过程. 注意:源平台与目标平台的字节顺序(endia