Detailed introduction to the reconstruction process of the EM Console of the Oracle database

Source: Internet
Author: User

Oracle DatabaseInEM Console ReconstructionEM startup error. The error code is as follows:

 
 
  1. C:\Documents and Settings\GAOYANG>set ORACLE_SID=rman 
  2.  
  3. C:\Documents and Settings\GAOYANG>emctl start dbconsole  
  4.  
  5. OC4J Configuration issue. D:\oracle\product\10.2.0  
  6.  
  7. \db_1/oc4j/j2ee/OC4J_DBConsole  
  8.  
  9. _192.100.8.188_rman not found. 

As a result, we will analyze the problems that may occur during reconstruction:

 
 
  1. 1.EM Configuration issue  
  2.  
  3. 2.OC4J Configuration issue 

Follow these steps to recreate the Oracle 10g EM Console.

 
 
  1. C: \ Documents ents and Settings \ GAOYANG> emca-config dbcontrol db-repos
  2.  
  3. Recreate
  4.  
  5. EMCA started at 9:28:19
  6.  
  7. EM Configuration Assistant 10.2.0.1.0 official version
  8.  
  9. Copyright (c) 2003,200 5, Oracle. All rights reserved.
  10.  
  11. Enter the following information:
  12.  
  13. Database SID: rman
  14.  
  15. Listener port: 1158
  16.  
  17. SYS user password:
  18.  
  19. DBSNMP user password:
  20.  
  21. Password of the SYSMAN User:
  22.  
  23. Email Address of the notification (optional ):
  24.  
  25. Notification sending (SMTP) server (optional ):
  26.  
  27. -----------------------------------------------------------------
  28.  
  29. The following settings have been specified:
  30.  
  31. Database ORACLE_HOME ...... D: \ oracle \ product \ 10.2.0 \ db_1
  32.  
  33. Database Host Name...
  34.  
  35. Listener port number ...... 1158
  36.  
  37. Database SID ...... rman
  38.  
  39. Email Address of the notification ...............
  40.  
  41. Notification sending (SMTP) server ...............
  42.  
  43. -----------------------------------------------------------------
  44.  
  45. Continue? [Yes (Y)/no (N)]: Y
  46.  
  47. 9:28:36 oracle. sysman. emcp. EMConfig perform
  48.  
  49. Information: The operation is logged to D: \ oracle \ product \ 10.2.0 \ db_1.
  50.  
  51. \ Export toollogs \ emca \ rman \ emc
  52.  
  53. A_2009-05-06_09-28-19-Morning. log.
  54.  
  55. 9:28:40 oracle. sysman. emcp. EMReposConfig dropRepository
  56.  
  57. Information: deleting the EM archives. This operation may take some time )...
  58.  
  59. 9:28:42 oracle. sysman. emcp. EMReposConfig invoke
  60.  
  61. Information: The archive has been deleted successfully.
  62.  
  63. 9:28:43 oracle. sysman. emcp. EMReposConfig createRepository
  64.  
  65. Information: creating the EM archives (this operation may take some time )...
  66.  
  67. 9:28:43 oracle. sysman. emcp. EMReposConfig invoke
  68.  
  69. Severe: An error occurred while creating the archive.
  70.  
  71. 9:28:43 oracle. sysman. emcp. EMReposConfig invoke
  72.  
  73. Information: For more information, see log files in D: \ oracle \ product \ 10.2.0 \ db_1 \ export toollogs \ emca \ rman \ emca_repos_create _ <date>. log.
  74.  
  75. 9:28:43 oracle. sysman. emcp. EMConfig perform
  76.  
  77. Severe: An error occurred while creating the archive.
  78.  
  79. For more information, see log files in D: \ oracle \ product \ 10.2.0 \ db_1 \ export toollogs \ emca \ rman \ emca_2009-05-06_09-28-19-am. log.
  80.  
  81. Configuration cannot be completed. For more information, see log files in D: \ oracle \ product \ 10.2.0 \ db_1 \ export toollogs \ emca \ rman \ emca_2009-05-06_09-28-19-am. log.
  82.  
  83. 3. If an error is reported in oracle. sysman, resulting in failure
  84.  
  85. A. drop user sysman cascade;
  86.  
  87. B. drop role MGMT_USER;
  88.  
  89. C. drop user MGMT_VIEW cascade;
  90.  
  91. D. drop public synonym MGMT_TARGET_BLACKOUTS;
  92.  
  93. E. drop public synonym SETEMVIEWUSERCONTEXT;
  94.  
  95. F. emca-config dbcontrol db-repos create
  96.  
  97. C: \ Documents ents and Settings \ GAOYANG> sqlplus/as sysdba
  98.  
  99. SQL * Plus: Release 10.2.0.1.0-Production on Wed May 6 09:29:31 2009
  100.  
  101. Copyright (c) 1982,200 5, Oracle. All rights reserved.
  102.  
  103. Connected:
  104.  
  105. Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-Production
  106.  
  107. With the Partitioning, OLAP and Data Mining options
  108.  
  109. SQL> drop user sysman cascade;
  110.  
  111. User dropped.
  112.  
  113. SQL> drop role MGMT_USER;
  114.  
  115. Role dropped.
  116.  
  117. SQL> drop user MGMT_VIEW cascade;
  118.  
  119. User dropped.
  120.  
  121. SQL> drop public synonym MGMT_TARGET_BLACKOUTS;
  122.  
  123. Synonym dropped.
  124.  
  125. SQL> drop public synonym SETEMVIEWUSERCONTEXT;
  126.  
  127. Synonym dropped.
  128.  
  129. SQL> exit
  130.  
  131. Disconnected from Oracle Database 10g Enterprise Edition Release
  132.  
  133. 10.2.0.1.0-Pr
  134.  
  135. Oduction
  136.  
  137. With the Partitioning, OLAP and Data Mining options
  138.  
  139. C: \ Documents ents and Settings \ GAOYANG> emca-config dbcontrol db-repos
  140.  
  141. Create
  142.  
  143. EMCA started at 9:32:24
  144.  
  145. EM Configuration Assistant 10.2.0.1.0 official version
  146.  
  147. Copyright (c) 2003,200 5, Oracle. All rights reserved.
  148.  
  149. Enter the following information:
  150.  
  151. Database SID: rman
  152.  
  153. Listener port: 1158
  154.  
  155. SYS user password:
  156.  
  157. DBSNMP user password:
  158.  
  159. Password of the SYSMAN User:
  160.  
  161. Password of the SYSMAN User: email address of the notification (optional ):
  162.  
  163. Notification sending (SMTP) server (optional ):
  164.  
  165. -----------------------------------------------------------------
  166.  
  167. The following settings have been specified:
  168.  
  169. Database ORACLE_HOME ...... D: \ oracle \ product \ 10.2.0 \ db_1
  170.  
  171. Database Host Name...
  172.  
  173. Listener port number ...... 1158
  174.  
  175. Database SID ...... rman
  176.  
  177. Email Address of the notification ...............
  178.  
  179. Notification sending (SMTP) server ...............
  180.  
  181. -----------------------------------------------------------------
  182.  
  183. Continue? [Yes (Y)/no (N)]: Y
  184.  
  185. 9:40:34 oracle. sysman. emcp. EMConfig perform
  186.  
  187. Information: The operation is logged to D: \ oracle \ product \ 10.2.0 \ db_1.
  188.  
  189. \ Export toollogs \ emca \ rman \ emc
  190.  
  191. A_2009-05-06_09-40-00-Morning. log.
  192.  
  193. 9:40:36 oracle. sysman. emcp. util. DBControlUtil stopOMS
  194.  
  195. Information: The Database Control is being stopped (this operation may take some time )...
  196.  
  197. 9:40:42 oracle. sysman. emcp. ParamsManager getLocalListener
  198.  
  199. Warning An error occurred while retrieving the 192.100.8.188 listener.
  200.  
  201. 9:40:44 oracle. sysman. emcp. util. DBControlUtil startOMS
  202.  
  203. Information: Starting Database Control (this operation may take some time )...
  204.  
  205. 9:41:34 oracle. sysman. emcp. EMDBPostConfig
  206.  
  207. PerformConfiguration
  208.  
  209. Information: The Database Control has been started successfully.
  210.  
  211. 9:41:35 oracle. sysman. emcp. EMDBPostConfig
  212.  
  213. PerformConfiguration
  214.  
  215. Warning: The Database Control shortcut cannot be created.
  216.  
  217. 9:41:35 oracle. sysman. emcp. EMDBPostConfig
  218.  
  219. PerformConfiguration
  220.  
  221. Information: >>>>>>>>>> Database Control URL is http: // 192.100.8.188: 5500/em
  222.  
  223. <
  224.  
  225. <
  226.  
  227. The Enterprise Manager configuration has been completed successfully.
  228.  
  229. EMCA ended at 9:41:35

Set the IP address!

4. Open the service: emctl start dbconsole

5. An error is reported in the following scenario: Enter the prompt folder in the specified directory and check that there is no prompt folder in the specified directory. There is only one folder similar to the prompt folder in cp-r. Run emctl start dbconsole again.

6. view the current status: emctl status dbconsole

7. Check the file $ ORACLE_HOME/install/portlist. ini on the port number.

This article introduces the reconstruction of the EM Console of the Oracle database. If you want to learn more about the Oracle database, you can refer to the article http://database.51cto.com/oracle/, which will surely bring you the opportunity!

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.