Uninstall the EM 12C.

来源:互联网 发布:农村淘宝服务站是什么 编辑:程序博客网 时间:2024/05/17 01:41

如何Uninstall the EM 12C?

如果想去掉12C或如果你在安装过程中发生下面的错误,是因为你的库里面已经有了一个EM  respository了。

 我们可以用下面的办法移除这个EM  respository.

bash-3.00$ $ORACLE_HOME/bin/emca -deconfigdbcontrol db -repos drop -cluster -SERVICE_NAME RPTMCS.oracle.com -SYS_PWD syspassword-SYSMAN_PWD sysman

 

STARTED EMCA at Oct 13, 2011 2:44:51 AM

EM Configuration Assistant, Version11.2.0.0.2 Production

Copyright (c) 2003, 2005, Oracle.  All rights reserved.

 

Enter the following information:

Database unique name: RPTMCS

Listener port number: 1521

Listener ORACLE_HOME [/gridhome/app/11.2.0/grid ]:

----------------------------------------------------------------------

WARNING : While repository is dropped thedatabase will be put in quiesce mode.

----------------------------------------------------------------------

Do you wish to continue? [yes(Y)/no(N)]:yes

Oct 13, 2011 2:45:18 AMoracle.sysman.emcp.EMConfig perform

INFO: This operation is being logged at/orahome/app/oracle/cfgtoollogs/emca/RPTMCS/emca_2011_10_13_02_44_49.log.

Oct 13, 2011 2:45:54 AMoracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely

WARNING: Error during db connection :ORA-01017: invalid username/password; logon denied

 

Oct 13, 2011 2:46:00 AMoracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely

WARNING: ORA-01017: invalidusername/password; logon denied

 

Oct 13, 2011 2:46:00 AMoracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl

WARNING: Error initializing SQL connection.SQL operations cannot be performed

Oct 13, 2011 2:46:01 AMoracle.sysman.emcp.EMDBPreConfig performDeconfiguration

WARNING: EM is not configured for thisdatabase. No EM-specific actions can be performed. Some of the possible reasonsmay be:

 1)EM is configured with different hostname then physical host. Set environmentvariable ORACLE_HOSTNAME=<hostname> and re-run EMCA script

 2)ORACLE_HOSTNAME is set. Unset it and re-run EMCA script

Oct 13, 2011 2:46:01 AM oracle.sysman.emcp.EMReposConfiginvoke

INFO: Dropping the EM repository (this maytake a while) ...

Oct 13, 2011 4:09:18 AMoracle.sysman.emcp.EMReposConfig invoke

INFO: Repository successfully dropped

Enterprise Manager configuration completedsuccessfully

FINISHED EMCA at Oct 13, 2011 4:09:20 AM