本地计算机 无法启动OracleDBConsolemp 服务 错误 1053

a)执行emctl.bat,报错:ORACLE_SID没有定义;
b)在注册表中查找ORACLE_SID的项,记录下其值,在系统环境变量定义中加入一项ORACLE_SID并且将值设置为与注册表中的值一样;
c)再次执行emctl.bat,报错:
EM Configuration issue. D:\Oracleproduct10.1.0Db_1/10.40.47.33_oracle10 not found.
在ORACLE_HOME的目录下找名为“机器名_SID”的目录,比如:acer-walter_oracle10将以上目录COPY一份并将新的目录根据错误提示改名,比如,改名为:10.40.47.33_oracle10,再次执行emctl.bat,执行时不再有错误了。
d)执行:emctl status dbconsole,报错:
OC4J Configuration issue. 
D:\Oracleproduct10.1.0Db_1/oc4j/j2ee/OC4J_DBConsole_10.40.47.33_oracle10 not found.
在ORACLE_HOME的“oc4jj2ee”目录下找名为“OC4J_DBConsole_机器名_SID”的目录,比如:OC4J_DBConsole_acer-walter_oracle10将以上目录COPY一份并将新的目录根据错误提示改名,比如,改名为:OC4J_DBConsole_10.40.47.33_oracle10,再次执行emctl status dbconsole时不再有错误了,提示:
Oracle Enterprise Manager 10g Database Control Release 10.1.0.2.0
Copyright (c) 1996, 2004 Oracle Corporation.  All rights reserved.
http://acer-walter:5500/em/console/aboutApplication
Oracle Enterprise Manager 10g is not running.
------------------------------------------------------------------
Logs are generated in directory D:\Oracleproduct10.1.0Db_1/10.40.47.33_oracle10/sysman/log
e)再次尝试启动OracleDBConsoleSID服务,就可以成功了。
原文地址:https://www.cnblogs.com/top5/p/2097994.html