OEM failed to start: ORACLE/PRODUCT/10.2.0/DBHOME_1/OC4J/J2EE/OC4J_DBCONSOLE_LOCALHOST.LOCALDOMAIN_ORCL not found.

Source: Internet
Author: User

Configure OEM Environment variables

Oracle_unqname= $ORACLE _sid

To open the OEM Web management program, you must first start database listener, and then start the Datebase control port monitor, but you encounter the following situation

Problem:
[Email protected] oc4j_dbconsole]$ emctl start dbconsole
TZ set to PRC
Oc4j Configuration issue. /U01/APP/ORACLE/PRODUCT/10.2.0/DB_1/OC4J/J2EE/OC4J_DBCONSOLE_LOCALHOST.LOCALDOMAIN_ORCL not found.

In fact, the resulting situation may be that the EM database is misconfigured or Dbcotrol is not configured properly.

Solve:
① Rebuilding EM data
[Email protected] oc4j_dbconsole]$ Emca-repos recreate
...
Enter the following information:
Database SID:ORCL
Listener Port number:1521
Password for SYS user:oracle
Password for Sysman user:oracle
wish to continue? [Yes (Y)/no (N)]: Y
...
Info:repository successfully created

② Configuration Dbcontrol
[Email protected] oc4j_dbconsole]$ emca-config Dbcontrol db
EMCA started on 2009-6-8 21:50:28
EM Configuration Assistant 10.2.0.1.0 official version
Copyright (c) 2003, 2005, Oracle. All rights reserved.

Enter the following information:
Database SID:ORCL
Listener Port number: 1521
SYS User's password: (password is not visible)
DBSNMP User's password: (password is not visible)
Sysman User's password: (password is not visible)
e-mail address of the notification (optional):
Outgoing (SMTP) server for notifications (optional):
-----------------------------------------------------------------

The following settings have been specified

Database Oracle_home .../u01/app/oracle/product/10.2.0/db_1, ....----

The database hostname ..... ...... localhost.localdomain.
Listener port number ...... ....... 1521
Database SID ..... ORCL-----
The e-mail address of the notification .....
Notification of the outgoing (SMTP) server ..... .....

-----------------------------------------------------------------
Do you want to continue? [Yes (Y)/no (N)]: Y
2009-6-8 21:50:58 Oracle.sysman.emcp.EMConfig Perform
Info: This operation is being logged to/u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/orcl/emca_2009-06-08_09-50-27-pm. Log.
2009-6-8 21:50:59 oracle.sysman.emcp.DatabaseChecks Performreposchecks
Warning: ' shared_pool_size ' must be greater than or equal to + MB.
2009-6-8 21:51:13 Oracle.sysman.emcp.util.DBControlUtil startoms
Info: Starting Database Control (This operation may take some time) ...
2009-6-8 21:52:57 Oracle.sysman.emcp.EMDBPostConfig performconfiguration
Info: The Database Control was successfully started
2009-6-8 21:52:57 Oracle.sysman.emcp.EMDBPostConfig performconfiguration
Info: >>>>>>>>>>> Control URL for Http://localhost.localdomain:1158/em << <<<<<<<<<
Configuration of Enterprise Manager completed successfully
EMCA ended on 2009-6-8 21:52:57

Then go directly into the http://localhost.localdomain:1158/em/, enter the account sys and password ******, select SYSDBA permissions, you can see the web-based em normally.

ORACLE10G's EM was web-based and divided into 2 products, database control and Grid control. The Grid control needs to download a separate disc installation. When using DBCA to build the library, you can choose whether to enable Dbcontrol, if enabled, you need to create a Sysman schema in the database, to hold some of EM data, this is the EM Database (repository). Use the command-line tool EMCA to create, modify, rebuild, or delete dbcontrol configurations.

Emca-repos Create: Creating a new Database Control repository
Emca-repos drop: Delete the current database Control repository
Emca-repos recreate: Deletes the current database Control repository and re-creates a

Emca-config Dbcontrol DB: Metabase Control of the configuration database
Emca-deconfig Dbcontrol db: de-database Control

Note: (1) If more than one database exists on the server, you must set the ORACLE_SID environment variable before starting database control
(2) It is best to configure the server with a static IP address

  

Common Command syntax:

Emca-repos Create an EM repository Emca-repos recreate rebuild an EM repository emca-repos drop delete an em repository emca-config dbcontrol DB configuration Database Dat Abase control emca-deconfig Dbcontrol DB Delete database control configuration Emca-reconfig ports reconfigure DB control and agent Port Emctl s Tart console Start the EM console service, you need to set the ORACLE_SID environment variable before use EMCTL Stop console Stop the EM console service, you need to set the ORACLE_SID environment variable before use Note: View $ The Oracle_home/install/portlist.ini file can know the port that the current Dbcontrol is using, and the default Dbcontrol HTTP port 1158,agent Port 3938. If you are reconfiguring a port, you can use the following command: Emca-reconfig ports-dbcontrol_http_port 1159 emca-reconfig ports-agent_port 3939 using command-line tools EMCT L can start/Stop console service, check service status, etc.

OEM failed to start: ORACLE/PRODUCT/10.2.0/DBHOME_1/OC4J/J2EE/OC4J_DBCONSOLE_LOCALHOST.LOCALDOMAIN_ORCL not found.

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.