启动DBCONSOLE失败

启动DBCONSOLE失败

启动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 服务正在启动 .....................

你可能感兴趣的:(启动DBCONSOLE失败)