How To Manually Remove ORACLE_OCM From Database (Doc ID 859113.1)
2013-11-28 16:07
1681 查看
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>
How To Manually Remove ORACLE_OCM From Database (Doc ID 859113.1) | To Bottom |
Modified:02-Apr-2013 Type:HOWTO |
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>
相关文章推荐
- How to move RAC Database ORACLE_HOME from one location to another one (Doc ID 1438719.1)
- How to add Oracle OLAP to a 12c Database? (Doc ID 1936550.1)
- How to remove Oracle Database from your computer---By Roger Gong
- How to remove Oracle Database from your computer---By Roger Gong
- How to remove Oracle Database from your computer---By Roger Gong
- How to remove Oracle Database from your computer---By Roger Gong
- How to Proceed From a Failed 10g or 11.1 Oracle Clusterware (CRS) Installation (Doc ID 239998.1)
- How to remove Oracle Database from your computer---By Roger Gong
- How to Add the JVM Component to an Existing Oracle Database (Doc ID 1461562.1)
- How to remove Oracle Database from your computer---By Roger Gong
- Oracle:How to create physical standby database with 11g RMAN DUPLICATE FROM ACTIVE DATABASE [ID 747250.1]
- How to remove Oracle Database from your computer---By Roger Gong
- How to create physical standby database with 11g RMAN DUPLICATE FROM ACTIVE DATABASE [ID 747250.1]
- How to Delete From or Add Resource to OCR in Oracle Clusterware (文档 ID 1069369.1)
- How to Export and Import the AWR Repository From One Database to Another (文档 ID 785730.1)
- How to Automate Startup/Shutdown of Oracle Database on Linux [ID 222813.1]
- How to create Oracle 11g R2 database manually in ASM?
- How to move a datafile from a file system to ASM (Doc ID 390274.1)
- How to copy a datafile from ASM to a file system not using RMAN (Doc ID 428893.1)
- Oracle Grid Infrastructure: How to Troubleshoot Missed Network Heartbeat Evictions (Doc ID 1534949.1