Solve the problem that OracleDBConsoleorcl cannot start
the
Execute emctl.bat manually, then start the console, execute emctl.bat istart dbconsole, report an error, ORACLE_SID is not defined, open emctl.bat to see, here is the place to define environment variables, which have been set:
the
if not defined REMOTE_EMDROOT (set ORACLE_HOME=Ec:oracleproduct10.2.0db_1)
the
if not defined REMOTE_EMDROOT (set EMDROOT=%ORACLE_HOME%)
www.2cto.com
if defined REMOTE_EMDROOT (set ORACLE_HOME=%REMOTE_EMDROOT%)
the
if defined REMOTE_EMDROOT (set EMDROOT=%ORACLE_HOME%)
the
if defined REMOTE_EMDROOT (set LOCAL_EMDROOT=c:oracleproduct10.2.0db_1)
…
There is another setting in the back:
the
If not defined DBCONSOLE_SERVICE_NAME (set DBCONSOLE_SERVICE_NAME=OracleDBConsole%ORACLE_SID%), ORACLE_SID is used, but the previous settings are not seen, so we can only try to manually set ORACLE_SID, so we added a setting:
www.2cto.com
if defined REMOTE_EMDROOT (set ORACLE_SID=orcl) orcl is my database instance name
Start OracleDBConsoleorcl in the service, ok, no error is reported;
After restarting the computer, no error was reported, and the OracleDBConsoleorcl service was also started.
emctl istart dbconsole
emctl istop dbconsole
emctl istatus dbconsole
the
the
Author leaves fall and flowers bloom
Solve the problem that OracleDBConsoleorcl cannot start
This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/solve-the-problem-that-oracledbconsoleorcl-cannot-start/