OracleEM startup Error

Source: Internet
Author: User
Error message: [oracle@www.linuxidc.com ~] $ EmctlstartdbconsoleTZsettoPRCOC4JConfigurationissue. u01apporaclepr

Error message: [oracle@www.linuxidc.com ~] $ Emctl start dbconsole TZ set to PRC Solaris Configuration issue./u01/app/oracle/pr

Error message:

[Oracle @ ~] $ Emctl start dbconsole

TZ set to PRC

Enter the Configuration file./u01/app/oracle/product/10.2/db_1/Solaris/j2ee/OC4J_DBConsole_localhost.localdomain_orcl not found.

Solution:

Method 1 (recommended): Use dbca to reconfigure the database.

Method 2: manual Configuration

Refer:

This is due to a misconfiguration of dbconsole during database setup. The fastest solution is usually to recreate repository and configuration.

First, deconfigure dbconsole:

========================================================== ========================================================== ======

[Oracle @ oratest03 bin] $./emca-deconfig dbcontrol db-repos drop

Started emca at Dec 28,200 9 12:15:33

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: T11R2

Listener port number: 1521

Password for SYS user:

Password for SYSMAN user:

Do you wish to continue? [Yes (Y)/no (N)]: Y

Dec 28,200 9 12:15:44 oracle. sysman. emcp. EMConfig perform

INFO: This operation is being logged at/app/oracle/export toollogs/emca/T11R2/emca_2009_12_28_12_15_32.log.

Dec 28,200 9 12:15:44 PM oracle. sysman. emcp. EMDBPreConfig configure mdeconfiguration

WARNING: EM is not configured for this database. No EM-specific actions can be saved med.

Dec 28,200 9 12:15:45 oracle. sysman. emcp. EMReposConfig invoke

INFO: Dropping the EM repository (this may take a while )...

Dec 28,200 9 12:17:33 oracle. sysman. emcp. EMReposConfig invoke

INFO: Repository successfully dropped

Enterprise Manager configuration completed successfully

Finished emca at Dec 28,200 9 12:17:33

========================================================== ========================================================== ==========

Now, let's configure it again

========================================================== ========================================================== ==========

[Oracle @ oratest03 bin] $./emca-config dbcontrol db-repos create

Started emca at Dec 28,200 9 12:17:43

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: T11R2

Listener port number: 1521

Listener ORACLE_HOME [/app/oracle/product/11.2.0.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 ....../app/oracle/product/11.2.0.1

Local hostname ...... oratest03

Listener ORACLE_HOME ....../app/oracle/product/11.2.0.1

Listener port number... 1521

Database SID ......

Email address for communications ...............

Outgoing Mail (SMTP) server for communications ...............

-----------------------------------------------------------------

Do you wish to continue? [Yes (Y)/no (N)]: Y

Dec 28,200 9 12:17:58 oracle. sysman. emcp. EMConfig perform

INFO: This operation is being logged at/app/oracle/export toollogs/emca/T11R2/emca_2009_12_28_12_17_43.log.

Dec 28,200 9 12:17:59 oracle. sysman. emcp. EMReposConfig createRepository

INFO: Creating the EM repository (this may take a while )...

Dec 28,200 9 12:23:44 oracle. sysman. emcp. EMReposConfig invoke

INFO: Repository successfully created

Dec 28,200 9 12:23:47 oracle. sysman. emcp. EMReposConfig uploadConfigDataToRepository

INFO: Uploading configuration data to EM repository (this may take a while )...

Dec 28,200 9 12:24:41 oracle. sysman. emcp. EMReposConfig invoke

INFO: Uploaded configuration data successfully

Dec 28,200 9 12:24:43 oracle. sysman. emcp. util. DBControlUtil configureSoftwareLib

INFO: Software library configured successfully.

Dec 28,200 9 12:24:43 PM oracle. sysman. emcp. EMDBPostConfig configureSoftwareLibrary

INFO: Deploying Provisioning archives...

Dec 28,200 9 12:25:13 PM oracle. sysman. emcp. EMDBPostConfig configureSoftwareLibrary

INFO: Provisioning archives deployed successfully.

Dec 28,200 9 12:25:13 oracle. sysman. emcp. util. DBControlUtil secureDBConsole

INFO: Securing Database Control (this may take a while )...

Dec 28,200 9 12:25:54 oracle. sysman. emcp. util. DBControlUtil secureDBConsole

INFO: Database Control secured successfully.

Dec 28,200 9 12:25:54 oracle. sysman. emcp. util. DBControlUtil startOMS

INFO: Starting Database Control (this may take a while )...

Dec 28,200 9 12:26:19 PM oracle. sysman. emcp. EMDBPostConfig configure mconfiguration

INFO: Database Control started successfully

Dec 28,200 9 12:26:19 PM oracle. sysman. emcp. EMDBPostConfig configure mconfiguration

INFO: >>>>>>>>>>> The Database Control URL is https: // oratest03: 1158/em <

Dec 28,200 9 12:26:25 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:/app/oracle/product/11.2.0.1/oratest03_T11R2/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 28,200 9 12:26:25

========================================================== ========================================================== ==========

That's all. Remember, if you want or need, to backup you encryption key.

,

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.