Oracle em cannot be started. The not found error is returned.

Source: Internet
Author: User

After Oracle 11g r2 is installed and the database is created, start em and report OC4J_DBConsole_source_ora11g not found error. em cannot start.

[Oracle @ source ~] $ Emctl start dbconsole

Enter the Configuration file./oracle/product/10.2.0/db_1/Solaris/j2ee/OC4J_DBConsole_source_ora11g not found.

Because it is a new environment, re-create the archive database and reconfigure the Database control

[Oracle @ source admin] $ emca-repos drop -- delete the current database

Started emca at Dec 8, 2012 1:13:13
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003,200 5, Oracle. All rights reserved.

Enter the following information:
Database SID: ora11g
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:

Do you wish to continue? [Yes (Y)/no (N)]: yes
Dec 8, 2012 1:13:47 oracle. sysman. emcp. EMConfig perform
INFO: This operation is being logged at/oracle/export toollogs/emca/ora11g/emca_2012_12_08_13_13_12.log.
Dec 8, 2012 1:14:08 oracle. sysman. emcp. EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while )...
Dec 8, 2012 1:20:13 oracle. sysman. emcp. EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
Finished emca at Dec 8, 2012 1:20:13
[Oracle @ source admin] $ emca-repos create -- create a new database

Started emca at Dec 8, 2012 1:20:42
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003,200 5, Oracle. All rights reserved.

Enter the following information:
Database SID: ora11g
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:

Do you wish to continue? [Yes (Y)/no (N)]: Y
Dec 8, 2012 1:21:02 oracle. sysman. emcp. EMConfig perform
INFO: This operation is being logged at/oracle/export toollogs/emca/ora11g/emca_2012_12_08_13_20_41.log.
Dec 8, 2012 1:21:03 oracle. sysman. emcp. EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while )...
Dec 8, 2012 1:32:44 oracle. sysman. emcp. EMReposConfig invoke
INFO: Repository successfully created
Enterprise Manager configuration completed successfully
Finished emca at Dec 8, 2012 1:32:44
[Oracle @ source admin] $ emca-config dbcontrol db -- configure database control

Started emca at Dec 8, 2012 1:55:39
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003,200 5, Oracle. All rights reserved.

Enter the following information:
Database SID: ora11g
Database Control is already configured for the database ora11g
You have chosen to configure Database Control for managing the database ora11g
This will remove the existing configuration and the default settings and perform a fresh configuration
Do you wish to continue? [Yes (Y)/no (N)]: Y
Listener ORACLE_HOME [/oracle/product/10.2.0/db_1]:
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for communications (optional ):
Outgoing Mail (SMTP) server for communications (optional ):
-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ....../oracle/product/10.2.0/db_1

Local hostname ...... source
Listener ORACLE_HOME.../oracle/product/10.2.0/db_1
Listener port number... 1521
Database SID ...... ora11g
Email address for communications ...............
Outgoing Mail (SMTP) server for communications ...............

-----------------------------------------------------------------
Do you wish to continue? [Yes (Y)/no (N)]: Y
Dec 8, 2012 1:56:34 oracle. sysman. emcp. EMConfig perform
INFO: This operation is being logged at/oracle/export toollogs/emca/ora11g/emca_2012_12_08_13_55_38.log.
Dec 8, 2012 1:56:37 oracle. sysman. emcp. util. DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while )...
Dec 8, 2012 1:57:33 oracle. sysman. emcp. EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while )...
Dec 8, 2012 2:00:53 oracle. sysman. emcp. EMReposConfig invoke
INFO: Uploaded configuration data successfully
Dec 8, 2012 2:01:28 oracle. sysman. emcp. util. DBControlUtil configureSoftwareLib
INFO: Software library configured successfully.
Dec 8, 2012 2:01:28 oracle. sysman. emcp. EMDBPostConfig configureSoftwareLibrary
INFO: Deploying Provisioning archives...
Dec 8, 2012 2:06:40 oracle. sysman. emcp. EMDBPostConfig configureSoftwareLibrary
INFO: Provisioning archives deployed successfully.
Dec 8, 2012 2:06:40 oracle. sysman. emcp. util. DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while )...
Dec 8, 2012 2:07:45 oracle. sysman. emcp. util. DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Dec 8, 2012 2:07:45 oracle. sysman. emcp. util. DBControlUtil startOMS
INFO: Starting Database Control (this may take a while )...
Dec 8, 2012 2:11:38 oracle. sysman. emcp. EMDBPostConfig configure mconfiguration
INFO: Database Control started successfully
Dec 8, 2012 2:11:39 oracle. sysman. emcp. EMDBPostConfig configure mconfiguration
INFO: >>>>>>>>>>> The Database Control URL is https: // source: 5500/em <
Dec 8, 2012 2:20:53 oracle. sysman. emcp. EMDBPostConfig invoke
WARNING:
* *********************** WARNING *************** *********

Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted. the encryption key has been placed in the file:/oracle/product/10.2.0/db_1/source_ora11g/sysman/config/emkey. ora. please ensure this file is backed up as the encrypted data will become unusable if this file is lost.

**************************************** *******************
Enterprise Manager configuration completed successfully
Finished emca at Dec 8, 2012 2:20:53

Emca-repos create: create a New Database Control Archive

Emca-repos drop: Delete the current Database Control Archives

Emca-repos recreate: Delete the current Database Control archives and recreate

Emca-config dbcontrol db: Configure Database Control for the Database

Emca-deconfig dbcontrol db: cancels Database Control of a Database.

Note:

(1) If multiple databases exist on the server, you must set the ORACLE_SID environment variable before starting Database control.

(2) it is best to use a static IP address to configure the server.

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.