Oracle -- Windows cannot start OracleDBConsoleorcl on the local computer. Error Code 1, oracledbconsoleorcl

Source: Internet
Author: User

Oracle -- Windows cannot start OracleDBConsoleorcl on the local computer. Error Code 1, oracledbconsoleorcl

 

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.

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.