EMCTL 无法启动

cmd下启动oracle控制台,命令:emctl start dbconsole

报错:

OC4J Configuration issue. /opt/oracle/oracle/product/10.2.0/DB/oc4j/j2ee/OC4J_DBConsole_COMPUTERNAME_MV10 not
found.

 

而检查目录,实际为:

 

OC4J Configuration issue. /opt/oracle/oracle/product/10.2.0/DB/oc4j/j2ee/OC4J_DBConsole_localhost_MV10 not
found.

 

解决办法:设定环境变量

set ORACLE_HOSTNAME=localhost

 

重启解决!

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