EMCA command, EM cannot start

Source: Internet
Author: User
Tags create database
The problem with Oracle EM not starting today may be the reason the IP changed, so I used the EMCA command to reconfigure Oracle EM, as follows: I:/documents and SETTINGS/GESHAOQING>EMCA- Config Dbcontrol Db-repos recreate EMCA started at 2007-10-12 11:16:40
EM Configuration Assistant 10.2.0.1.0 Official edition
Copyright (c) 2003,%, Oracle. All rights reserved. Enter the following information:
Database SID:ORCL
Database control has been configured for DB ORCL
You have chosen to configure database control to manage databases ORCL
This action will remove the existing configuration and default settings and perform the configuration again
Do you want to continue? [Yes (y)/no (N)]: Y
Listener Port number: 1521
SYS User's password:
DBSNMP User's password:
Sysman User's password:
Sysman User's password: email address of notification (optional):
Notification of the outgoing (SMTP) server (optional):
-----------------------------------------------------------------have specified the following settings database Oracle_home ... e:/.... Oracle/product/10.2.0/db_1 the database host name ... hailang.mshome.net. ......
Listen to the program port number ....... 1521
Database SID ... orcl. ........
e-mail address of the notification ... .....
Notification of the outgoing (SMTP) server .......-----------------------------------------------------------------
Do you want to continue? [Yes (y)/no (N)]: Y
2007-10-12 11:17:32 Oracle.sysman.emcp.EMConfig Perform
Info: Logging This action to e:/oracle/product/10.2.0/db_1/cfgtoollogs/emca/orcl/emca_2007-
2007-10-12 11:17:37 Oracle.sysman.emcp.util.DBControlUtil stopoms
Info: The Database control is being stopped (this operation may take some time) ...
2007-10-12 11:17:40 Oracle.sysman.emcp.EMReposConfig droprepository
Info: Removing the EM data archive (this operation may take some time) ...
2007-10-12 11:24:23 Oracle.sysman.emcp.EMReposConfig Invoke
Info: The data archive has been successfully deleted
2007-10-12 11:24:24 Oracle.sysman.emcp.EMReposConfig createrepository
Info: Creating the EM Data archive (this operation may take some time) ...
2007-10-12 11:34:36 Oracle.sysman.emcp.EMReposConfig Invoke
Info: The data archive has been successfully created
2007-10-12 11:35:15 Oracle.sysman.emcp.util.DBControlUtil startoms
Info: Starting Database control (this operation may take some time) ...
2007-10-12 11:36:56 Oracle.sysman.emcp.EMDBPostConfig performconfiguration
Info: Database Control was successfully started
2007-10-12 11:36:56 Oracle.sysman.emcp.EMDBPostConfig performconfiguration
Warning: Unable to create Database control shortcut
2007-10-12 11:36:56 Oracle.sysman.emcp.EMDBPostConfig performconfiguration
Info: >>>>>>>>>>> Database control URL is Http://hailang.mshome.net:5500/em << <<<<<<<<<
Successfully completed Enterprise Manager's configuration in 10g, we may often encounter problems with OEM not working properly, but the cause of the problem is not the same, the final most of the problems can be solved by EMCA This command, detailed instructions can view the computer help, Here are some common commands, and examples of steps.

Create an EM repository
Emca-repos Create
Rebuilding an EM database
Emca-repos recreate
Delete an EM repository
Emca-repos Drop
Metabase control for the configuration database
Emca-config Dbcontrol DB
Delete database control configuration for databases
Emca-deconfig Dbcontrol DB
To reconfigure the port for DB control, the default port is 1158
Emca-reconfig ports
Emca-reconfig Ports-dbcontrol_http_port 1160
Emca-reconfig Ports-agent_port 3940
Start the EM console service after setting the ORACLE_SID environment variable
Emctl Start Dbconsole
Stop the EM console service after setting the ORACLE_SID environment variable
Emctl Stop Dbconsole
View the status of the EM console service after setting the ORACLE_SID environment variable first
Emctl Status Dbconsole

Steps to configure Dbconsole
Emca-repos Create
Emca-config Dbcontrol DB
Emctl Start Dbconsole
To reconfigure Dbconsole
Emca-repos Drop
Emca-repos Create
Emca-config Dbcontrol DB
Emctl Start Dbconsole

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.