Error starting Database Control

Oracle Database Installation Procedures
Post Reply
User avatar
jimb
Site Admin
Posts: 6146
Joined: Thu Jan 19, 2012 1:10 pm
Location: New Delhi, India
Contact:

Error starting Database Control

Post by jimb »

Issue:

[ORCLA10 /u01/app/oracle/product/10.2.0/db_1/dgprim.localdomain_ORCLA10/sysman/config]$ emctl start dbconsole
TZ set to Asia/India
Oracle Enterprise Manager 10g Database Control Release 10.2.0.5.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://dgprim.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/10.2.0/db_1/dgprim.localdomain_ORCLA10/sysman/log

oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control

Solution:

Starting 10.2.0.4, Oracle Enterprise Manager is configured with HTTPS by default, instead of HTTP, which was used in earlier versions but the SSL certificate used for this cannot be renewed or created after 2010-12-31 due to a bug in the related JAR files

Check $ORACLE_HOME/$HOSTNAME'_'$ORACLE_SID/sysman/log/emdctl.trc . You will find below error:

2012-01-17 23:06:15 Thread-3086993632 ERROR http: 6: Unable to initialize ssl connection with server, aborting connection attempt
2012-01-17 23:06:15 Thread-3086993632 ERROR ssl: Open wallet failed, ret = 28750
2012-01-17 23:06:15 Thread-3086993632 ERROR ssl: nmehlenv_openWallet failed

To correct the issue,

Change back to HTTP (emctl unsecure dbconsole) or install patch 8350262

[ORCLA10 /]$ emctl unsecure dbconsole
TZ set to Asia/India
Oracle Enterprise Manager 10g Database Control Release 10.2.0.5.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://dgprim.localdomain:1158/em/console/aboutApplication
Configuring DBConsole for HTTP... Done.
DBCONSOLE already stopped... Done.
Agent is already stopped... Done.
Unsecuring dbconsole... Started.
DBConsole is now unsecured... Done.
Unsecuring dbconsole... Sucessful.

Start Oracle Enterprise Manager:

[ORCLA10 /]$ emctl start dbconsole
TZ set to Asia/Manila
Oracle Enterprise Manager 10g Database Control Release 10.2.0.5.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
http://dgprim.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control .......................... started.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/10.2.0/db_1/dgprim.localdomain_ORCLA10/sysman/log
Oracle Database Administration Forums
http://www.oracle-forums.com/
Post Reply