ORA-12012: error on auto execute of job "ORACLE_OCM
ALERT日誌中報錯如下:
Sun Mar 30 06:05:40 2014Errors 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 ProductionPL/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;
相關文章
- ORA-12012: error on auto execute of job "ORACLE_OCM"."MGMT_CONFIG_JOB_2_1"ErrorOracle
- ORA-12012: error on auto execute of job "ORACLE_OCM"."MGMT_CONFIG_JOB_2_2"ErrorOracle
- ORA-12012: error on auto execute of job 8913Error
- ORA-12012: error on auto execute of job 388947Error
- ORA-12012: error on auto execute of job "SYS"."ORA$AT_SA_SPC_SY_%"Error
- "ORA-12012:error on auto execute of job ORACLE_OCM.ORA-29280"_1453959.1ErrorOracle
- error on auto execute of job "SYS"."PURGE_LOG"錯誤分析Error
- Oracle 12.2 報錯:ORA-12012: error on auto execute of job “SYS”.”ORA$AT_OS_OPT_SY_7458″OracleError
- Oracle 11g報錯"ORA-12012: error on job ORACLE_OCM.MGMT_CONFIG_JOB_2_1"OracleError
- ORA-12012 job解決
- 資料庫JOB 裡的EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS()資料庫AINaN
- [重慶思莊每日技術分享]-12.2 Auto Space Advisor Job Fails ORA-12012,ORA-00060AI
- EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS佔用大量資源AINaN
- 關於EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS()的問題AINaN
- Last_SQL_Error: Could not execute Update_rows eventASTSQLError
- oracle10g最佳化:emd_maintenance.execute_em_dbms_job_procsOracleAINaN
- ERROR 1661 (HY000): Cannot execute statement: impossible to write to binaryError
- Disable the Evolve Job SYS_AUTO_SPM_EVOLVE_TASK in Oracle 12cOracle
- Job: TO_CHAR(CURRENT_TIMESTAMP, 'HH24MISSFF') errorError
- The Execute Disable/No Execute CPU feature is not enabled for this machineMac
- Export and import right application or execute import imp-00010 error solveExportImportAPPError
- Python程式碼解析: job = next(job for job in jobs if job.job_id == job_id)Python
- Job for mysqld.service failed because the control process exited with error code...MySqlAIError
- ORA-39097: Data Pump job encountered unexpected error -12801Error
- mongodb錯誤解決辦法-bash: ./mongod: cannot execute binary file: Exec format errorMongoDBORMError
- VMware: ESXi requires the Execute Disable/No Execute CPU feature to be enabledUI
- SQL Server 2000 Error 14274 ,不能刪除job解決方法SQLServerError
- java cmd executeJava
- Android Auto-Building Apps for Auto,Getting Started with AutoAndroidUIAPP
- 【Oracle】ORA-12012Oracle
- Percona MySQL 5.6 語句加鎖報錯"ERROR 1665 (HY000): Cannot execute statement"MySqlError
- java.io.IOException: Error opening job jar: hadoop-0.20.2-examples.jarJavaExceptionErrorJARHadoop
- Execute to Parse 指標指標
- Job for mysqld.service failed because the control process exited with error code錯誤解決MySqlAIError
- Centos httpd模組 Job for httpd.service failed because the control process exited with error code.CentOShttpdAIError
- oracle建立job並執行jobOracle
- 【JOB】Oracle JOB全面學習(DBMS_JOB和DBMS_SCHEDULER)Oracle
- auto型別型別