ORACLE: solutions to errors when Database Control is started

Source: Internet
Author: User

1. Basic operations

 

Emca-repos create creates an EM document
Emca-repos recreate re-creates an EM Database
Emca-repos drop delete an EM Database
Emca-config dbcontrol dB configure Database Control of the database
Emca-deconfig dbcontrol dB deletes the Database Control Configuration of a Database
Emca-reconfig ports reconfigure dB control and Agent ports
Emctl start console to start the EM console service. You need to set the oracle_sid environment variable before use.
Emctl stop console to stop the EM console service. You need to set the oracle_sid environment variable before use.
Note: You can check the $ ORACLE_HOME/install/portlist. ini file to find the port currently in use by dbcontrol. The default port is dbcontrol http port 1158 and Agent port 3938. To reconfigure the port, run the following command:
Emca-reconfig ports-dbcontrol_http_port 1159
Emca-reconfig ports-agent_port 3939
Use the command line tool emctl to start/stop the console service and view the service status.

 

 

2. Cause Analysis

1) Java version Problems

Check the installation and version of the Java virtual machine first. If there is a conflict, solve the version problem first! A simple method is to download a JDK that is compatible with JVM and replace the version that comes with Oracle. I believe everyone can do this.

C: \ Documents ents and Settings \ yhy> WMIC

WMIC: Root \ CLI> Process

I found that java.exe is the JDK of the Oracle version and ran to its source folder for a query, Which is 1.5, while my Java Virtual Machine is 1.6, which is probably the reason for this, so I downloaded the latest JDK 1.6 on the sun homepage, all of which replaced the 1.5 version of the Oracle version,

2) multiple network problems

Check your network connection. If you have multiple network connections and there may be problems, disable them temporarily. Leave one and try again! Some netizens may have to disconnect the network. I think it should be okay if the network is disconnected or not. If not, try to disconnect the network!

 

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.