Dbconsole Fails To Start With Nzos_handshake Failed,Ret=29024

zhanglei_itput發表於2010-04-27


一、現象
2010-04-23 23:38:46 Thread-46 ERROR ssl: nzos_Handshake failed, ret=29024
2010-04-23 23:38:46 Thread-46 ERROR http: 12: Unable to initialize ssl connection with server, aborting connection attempt
2010-04-23 23:38:46 Thread-46 ERROR pingManager: nmepm_pingReposURL: Cannot connect to
: retStatus=-1
2010-04-23 23:39:46 Thread-49 ERROR upload: Error in uploadXMLFiles.  Trying again in 300.00 seconds.

二、原因
The Dbconsole certificate life time has expired.

三、解決方法

1. check dbconsole status
$ emctl status dbconsole
emctl status dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.

Oracle Enterprise Manager 10g is not running.
------------------------------------------------------------------
Logs are generated in directory /oracle/product/10.2/db/LEIZ_hisdb/sysman/log
ps -ef|grep java
  oracle  8148  8143  0 23:28:10 pts/1     0:32 /oracle/product/10.2/db/jdk/bin/IA64N/java -server -Xmx256M -XX:MaxPermSize=96m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40
  oracle 19806  2899  0 01:00:37 pts/1     0:00 grep java
kill -9 8148
ps -ef|grep java
  oracle 19869  2899  1 01:01:12 pts/1     0:00 grep java

2. $ emctl unsecure dbconsole
emctl unsecure dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.

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.

3. $ emctl upload
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

4. $ emctl secure dbconsole
emctl secure dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.

Enter Enterprise Manager Root password :
Enter a Hostname for this OMS : LEIZ
DBCONSOLE already 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 /oracle/product/10.2/db/LEIZ_hisdb/sysman/config/emd.properties Done.
Configuring Key store..   Done.
Securing dbconsole...   Sucessful.

5. $ emctl start dbconsole
emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.

ps: cmd is not a valid field name
Starting Oracle Enterprise Manager 10g Database Control ................... started.
------------------------------------------------------------------
Logs are generated in directory /oracle/product/10.2/db/LEIZ_hisdb/sysman/log

參考文獻:Dbconsole Fails To Start With Nzos_handshake Failed,Ret=29024 [ID 749243.1]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9252210/viewspace-660899/,如需轉載,請註明出處,否則將追究法律責任。

相關文章