Today want to visit Oracle's EM service, but the dead and alive, Baidu told that there is no start ORACLEDBCONSOLEORCL service, enter the service, right click Start, prompt error, Baidu for a long time, the final solution is as follows:
1:cmd command line run emctl start dbconsole
The result is environment variable ORACLE_SID not defined. Please define it.
2: Continue to run set ORACLE_SID=ORCL, this time should not be an error, indicating the success of the setup.
3: Continue running Emctl start Dbconsole,
The error is: oc4j Configuration issue. D:\ORACLE\PRODUCT\10.2.0\DB_1/OC4J/J2EE/OC4J_DBCONSOLE_172.17.17.12_ORCL not found.
Note that this folder does not exist, go to the corresponding directory, find a similar folder, copy one, rename to
Oc4j_dbconsole_172.17.17.12_orcl.
4: Continue running Emctl start Dbconsole
The error is: EM Configuration issue. D:\ORACLE\PRODUCT\10.2.0\DB_1/172.17.17.12_ORCL not found.
Go to the corresponding directory, find similar folders, copy, paste, modify the folder name to 172.17.17.12_ORCL.
5: Continue to run Emctl start dbconsole, should not be prompted wrong, go to service there to start this service, you can.
Note: If you still have a problem, modify the Hosts file as follows:
127.0.0.1 Your computer name
The problem was later tested because it was networked when the Oracle was installed, then the IP was automatically acquired, the IP folder was not found, and the service failed to start.
This article is from the "butcher36" blog, make sure to keep this source http://butcher36.blog.51cto.com/9315484/1763004
Oracle Service ORACLEDBCONSOLEORCL failed to start