Solution for failure to start the console after Oracle modifies the machine name

Source: Internet
Author: User

After we installed Oracle10g on the machine, we found that it was still the default machine name. It was too long to remember and changed to a simple one.

Restart the system, start the console, and prompt the Agent process exited abnormally during initializat.

After searching online, the following solutions are available:

 

 

Online Solutions

The oracledbconsoleorcl service cannot be started: Agent process exited abnormally during initialization.

The oracledbconsoleorcl service cannot be started. In the event viewer, the Agent process exited abnormally during initialization. Record is displayed. I know it is because I changed the machine name. Google solved this problem and found many people are asking, it seems that everyone often changes the machine name.

 

I found that the Oracle em generated a directory using my original machine name, which contains the relevant configuration file and is changed immediately. Start the service, OK.

D: \ oracle \ product \ 10.1.0 \ db_1 \ Solaris \ J2EE \ oc4j_dbconsole _ (computer name + Domain Name) _ orcl \ config

The machine name to be modified is shown in red.

If you have changed the computer name or added a domain name, and Oracle em cannot be started properly, you need to update the red part to your new computer name + domain name.

Then restart the Oracle service em to start properly.

 

This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/tcl19841002/archive/2008/08/06/2774610.aspx

 

After the test, the Oracle SID variable is not set.

Run: Set oracle_sid = orcl

Then execute

 

 

Emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996,200 5 Oracle Corporation. All rights reserved.
Http: // 8ianbtb1nnm0n2n: 1158/EM/console/aboutapplication
Starting Oracle Enterprise Manager 10g Database Control... oracledbconsoleorcl
The service is starting.
The oracledbconsoleorcl service cannot be started.

System error.

System Error 3.

The specified path cannot be found.

 

 

Solution:

 

 

C: \ Documents ents and Settings \ Administrator>Emca-config dbcontrol DB

Emca started at 16:44:07
Em configuration assistant 10.2.0.1.0 official version
Copyright (c) 2003,200 5, Oracle. All rights reserved.

Enter the following information:
Database Sid:
Database Sid:Orcl
Database Control configured for database orcl
You have chosen to configure Database Control to manage the database orcl
This operation will remove the existing configuration and default settings, and re-execute the configuration
YesNo, continue? [Yes (y)/NO (n)]: Y
ListenersProgramPort Number:1521
Sys user password:
Dbsnmp user password:
Dbsnmp User Password: the user name/password is invalid.
Dbsnmp user password:
Invalid username/password.
Dbsnmp user password:
Password of the sysman User:
Email Address of the notification (optional ):
Notification sending (SMTP) server (optional ):

 

 

-----------------------------------------------------------------

The following settings have been specified:

Database ORACLE_HOME ...... D: \ oracle \ product \ 10.2.0 \ db_1

Database Host Name ......
Listener port number ...... 1521
Database Sid ...... orcl
Email Address of the notification ...............
Notification sending (SMTP) server ...............

-----------------------------------------------------------------
Yes No, continue? [Yes (y)/NO (n)]: Y
2009-11-13 16:46:34 oracle. sysman. emcp. emconfig perform
Information: The operation is being recorded to D: \ oracle \ product \ 10.2.0 \ db_1 \ export toollogs \ emca \ orcl \ EMC
A_2009-11-13_04-44-07-Afternoon. log.
16:46:35 oracle. sysman. emcp. databasechecks restore mreposchecks
Warning 'shared _ pool_size 'must be greater than or equal to 80 Mb.
16:46:36 oracle. sysman. emcp. util. dbcontrolutil stopoms
Information: The Database Control is being stopped (this operation may take some time )...
2009-11-13 16:46:46 oracle. sysman. emcp. util. dbcontrolutil startoms
Information: Starting Database Control (this operation may take some time )...
16:47:36 oracle. sysman. emcp. emdbpostconfig configure mconfiguration
Information: The Database Control has been started successfully.
16:47:36 oracle. sysman. emcp. emdbpostconfig configure mconfiguration
Warning: The Database Control shortcut cannot be created.
16:47:36 oracle. sysman. emcp. emdbpostconfig configure mconfiguration
Information: >>>>>>>>>> Database Control URL is http: // agsmp: 1158/EM <
The Enterprise Manager configuration has been completed successfully.
Emca ended at 16:47:36

 

 

 

 

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.