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!