Oracle EM configuration Failure Ultimate Solution ____oracle

Source: Internet
Author: User

Spent two or three days to configure Oracle Enterprise Manager, referred to as EM, whether through the DBCA or EMCA commands are always failure, in the search for a lot of information without fruit, after a toss finally configured successfully, and decided to do a summary to help meet the same problems with the small partners:


1. Close the firewall, anti-virus software, disconnect the network. --This is a very important step .

If opening the network may cause IP problems in Oracle, a directory under Oracle's Db_1 directory will be created based on current IP and may encounter problems with EM when the IP changes. If you have already created the folder based on IP, you can change the name of the folder to the machine name.

The folder is named:


The machine name, possibly IP, followed by the database instance name before underlining.

Then open the Tnsnames.ora file under Oracle\product\10.2.0\db_1\network\admin. Change the part of the red line to the machine name.

Tnsnames.ora contents are as follows:


However, a better approach is to remove the EM reconfiguration, because there may be an error in the process, which does not necessarily solve the problem.


2.cmd Open Command prompt, enter emca-deconfig dbcontrol db-repos drop, remove em



3. Check whether the folder mentioned in the first step is still in the directory oracle\product\10.2.0\db_1, if it is still deleted, in the directory oracle\product\10.2.0\db_1\oc4j\ Java EE has a folder named in the same way, deleted.


4. Open the Targets.xml file in the Oracle\product\10.2.0\db_1\sysman\emd directory, leaving the outermost <targets></targets> .


5. Run command emca-deconfig Dbcontrol db-repos Create, reconfigure EM




6. The configuration was successful, and the link to the above underline was opened in the browser.


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.