Oracle -- Windows cannot start OracleDBConsoleorcl on the local computer. Error Code 1
After the database is installed, it can be started. After the computer is restarted, an error will be reported when it is manually started.
Symptom:
Windows cannot start OracleDBConsoleorcl on a local computer. For more information, see System Event Logs. If this is a non-Microsoft Service, contact the service provider and refer to service error code 2.
System Event Log error "Agent process exited abnormally during initialization ."
Situation: The computer cannot be started after the computer name or IP address is changed,
Solution 1: follow these steps:
1. Start-run cmd
2. Run emctl start dbconsole.
C: \ Documents ents and Settings \ xcl> emctl start dbconsole
Environment variable ORACLE_SID not defined. Please define it.
Tip: The environment variable ORACLE_SID is not defined. Please define it.
3. Set ORACLE_SID = ORCL (orcl is my Instance name and service name)
C: \ Documents ents and Settings \ xcl> set oracle_sid = orcl
4. Run emctl start dbconsole again.
C: \ Documents ents and Settings \ xcl> emctl start dbconsole
.
Prompt: cannot find "E: \ oracle \ product \ 10.2.0 \ db_1/Solaris/j2ee/OC4J_DBConsole_china-d9e3f7d07_orcl"
Note: china-d9e3f7d07 is my computer name
Copy the "OC4J_DBConsole_localhost_orcl" folder under the Directory and change the name to "OC4J_DBConsole_china-d9e3f7d07_orcl ".
5. Run emctl start dbconsole again.
C: \ Documents ents and Settings \ xcl> emctl start dbconsole
EM Configuration issue. E: \ oracle \ product \ 10.2.0 \ db_1/china-d9e3f7d07_orcl not found.
Prompt: cannot find "E: \ oracle \ product \ 10.2.0 \ db_1/china-d9e3f7d07_orcl"
Copy the "localhost_orcl" folder under this directory to the same directory and change the name to "china-d9e3f7d07_orcl ".
6. Run emctl start dbconsole again.
C: \ Documents ents and Settings \ xcl> emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996,200 6 Oracle Corporation. All rights reserved.
Http: // localhost: 1158/em/
Starting Oracle Enterprise Manager 10g Database Control... OracleDBConsoleorcl
The service is starting.
..............................
OracleDBConsoleorcl service started successfully
This method can be successful.
Solution 2: first disable the NIC, start the dbconsole service, and then go to http: // localhost: 1158/em. If you want to access the Internet, then start the NIC. OK!
Disadvantage: You must disable the NIC to start each time!
Solution 3: Set the network interface card. In the control panel, click Add hardware and select microsoft lookback adapter to enter the network neighbors, network connection, set any IP address, start, oracle, and configure and port the tool, netconfiguration assistant adds and saves the IP address of the Back-to-network interface card.