Error code 2 starting OracleDbConsole service

oracle11gr2

Solution

You can use the following command to check the issues/configuration status of OracleDBConsoleorcle:

emctl status dbconsole

You can then configure accordingly.

Problem

I installed Oracle DB 11g, everything was working well, but suddenly process `OracleDbConsoleorcl` didn't start anymore, I try manually but it always shows this message: ``` Windows could not start OracleDbConsoleorcl on Local Computer. If this is a non-Microsoft service, contact the service vendor, and refer the service specific error code 2 ``` What should I do??

Original source