啟動DBCONSOLE失敗
1.啟動dbconsole失敗,剛開始以為是參數的原因
D:\>emctl start dbconsole
Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.
D:\>set ORACLE_UNQNAME=jane
D:\>emctl start dbconsole
OC4J Configuration issue. D:\oracle\product\11.2.0\dbhome_1/oc4j/j2ee/OC4J_DBConsole_runingpig_jane not found.
D:\>set ORACLE_UNQNAME=JANE
D:\>emctl start dbconsole
OC4J Configuration issue. D:\oracle\product\11.2.0\dbhome_1/oc4j/j2ee/OC4J_DBConsole_runingpig_JANE not found.
2.OC4J_DBConsole_RUNNINGPIG_jane文件夾存在.
D:\>set ORACLE_UNQNAME=jane
D:\>emctl start dbconsole
EM Configuration issue. D:\oracle\product\11.2.0\dbhome_1/runingpig_jane not found.
3.忽然發現runingpig和自己的計算機名對不上,檢查計算機名,應該是RUNNINGPIG,檢查hosts文件,發現修改過,修正后啟動正常
D:\>set ORACLE_SID=jane
D:\>emctl start dbconsole
OC4J Configuration issue. D:\oracle\product\11.2.0\dbhome_1/oc4j/j2ee/OC4J_DBConsole_runingpig_jane not found.
D:\>emctl start dbconsole
EM Configuration issue. D:\oracle\product\11.2.0\dbhome_1/runingpig_jane not found.
D:\>emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://RUNNINGPIG:5500/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ...OracleDBConsolejane 服務正在啟動 .....................