How To Manually Remove ORACLE_OCM From Database (Doc ID 859113.1)




How To Manually Remove ORACLE_OCM From Database (Doc ID 859113.1)


To Bottom


 


Modified:02-Apr-2013

Type:HOWTO


 


 


 


 


In this Document

 

Goal

Fix

References

 

APPLIES TO:

OracleConfiguration Manager - Version 10.2.3 to 10.3.1

Informationin this document applies to any platform.

***Checkedfor relevance on 16-FEB-2012***

 

 

GOAL

Whenupgrading a 9i or 10g database to 10.2.0.4, user ORACLE_OCM is created. 

This isbecause as of Oracle Database release 10.2.0.4, the database is automaticallyinstrumented for OCM collections, out-of-the-box.

 

In"Oracle Configuration Manager Installation and Administration Guide"it is stated:

"Ifyou upgrade from a 9.x database version to a 10.x version after the OracleConfiguration Manager installation, you must run the installCCRSQL.sh scriptagain to instrument the upgraded version."

 

If OCMconfiguration was skipped at the 10.2.0.4 database install/upgrade time, theOCM Collector installation and configuration is not properly completed.

 

Therefore,although directory $ORACLE_HOME/crr exists, $ORACLE_HOME/crr/admin directorywill be missing.

 

You areaware that in order to successfully install and configure OCM, simply need tofollow:

"Oracle Configuration Manager Quick Start Guide"

available at http://www.oracle.com/technology/documentation/ocm.html

but forthe time being you decide to delete the ORACLE_OCM user from the database.

Found note761313.1, just that the subdirectory
'admin' anddropocm.sql script are not available.

How tocontinue?

FIX

 

NB: It isstrongly recommended to have Oracle Configuration Manager configured for yourdatabase.

Run thefollowing commands only for a 10.2.0.4 database which doesn't have the$ORACLE_HOME/ccr/admin/scripts/dropocm.sql script.

For allother cases, in order to deinstall the OCM Collector, must follow the"Uninstalling Oracle Configuration Manager" section in OCMdocumentation.

 

In orderto 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;

 

Then canalso remove the $ORACLE_HOME/ccr directory.

REFERENCES

NOTE:761313.1 - How to
deinstallOCM


 

来自 <https://support.oracle.com/epmos/faces/SearchDocDisplay?_adf.ctrl-state=9kfufexgp_4&_afrLoop=27396137888787>

时间: 2024-09-13 20:03:35

How To Manually Remove ORACLE_OCM From Database (Doc ID 859113.1)的相关文章

Oracle Recommended Patches -- Oracle Database (Doc ID 756671.1)

Oracle Recommended Patches -- Oracle Database Introduction Target Configurations Patch Availability Current Recommended Patches  12.1.0.2 Current Recommended Patches  12.1.0.1 Current Recommended Patches  11.2.0.4 Current Recommended Patches  11.2.0.

Manually Creating an Oracle Database

 Manually Creating an Oracle Database 一.Set environment variables export ORACLE_SID=WOO 一.Create corresponding directory mkdir -p $ORACLE_BASE/{{admin/WOO/{a,b,c,u}dump},oradata/WOO} 二.Create simplest parameter file cd $ORACLE_HOME/dbs cat init.ora

How to deinstall OCM (Doc ID 761313.1)

 How to deinstall OCM (Doc ID 761313.1) To Bottom   Modified:05-Jul-2013 Type:HOWTO         In this Document   Goal Solution References   APPLIES TO: OracleConfiguration Manager - Version 10.0.0 and later Informationin this document applies to any

DRM - Dynamic Resource management (Doc ID 390483.1)

 DRM - Dynamic Resource management (Doc ID 390483.1) To Bottom Modified:09-Jul-2013Type:BULLETIN In this Document   Purpose   Scope   Details   DRM - Dynamic Resource Mastering APPLIES TO: Oracle Database - Standard Edition - Version 10.1.0.2 to 11

DRM hang causes frequent RAC Instances Reconfiguration (Doc ID 1528362.1)

 DRM hang causes frequent RAC Instances Reconfiguration (Doc ID 1528362.1) To Bottom Modified:27-Mar-2013Type:PROBLEM In this Document   Symptoms   Changes   Cause   Solution   References APPLIES TO: Oracle Database - Enterprise Edition - Version 1

After Applying JDBC Driver Patch (6779501) , Problem still occurs (ORA-28040) (Doc ID 1267169.1)

After Applying JDBC Driver Patch (6779501) , Problem still occurs (ORA-28040) (Doc ID 1267169.1) To Bottom Modified:27-May-2011Type:PROBLEM In this Document  Symptoms   Cause   Solution APPLIES TO: Oracle Containers for J2EE - Version: 10.1.2.0.0 to

RAC Instance Crash with ORA-600: [Kjbmprlst:Shadow] (Doc ID 740028.1)

 RAC Instance Crash with ORA-600: [Kjbmprlst:Shadow] (Doc ID 740028.1) To Bottom Modified:28-Jul-2010Type:PROBLEM In this Document  Symptoms   Changes   Cause   Solution   References APPLIES TO: Oracle Server - Enterprise Edition - Version: 10.2.0.

ORA-12012错误如何解决

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

Oracle 组件系列小结

Oracle 组件系列小结 本文整理自网络,原文地址:http://blog.csdn.net/tianlesoftware/article/details/7339998#t3 Oracle 组件的信息可以通过v$option 和 dba_registry 查看: --查看v$option: V$OPTION displaysOracle Database options and features. Typically, although not always, optionsmust be