Oracle--windows cannot start ORACLEDBCONSOLEORCL on the local computer. Error code 1

Source: Internet
Author: User

After installing the database can start, restart the computer, the manual start will be error.

Phenomenon:

Windows cannot start ORACLEDBCONSOLEORCL on the local computer. For a lot of other information. Review the system event log. If this is a non-Microsoft service, please contact the service vendor. and refer to the specific service error code 2.


System Event Log report Error "Agent process exited abnormally during initialization."


What happened: Normal, the computer name changed or the IP address changed, you cannot start.

Workaround one: The resolution process is for example the following:


1. Start-"Execute cmd"


2. Run Emctl start Dbconsole


C:\Documents and Settings\xcl>emctl start Dbconsole


environment variable ORACLE_SID not defined. Please define it.


Hint: The environment variable ORACLE_SID is not defined, please define it.


3, set Oracle_sid =ORCL (ORCL is my instance name, is also the service name)


C:\Documents and Settings\xcl>set ORACLE_SID=ORCL


4. Run Emctl start again Dbconsole


C:\Documents and Settings\xcl>emctl start Dbconsole


Oc4j Configuration issue. E:\ORACLE\PRODUCT\10.2.0\DB_1/OC4J/J2EE/OC4J_DBCONSOLE_CHINA-D9E3F7D07_ORCL not found.


Tip: Unable to find "E:\ORACLE\PRODUCT\10.2.0\DB_1/OC4J/J2EE/OC4J_DBCONSOLE_CHINA-D9E3F7D07_ORCL"


Note: China-d9e3f7d07 is the name of my Computer


Copy the "OC4J_DBCONSOLE_LOCALHOST_ORCL" folder under the folder in the same folder and change the name to "OC4J_DBCONSOLE_CHINA-D9E3F7D07_ORCL".




5. Run Emctl start again Dbconsole


C:\Documents and Settings\xcl>emctl start Dbconsole


EM Configuration issue. E:\ORACLE\PRODUCT\10.2.0\DB_1/CHINA-D9E3F7D07_ORCL not found.


Tip: Unable to find "E:\ORACLE\PRODUCT\10.2.0\DB_1/CHINA-D9E3F7D07_ORCL"


Copy the "LOCALHOST_ORCL" folder under the folder in the same folder and change the name to "CHINA-D9E3F7D07_ORCL".




6. Run Emctl start again Dbconsole


C:\Documents and Settings\xcl>emctl start Dbconsole


Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0


Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.


http://localhost:1158/em/


Starting Oracle Enterprise Manager 10g Database Control ... Oracledbconsoleorcl


Service is starting


..............................


ORACLEDBCONSOLEORCL Service has started successfully


Such a method can succeed.


Solution Two first disable the network card, start the Dbconsole service, and then enter the Http://localhost:1158/em, false imagine the Internet. Re-start the NIC, ok!
Disadvantage: Every time you have to disable the network card talent enough to start, trouble!
Workaround three set the pensive NIC, in the Control Panel, click Add Hardware Select Microsoft Lookback adapter, go to Network Places, Internet connections, set up random IP, start, Oracle. Configuration and Porting tool, NetConfiguration Assistant to save the IP of the pensive NIC.

Oracle--windows cannot start ORACLEDBCONSOLEORCL on the local computer. Error code 1

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.