Solution to Oracle Enterprise Manager failure

Source: Internet
Author: User

Previously, the OEM was able to open the webpage, but it was not possible to open it at work today. Enter http: // localhost: 1158/em to prompt that the webpage could not be opened.
Check that:

Cmd command line

C: \ Documents ents and Settings \ Administrator> set Oracle_sid = orcl

C: \ Documents ents and Settings \ Administrator> emctl status dbconsole

Prompt Oracle Enterprise Manager 10g is not running

Okay. It seems that dbconsole is unavailable. Continue.

Emctl start dbconsole

OracleDBConsleorcl cannot be started.

It seems that we cannot afford it.

Go to the service for an interview. Run-> services. msc. Start the OracleDBConsleorcl service. The result shows that the OracleDBConsleorcl service is disabled after it is started. I don't know which student has done anything on the database server before. Maybe I changed my IP address? Changed the machine name? Or what? I don't care. solve this problem. Think about it, and re-create EM.

Back to windows Command Line execution

1,

C: \ Documents ents and Settings \ Administrator> emca-repos recreate

EMCA started at 11:18:06
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: orcl

Listener port: 1521
SYS user password:
Password of the SYSMAN User:

Continue? [Yes (Y)/no (N)]: y

2012-11-8 11:18:25 oracle. sysman. emcp. EMConfig perform
Information: Logging this operation to D: \ soft \ Oracle \ export toollogs \ emca \ orcl \ emca_2012-05-08_11
-Morning. log.
2012-11-8 11:18:28 oracle. sysman. emcp. EMReposConfig dropRepository
Information: deleting the EM archives. This operation may take some time )...
2012-11-8 11:19:27 oracle. sysman. emcp. EMReposConfig invoke
Information: The archive has been deleted successfully.
2012-11-8 11:19:28 oracle. sysman. emcp. EMReposConfig createRepository
Information: creating the EM archives (this operation may take some time )...
2012-11-8 11:21:29 oracle. sysman. emcp. EMReposConfig invoke
Information: You have created a Data Archiving database.
The Enterprise Manager configuration has been completed successfully.
EMCA ended at 11:21:29

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

The above operation re-creates the EM data archival Library

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

2. Configure the console:

C: \ Documents ents and Settings \ Administrator> emca-config dbcontrol db

EMCA started at 11:23:42
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: 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
Continue? [Yes (Y)/no (N)]: y
Listener port: 1521
SYS user 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: \ soft \ Oracle

Database Host Name ...... Name-15DF19DF

Listener port number ...... 1521
Database SID ...... orcl

Email Address of the notification ...............
Notification sending (SMTP) server ...............

-----------------------------------------------------------------
Continue? [Yes (Y)/no (N)]: y

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

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

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

Information: >>>>>>>>>> Database Control URL is http: // Name-15DF19DF: 1158/em <
<
The Enterprise Manager configuration has been completed successfully.
EMCA ended at 11:27:43

C: \ Documents ents and Settings \ Administrator> emctl start dbconsole

Okay, the console service is started,

The OEM can also log on normally.

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

Of course, you can also redo the two EM statements and write them together:

Emca-config dbcontrol db-repos recreate

It is equal to emca-repos recreate + emca-config dbcontrol db

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.