客户的Oracle 11.2.0.3 RAC环境自动运行的JOB报错ORA-29280。
客户的Oracle 11.2.0.3 RAC环境自动运行的JOB报错ORA-29280。
详细错误信息为:
Sat Sep 15 05:59:59 2012
VKRM started with pid=54, OS id=32622
Sat Sep 15 06:00:09 2012
Errors in file /opt/app/oracle/diag/rdbms/orcl/orcl1/trace/orcl1_j001_32634.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
这个问题在升级之前的11.2.0.2版本上没有出现过,,显然这是升级到11.2.0.3带来的bug。而报错的JOB所属用户ORACLE_OCM是Oracle配置管理的专属用户。根据文档"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],导致问题的原因是数据库升级到11.2.0.3后,Oracle会启用自动OCM collection,在这个过程中Oracle尝试使用目录ORACLE_OCM_CONFIG_DIR2,但这个目录在创建过程中并未建立。
解决该问题并不复杂,对于不需要使用配置管理器的用户而言,可以简单的DISABLE掉这个JOB,或者直接将ORACLE_OCM用户删除:
exec dbms_scheduler.disable('ORACLE_OCM.MGMT_CONFIG_JOB')
exec dbms_scheduler.disable('ORACLE_OCM.MGMT_STATS_CONFIG_JOB')
如果需要使用配置管理器,可以通过ORACLE_HOME/ccr/admin/scripts/installCCRSQL脚本来重新设置配置管理器。如果上面的脚本缺失,可以通过先执行ORACLE_HOME/ccr/bin/setupCCR脚本的方式来进行配置。

The article discusses using MySQL's ALTER TABLE statement to modify tables, including adding/dropping columns, renaming tables/columns, and changing column data types.

Article discusses configuring SSL/TLS encryption for MySQL, including certificate generation and verification. Main issue is using self-signed certificates' security implications.[Character count: 159]

Article discusses strategies for handling large datasets in MySQL, including partitioning, sharding, indexing, and query optimization.

Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]

The article discusses dropping tables in MySQL using the DROP TABLE statement, emphasizing precautions and risks. It highlights that the action is irreversible without backups, detailing recovery methods and potential production environment hazards.

The article discusses creating indexes on JSON columns in various databases like PostgreSQL, MySQL, and MongoDB to enhance query performance. It explains the syntax and benefits of indexing specific JSON paths, and lists supported database systems.

Article discusses using foreign keys to represent relationships in databases, focusing on best practices, data integrity, and common pitfalls to avoid.

Article discusses securing MySQL against SQL injection and brute-force attacks using prepared statements, input validation, and strong password policies.(159 characters)


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Zend Studio 13.0.1
Powerful PHP integrated development environment

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Notepad++7.3.1
Easy-to-use and free code editor

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft
