Receiving Error code 2 while starting OracleDbConsole service on Windows


You receive below error while starting oracledbconsole service on Windows.

“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”

In the directory ORACLE_HOME\oc4j\j2ee there is a directory OC4J_DBConsole_localhost_orcl or OC4J_DBConsole_HOSTNAME_orcl.
make a copy (or set a link) from the directory and rename it to the specified name. So you have two directory
OC4J_DBConsole_localhost_orcl
OC4J_DBConsole_HOSTNAME_orcl

This should resolve the issue

 

Advertisements

Leave a comment

Filed under Oracle

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s