Oracle DatabaseInEM Console ReconstructionEM startup error. The error code is as follows:
- C:\Documents and Settings\GAOYANG>set ORACLE_SID=rman
-
- C:\Documents and Settings\GAOYANG>emctl start dbconsole
-
- OC4J Configuration issue. D:\oracle\product\10.2.0
-
- \db_1/oc4j/j2ee/OC4J_DBConsole
-
- _192.100.8.188_rman not found.
As a result, we will analyze the problems that may occur during reconstruction:
- 1.EM Configuration issue
-
- 2.OC4J Configuration issue
Follow these steps to recreate the Oracle 10g EM Console.
- C: \ Documents ents and Settings \ GAOYANG> emca-config dbcontrol db-repos
-
- Recreate
-
- EMCA started at 9:28:19
-
- EM Configuration Assistant 10.2.0.1.0 official version
-
- Copyright (c) 2003,200 5, Oracle. All rights reserved.
-
- Enter the following information:
-
- Database SID: rman
-
- Listener port: 1158
-
- SYS user password:
-
- DBSNMP user password:
-
- Password of the SYSMAN User:
-
- Email Address of the notification (optional ):
-
- Notification sending (SMTP) server (optional ):
-
- -----------------------------------------------------------------
-
- The following settings have been specified:
-
- Database ORACLE_HOME ...... D: \ oracle \ product \ 10.2.0 \ db_1
-
- Database Host Name...
-
- Listener port number ...... 1158
-
- Database SID ...... rman
-
- Email Address of the notification ...............
-
- Notification sending (SMTP) server ...............
-
- -----------------------------------------------------------------
-
- Continue? [Yes (Y)/no (N)]: Y
-
- 9:28:36 oracle. sysman. emcp. EMConfig perform
-
- Information: The operation is logged to D: \ oracle \ product \ 10.2.0 \ db_1.
-
- \ Export toollogs \ emca \ rman \ emc
-
- A_2009-05-06_09-28-19-Morning. log.
-
- 9:28:40 oracle. sysman. emcp. EMReposConfig dropRepository
-
- Information: deleting the EM archives. This operation may take some time )...
-
- 9:28:42 oracle. sysman. emcp. EMReposConfig invoke
-
- Information: The archive has been deleted successfully.
-
- 9:28:43 oracle. sysman. emcp. EMReposConfig createRepository
-
- Information: creating the EM archives (this operation may take some time )...
-
- 9:28:43 oracle. sysman. emcp. EMReposConfig invoke
-
- Severe: An error occurred while creating the archive.
-
- 9:28:43 oracle. sysman. emcp. EMReposConfig invoke
-
- 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.
-
- 9:28:43 oracle. sysman. emcp. EMConfig perform
-
- Severe: An error occurred while creating the archive.
-
- 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.
-
- 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.
-
- 3. If an error is reported in oracle. sysman, resulting in failure
-
- 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;
-
- F. emca-config dbcontrol db-repos create
-
- C: \ Documents ents and Settings \ GAOYANG> sqlplus/as sysdba
-
- SQL * Plus: Release 10.2.0.1.0-Production on Wed May 6 09:29:31 2009
-
- Copyright (c) 1982,200 5, Oracle. All rights reserved.
-
- Connected:
-
- Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-Production
-
- With the Partitioning, OLAP and Data Mining options
-
- SQL> drop user sysman cascade;
-
- User dropped.
-
- SQL> drop role MGMT_USER;
-
- Role dropped.
-
- SQL> drop user MGMT_VIEW cascade;
-
- User dropped.
-
- SQL> drop public synonym MGMT_TARGET_BLACKOUTS;
-
- Synonym dropped.
-
- SQL> drop public synonym SETEMVIEWUSERCONTEXT;
-
- Synonym dropped.
-
- SQL> exit
-
- Disconnected from Oracle Database 10g Enterprise Edition Release
-
- 10.2.0.1.0-Pr
-
- Oduction
-
- With the Partitioning, OLAP and Data Mining options
-
- C: \ Documents ents and Settings \ GAOYANG> emca-config dbcontrol db-repos
-
- Create
-
- EMCA started at 9:32:24
-
- EM Configuration Assistant 10.2.0.1.0 official version
-
- Copyright (c) 2003,200 5, Oracle. All rights reserved.
-
- Enter the following information:
-
- Database SID: rman
-
- Listener port: 1158
-
- SYS user password:
-
- DBSNMP user password:
-
- Password of the SYSMAN User:
-
- Password of the SYSMAN User: email address of the notification (optional ):
-
- Notification sending (SMTP) server (optional ):
-
- -----------------------------------------------------------------
-
- The following settings have been specified:
-
- Database ORACLE_HOME ...... D: \ oracle \ product \ 10.2.0 \ db_1
-
- Database Host Name...
-
- Listener port number ...... 1158
-
- Database SID ...... rman
-
- Email Address of the notification ...............
-
- Notification sending (SMTP) server ...............
-
- -----------------------------------------------------------------
-
- Continue? [Yes (Y)/no (N)]: Y
-
- 9:40:34 oracle. sysman. emcp. EMConfig perform
-
- Information: The operation is logged to D: \ oracle \ product \ 10.2.0 \ db_1.
-
- \ Export toollogs \ emca \ rman \ emc
-
- A_2009-05-06_09-40-00-Morning. log.
-
- 9:40:36 oracle. sysman. emcp. util. DBControlUtil stopOMS
-
- Information: The Database Control is being stopped (this operation may take some time )...
-
- 9:40:42 oracle. sysman. emcp. ParamsManager getLocalListener
-
- Warning An error occurred while retrieving the 192.100.8.188 listener.
-
- 9:40:44 oracle. sysman. emcp. util. DBControlUtil startOMS
-
- Information: Starting Database Control (this operation may take some time )...
-
- 9:41:34 oracle. sysman. emcp. EMDBPostConfig
-
- PerformConfiguration
-
- Information: The Database Control has been started successfully.
-
- 9:41:35 oracle. sysman. emcp. EMDBPostConfig
-
- PerformConfiguration
-
- Warning: The Database Control shortcut cannot be created.
-
- 9:41:35 oracle. sysman. emcp. EMDBPostConfig
-
- PerformConfiguration
-
- Information: >>>>>>>>>> Database Control URL is http: // 192.100.8.188: 5500/em
-
- <
-
- <
-
- The Enterprise Manager configuration has been completed successfully.
-
- 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!