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

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 path

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

ORA-06512: at line 1

数据库版本号:

Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

PL/SQL Release 11.2.0.3.0 - Production

CORE    11.2.0.3.0      Production

TNS for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production

NLSRTL Version 11.2.0.3.0 - Production

#################

參考MOS文档:

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

报错原因是:

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.   ---文件夹不存在

ORACLE_OCM 账户是用来管理Oracle Configuration Manager的。 默认情况下, 该账户是Expired and locked状态。

该错误仅仅出如今OracleRDBMS 11.2.0.3 的版本号(新安装的db,或者从其它版本号升级到11.2.0.3的)。或者Oracle Configuration Manager 的版本号大于10.3.3.0.0。

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.

假设不须要向MOS上传搜集信息,能够删除用户ORACLE_OCM来解决,语句:

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.

#####################################

如是10g--Version 10.2.3 to 10.3.1,參考MOS文档:How To Manually Remove ORACLE_OCM From Database (文档 ID 859113.1)

解决方法:

如不须要使用此功能,能够删除用户ORACLE_OCMT和对应DIRECTORY来解决。语句:

In order to manually remove the ORACLE_OCM user and associated objects from database, run:

SQL> drop user ORACLE_OCM cascade;

SQL> drop directory ORACLE_OCM_CONFIG_DIR;

时间: 2024-10-12 08:30:35

ORA-12012: error on auto execute of job "ORACLE_OCM的相关文章

ORA-12012 error on auto execute of job 8887

*** ACTION NAME:(AUTO_SPACE_ADVISOR_JOB) 2014-10-22 22:49:58.046 *** MODULE NAME:(DBMS_SCHEDULER) 2014-10-22 22:49:58.046 *** SERVICE NAME:(SYS$USERS) 2014-10-22 22:49:58.046 *** SESSION ID:(112.762) 2014-10-22 22:49:58.046 *** 2014-10-22 22:49:58.04

STM32初学Keil4编译时出现 Error:Failed to execute 'BIN40/Armcc'

一种是在系统开始--运行里输入cmd,查看armcc状态.详情见推文: http://blog.csdn.net/hicui/article/details/7350805(笔记记录,请勿见怪) 都没有问题的话,那么可以尝试: 在keil里的菜单栏依次选择Project->Manage->Components,Environment andBooks(CEB)(或者直接点击工具栏的图标), 然后在CEB里选择Folders/Extensions标签页,在RealView Folder里选择ke

Error: failed to execute 'C:\Keil\ARM\ARMCC'的解决办法

引用自:http://blog.csdn.net/zwj695535100/article/details/45787333 在KEIL新建工程时,容易出现该问题,我查了一些资料,最终找到该问题解决方法: 第一步:在keil里的菜单栏依次选择Project->Manage->Components,Environment andBooks(CEB) 第二步:然后在Environment andBooks(CEB)里选择Folders/Extensions标签页, 第三步:在RealView Fo

--- Error: failed to execute '.\ARMCC\bin\ArmAsm'

1.KEIL4在开发STM32程序时报: Error: failed to execute '.\ARMCC\bin\ArmAsm' 或是Error: failed to execute '.\ARMCC\bin40\ArmAsm'等等 2,原因是:程序找不到ArmAsm.exe这个应用程序 3.解决办法: 4.完工,睡觉! --- Error: failed to execute '.\ARMCC\bin\ArmAsm'

error: internal error: unable to execute QEMU command 'migrate': this feature or command is not cur

Libvirt Live Migration On 12/04/2014 10:12 AM, Dhia Abbassi wrote: > I installed CentOS 7 which supported by default a newer version of qemu-kvm > (qemu-kvm-1.5.3-60.el7.x86_64.rpm) but this time I got new error: > << error: internal error:

keil问题:Error: failed to execute &#39;C:\Keil\ARM\BIN\ArmCC&#39;

1.打开cmd,进入相应的路径下 cd C:\Keil\ARM\BIN\ 输入 armcc  若显示如下界面则说明keil已经注册 2.若注册成功还没解决问题,则说明软件是在网上下载的破解版的,建议卸载.进入官网 https://www.keil.com/重新下载安装官方软件包.问题则OK! 3.还有一种可能就是安装路径不是默认C盘路径,将软件安装在默认C盘路径. keil问题:Error: failed to execute 'C:\Keil\ARM\BIN\ArmCC'

iOS 开发报错 clang: error: unable to execute command: Segmentation fault: 11

ios开发报错 ld: can't link with a main executable file '/Users/apple/Library/Developer/Xcode/DerivedData/LePaiDemo-ftsuwgzvjdjwzghgkuefbzvdkvey/Build/Products/Debug-iphoneos/LePaiDemo.app/LePaiDemo' for architecture armv7 clang: error: unable to execute

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create (default-cli) on project standalone-pom: Unable to parse configuration of 3: mojo org.apache.maven.plugins:

问题: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create (default-cli)  on project standalone-pom: Unable to parse configuration of 3:  mojo org.apache.maven.plugins:maven-archetype-plugin:2.4:create for parameter

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:

security-sdk-1.0.jar已经存在于D:/secServerSDK-test/src/main/resources/lib下 报错如下: [email protected] /d/secServerSDK-test/src/main/resources/lib$ mvn install:install-file -Dfile=security-sdk-1.0.jar -DgroupId=com.jd.security -DartifactId=security-sdk -Dvers