Oracle Rule Manager
10.2.0.5.0 VALID
Oracle Workspace Manager
10.2.0.5.0 VALID
COMP_NAME
--------------------------------------------------------------------------------
VERSION STATUS
------------------------------ ----------------------
Oracle Database Catalog Views
10.2.0.5.0 VALID
Oracle Database Packages and Types
10.2.0.5.0 VALID
JServer JAVA Virtual Machine
10.2.0.5.0 VALID
COMP_NAME
--------------------------------------------------------------------------------
VERSION STATUS
------------------------------ ----------------------
Oracle XDK
10.2.0.5.0 VALID
Oracle Database Java Packages
10.2.0.5.0 VALID
已选择11行。
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
NLSRTL Version 10.2.0.5.0 - Production
最后是升级下DBConsole
C:\Documents and Settings\ldy>set ORACLE_SID=TEST
C:\Documents and Settings\ldy>emca -upgrade db
STARTED EMCA at Feb 15, 2012 10:19:12 AM
EM Configuration Assistant, Version 10.2.0.5.0 Production
Copyright (c) 2003, 2009, Oracle. All rights reserved.
Enter the following information:
ORACLE_HOME for the database to be upgraded: D:\oracle\product\10.2.0\db_1
Database SID: TEST
Listener port number: 1521
Do you wish to continue [yes(Y)/no(N)]: Y
Feb 15, 2012 10:19:51 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at D:\oracle\product\10.2.0\db_1\cfgtoollog
s\emca\TEST\emca_2012-02-15_10-19-12-AM.log.
Feb 15, 2012 10:19:59 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Feb 15, 2012 10:20:45 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Feb 15, 2012 10:21:06 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Feb 15, 2012 10:21:06 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Feb 15, 2012 10:30:56 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database Control
Refer to the log file at D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\TEST\emc
a_2012-02-15_10-19-12-AM.log for more details.
Could not complete the configuration. Refer to the log file at D:\oracle\product
\10.2.0\db_1\cfgtoollogs\emca\TEST\emca_2012-02-15_10-19-12-AM.log for more deta
ils.
报错了,检查了下日志
SEVERE: Error starting Database Control
Refer to the log file at D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\TEST\emca_2012-02-15_10-19-12-AM.log for more details.
Feb 15, 2012 10:30:56 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
at oracle.sysman.emcp.EMDBPostConfig.performUpgrade(EMDBPostConfig.java:766)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMD