Oracle 10g rebuild EM DB control

Source: Internet
Author: User
Tags config port number

1.drop configuration files and repository run:
Emca-deconfig dbcontrol db-repos drop 2. Logon sqlplus as user SYS or SYSTEM, and drop the Sysman account and Mangement objects:
A. Drop user Sysman cascade;
B. Drop role Mgmt_user;
C. Drop user Mgmt_view cascade;
d. Drop public synonym mgmt_target_blackouts;
E. Drop public synonym Setemviewusercontext;

3.Create configuration files and repository run
Emca-config Dbcontrol Db-repos Create

When you create EM, the port number of the prompt should be the number of the instance's break, such as 1521, not the port number of EM (for example, 1158)
The port number of EM can be found in this file 10.2.0\db_1\sysman\config\emca.properties

Then, after conducting EM, the interface came out, but reported a mistake:
Java.lang.Exception:Exception in sending Request:: null
Many features are not available, prompting you to log in again.
A workaround was found at the Oracle forum:
http://forums.oracle.com/forums/thread.jspa?threadID=320574&tstart=0&messageID=1374397
Find the following file
10.2.0\db_1\zyknet_orc2\sysman\config\emd.properties
The default for Agenttzregion is GMT, which can be changed to your time zone, for example:
Agenttzregion=asia/chungking
About the time zone list reference: 10.2.0\db_1\sysman\admin\supportedtzs.lst
Then restart oracledbconsole<sid>.

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.