Thursday, March 14, 2013

dbconsole can’t be started with ssl error




got error  in emdctl.trc:
http: 257: Unable to initialize ssl connection with server, aborting connection attempt

bash-3.2$ emctl unsecure dbconsole
bash-3.2$ emctl upload 
(if agent is down then  issue bash-3.2$ emctl start agent)
bash-3.2$ emctl secure dbconsole


 ---------------------------------------------------
bash-3.2$ emctl unsecure dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
https://etravel2k:1158/em/console/aboutApplication
Configuring DBConsole for HTTP...   Done.
DBCONSOLE already stopped...   Done.
Agent successfully stopped...   Done.
Unsecuring dbconsole...   Started.
DBConsole is now unsecured...  Done.
Unsecuring dbconsole...  Sucessful.

bash-3.2$ emctl upload
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
Agent is Not Running

bash-3.2$ emctl start agent
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
Starting agent ..... started.

bash-3.2$ emctl upload
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..

bash-3.2$ emctl stop dbconsole db
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
http://etravel2k:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ...
 ...  Stopped.

bash-3.2$ emctl start dbconsole db
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
http://etravel2k:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ............................. started.
------------------------------------------------------------------
Logs are generated in directory /u00/app/oracle/product/10.2.0/etravel2k_omr/sysman/log

bash-3.2$ emctl secure dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
http://etravel2k:1158/em/console/aboutApplication
Enter Enterprise Manager Root password :
Enter a Hostname for this OMS :

DBCONSOLE successfully stopped...   Done.
Agent is already stopped...   Done.
Securing dbconsole...   Started.
Checking Repository...   Done.
Checking Em Key...   Done.
Checking Repository for an existing Enterprise Manager Root Key...   Done.
Fetching Root Certificate from the Repository...   Done.
Updating HTTPS port in emoms.properties file...   Done.
Generating Java Keystore...   Done.
Securing OMS ...   Done.
Generating Oracle Wallet Password for Agent....   Done.
Generating wallet for Agent ...    Done.
Copying the wallet for agent use...    Done.
Storing agent key in repository...   Done.
Storing agent key for agent ...   Done.
Configuring Agent...
Configuring Agent for HTTPS in DBCONSOLE mode...   Done.
EMD_URL set in /u00/app/oracle/product/10.2.0/etravel2k_omr/sysman/config/emd.properties
   Done.
Configuring Key store..   Done.
Securing dbconsole...   Successful.

DBCONSOLE successfully restarted...   Done.

bash-3.2$

No comments:

Post a Comment