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

目录
相关文章
在某龙芯平台上编译FFMPEG报错:ERROR: xxx not found using pkg-config
在某龙芯平台上编译FFMPEG报错:ERROR: xxx not found using pkg-config
387 0
|
4月前
|
缓存 关系型数据库 MySQL
error: Failed dependencies: mariadb-connector-c-config is obsoleted by mysql-community-server-8.0.36-1.el7.x86_64 问题解决
error: Failed dependencies: mariadb-connector-c-config is obsoleted by mysql-community-server-8.0.36-1.el7.x86_64 问题解决
264 19
|
6月前
|
JavaScript
Parsing error: No Babel config file detected for 。。
Parsing error: No Babel config file detected for 。。
157 3
|
6月前
|
NoSQL Redis
进行主从复制时出现的异常FATAL CONFIG FILE ERROR (Redis 6.2.6)Reading the configuration file
进行主从复制时出现的异常FATAL CONFIG FILE ERROR (Redis 6.2.6)Reading the configuration file
355 0
|
6月前
|
前端开发
命令行创建React项目
命令行创建React项目
命令行创建React项目
|
6月前
|
Kubernetes 容器
k8s-error execution phase upload-config/kubelet: Error writing Crisocket...
k8s-error execution phase upload-config/kubelet: Error writing Crisocket...
194 0
|
6月前
Parsing error: No Babel config file detected for XXXXX
Parsing error: No Babel config file detected for XXXXX
|
JavaScript Cloud Native Go
Error: Cannot find module ‘webpack/bin/config-yargs‘ at Function.Module._resolveFilename (intern
Error: Cannot find module ‘webpack/bin/config-yargs‘ at Function.Module._resolveFilename (intern
78 0
|
关系型数据库 MySQL 数据库
【报错】DVWA遇到Could not connect to the database service. Please check the config file. Database Error
【报错】DVWA遇到Could not connect to the database service. Please check the config file. Database Error
1224 0

推荐镜像

更多
下一篇
无影云桌面