Dbconsole Fails To Start With Nzos_handshake Failed,Ret=29024


一、现象
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 https://LEIZ:1158/em/upload/: 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
oracle@LEIZ:/oracle/product/10.2/db/dbs$ emctl status dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
https://LEIZ:1158/em/console/aboutApplication
Oracle Enterprise Manager 10g is not running.
------------------------------------------------------------------
Logs are generated in directory /oracle/product/10.2/db/LEIZ_hisdb/sysman/log
oracle@LEIZ:/oracle/product/10.2/db/dbs$ 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
oracle@LEIZ:/oracle/product/10.2/db/dbs$ kill -9 8148
oracle@LEIZ:/oracle/product/10.2/db/dbs$ ps -ef|grep java
  oracle 19869  2899  1 01:01:12 pts/1     0:00 grep java

2. $ emctl unsecure dbconsole
oracle@LEIZ:/oracle/product/10.2/db/dbs$ 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://LEIZ: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.

3. $ emctl upload
oracle@LEIZ:/oracle/product/10.2/db/dbs$ 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
oracle@LEIZ:/oracle/product/10.2/db/dbs$ 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://LEIZ:1158/em/console/aboutApplication
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
oracle@LEIZ:/oracle/product/10.2/db/dbs$ emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
https://LEIZ:1158/em/console/aboutApplication
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/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/9252210/viewspace-660899/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值