Oracle10g, OracleDBConsoleoracl is my service.
The service cannot be started the next day, because the IP address is changed.
1. Run "emctl start dbconsole" under the cmd command. "Environment variable ORACLE_SID not defined. Please define it." appears on the screen ."
2. Reset the "ORACLE_SID" variable, "set ORACLE_SID = CMDL ".
3. Run "emctl start dbconsole" again under the cmd command. The screen displays "EM Configuration issue. D: \ oracle \ product \ 10.1.0 \ Db_1/192.168.18.9 _ oracle not found ".
4. modify D: \ oracle \ product \ 10.1.0 \ NETWORK \ ADMIN \ listener. the host name in the ora file is changed to the host name on your computer by default. skip this step if the host name already exists.
5. Copy D: \ oracle \ product \ 10.1.0 \ 192.168.18.9 _ a6l and change the copied folder name to "new IP address _ Instance name ".
6. Go to the directory and change 192.168.18.9 _ CMDL or localhost_cmdl to your computer name.
6. Copy D: \ oracle \ product \ 10.1.0 \ Solaris \ j2ee \ OC4J_DBConsole_192.168.18.9_oracl to "OC4J_DBConsole _ your computer name _ l"
The installation directory of each user is different. You only need to search for the folder name and do not delete the original localhost settings.
Run emctl status dbconsole in CMD to obtain the EM path and paste it to the browser.
Run emctl start DBConsole if dbconsole is not started.
Run the following command in cmd: regeit. Find the path D: \ ORACLE \ product \ 10.2.0 \ db_1 \ your computer name _ orcl under HKEY_LOCAL_MACHINE \ SOFTWARE \ oracle \ SYSMAN \ OracleDBConsoleorcl \ EMSTATE.
Then start the service ................
Author Huang Xiaowang