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;

转载于:https://www.cnblogs.com/mengfanrong/p/5120128.html

ORA-12012: error on auto execute of job quot;ORACLE_OCM相关推荐

  1. ORA-12012 Error on auto execute of job SYS.ORA$AT_OS_OPT_SY_NN in 12.2.0 Database

    报错如下: ORA-12012: error on auto execute of job "SYS"."ORA$AT_OS_OPT_SY_88" ORA-20 ...

  2. Orace 12.2 ORA-12012: error on auto execute of job SYS.ORA$AT_OS_OPT_SY_21

    一个测试环境的12.2.0.1数据库后台alert不断报出以下错误信息: Errors in file /d12/app/oracle/diag/rdbms/test/test/trace/test_ ...

  3. oracle18c报错ORA-12012: error on auto execute of job

    新安装的oracle18c数据库,alert log一直出错: ORA-12012: error on auto execute of job ORA-12012: error on auto exe ...

  4. ORA-12012: error on auto execute of job SYS.BSLN_MAINTAIN_STATS_JOB ORA-01950: no privileges on

    收到凌晨邮件告警 Errors in file /opt/oracle/diag/rdbms/xxxx/xxxx2/trace/ixxxx2_j000_5002.trc:   ORA-12012: e ...

  5. ORA-07445 ERROR on auto execute of job 8913

    巡检时出现 Tue Jul 17 22:00:08 2012 Errors in file e:\oracle\product\10.2.0\admin\zsdb\bdump\zsdb_j000_20 ...

  6. ORA-12012: error on auto execute of job SYS.BSLN_MAINTAIN_STATS_JOB

    一.版本信息 操作系统版本: AIX 6100 数据库版本: 11.2.0.3(psu5) 二.错误描述 在alert 日志中发现如下报错 Sun Sep 28 15:00:22 2014 Error ...

  7. ORA-12012: error on auto execute of job “SYS“.“ORA$AT_OS_OPT_SY_12062“ ORA-20001: Statistics Advisor

    近期排查oracle日志报错的时候发现: 报错内容为:当前用户的任务名无效.(Invalid task name for the current user) 在网上搜索了一波之后,据oracle给出的 ...

  8. ERROR 1370 (42000): execute command denied to user ‘james‘@‘localhost‘ for routine ‘test.coun_add‘

    对于 ERROR 1370 (42000): execute command denied to user 'james'@'localhost' for routine 'test.coun_add ...

  9. clang++ exe error unable to execute command Couldnt execute program文件名或扩展名太长

    在VS中用VisualGDB插件编译安卓工程,莫名其妙突然出现以下报错:clang++.exe: error: unable to execute command: Couldn't execute ...

最新文章

  1. 编译原理(六)自底向上分析之LR分析法
  2. 训练超大规模图模型,PyTorchBigGraph如何做到?
  3. restful-api最佳实践
  4. python 3.5opencv 环境搭建_Python3.5+openCv进行人脸识别的环境搭建(Windows下)
  5. matlab组织的培训讲义,matlab培训讲义.doc
  6. hbuilder打包ios_ios开发证书的作用及申请步骤
  7. ubuntu系统中import h5py, ImportError: No module named h5py的解决方法
  8. 外媒:特斯拉正寻求扩大在华法律事务和对外关系员工队伍
  9. return、reutrn false、e.preventDefault、e.stopPropagation、e.stopImmediatePropagation的区别
  10. python动漫教程视频_求python的进阶教程视频_python动漫教程视频教程
  11. 无法通过百度联盟申请的常见原因
  12. 几个关于矩阵的定义 奇异值分解 谱分解
  13. IPMI 服务器远程管理方法
  14. 全球云服务商是怎么排名的?国内云主机市场占有率份额排行对比
  15. 【大数据安全分析】图计算在安全方面的应用思考
  16. 哥伦比亚大学计算机科学硕士排名,哥伦比亚大学计算机科学硕士排名第16(2020年TFE Times排名)...
  17. Corosync双心跳冗余方案配置
  18. BZOJ4484: [Jsoi2015]最小表示
  19. 小型机与PC服务器的区别(phpc)
  20. 计算机二级c好考吗,计算机二级MS Office和C语言哪个比较好考?

热门文章

  1. python编程有哪些-学习python编程,有哪些不错的软件?
  2. python在中国的发展-Python未来的发展前景到底如何?
  3. 软件工程python就业方向-软件工程实践2019第二次作业
  4. python官网没有中文-python 检查是否为中文字符串的方法
  5. python可以从事什么工作-学完Python能从事哪些工作?
  6. 爬虫python下载-python 下载 爬虫
  7. python导入py文件-Python导入其他文件中的.py文件 即模块
  8. python好学吗 老程序员-想自学程序员,朋友推荐了python,靠谱吗?
  9. python语法手册-Python编程参考手册
  10. NVIDIA Jetson Xavier NX上导入tensorflow报错:AttributeError: module ‘wrapt‘ has no attribute ‘ObjectProxy‘