Dbconsole Error Ssl Nzos_handshake Failed Ret=29024
Failed. -bash-3.00$ emctl stop dbconsole Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved. http://node1:1158/em/console/aboutApplication Stopping Oracle Enterprise Manager 10g Database Control ............. --- Failed to shutdown DBConsole Gracefully --- failed. Lets check the status -bash-3.00$ emctl status dbconsole Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved. http://node1:1158/em/console/aboutApplication EM Daemon is not running. ------------------------------------------------------------------ Logs are generated in directory /data2/oracle/product/10.2.0/db_1/node1_rac1/sysman/log Ohhhh, EM Daemon is not running.Try to start the dbconsole -bash-3.00$ emctl start dbconsole Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved. http://node1:1158/em/console/aboutApplication - An instance of Oracle Enterprise Manager 10g Database Control is already running. hey whats this, it says "An instance of Oracle Enterprise Manager 10g Database Control is already running." Peeking into the emdctl.trc logfile showed Thread-1 ERROR ssl: nzos_Handshake failed, ret=29024 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt As per the Metalink The Dbconsole certificate life time has expired. As the certificate is expired, dbconsole won’t shutdown cleanly,so fetch its pid and kill it manually. -bash-3.00$ cd /data2/oracle/product/10.2.0/db_1/node1_rac1/ -bash-3.00$ ls -lrt total 6 -rw-r----- 1 oracle oinstall 61 May 18 2009 oraInst.loc drwxr----- 8 oracle oinstall 512 May 18 2009 s
/ emagent.trc contains "ERROR ssl: nzos_Handshake failed, ret=29024″ DB Console fails to start / emagent.trc contains "ERROR ssl: nzos_Handshake failed, ret=29024″ April 14th, 2011 Matthias Pölzinger Leave a comment Go to comments Problem description: Oracle Enterprise Manager DB Console fails during startup without any visible reason: TZ set to Europe/Madrid Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved. https://myserver.mydomain:1158/em/console/aboutApplication Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed. The emagent.trc file contains the https://aprakash.wordpress.com/2010/05/27/error-ssl-ret29024/ following messages: 2011-04-14 12:34:43 Thread-4104076192 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://myserver.mydomain:1158/em/upload/: retStatus=-1 2011-04-14 12:34:56 Thread-4130380704 WARN http: -1,5: nmehl_httpListener: signaled to exit from emctl 2011-04-14 12:39:15 Thread-4135938752 ERROR ssl: nzos_Handshake failed, ret=29024 Cause: You are using a secure DB Console configuration with an Oracle generated SSL-certificate. These Oracle generated SSL-certificates have a lifetime of 6 months until 10.2.0.4. http://kb.initso.at/2011/04/db-console-fails-to-start-emagent-trc-contains-error-ssl-nzos_handshake-failed-ret29024/ Starting with 10.2.0.5 the lifetime was extended to 10 years. If your SSL-certificate expires, you will encounter problems during startup of Enterprise Manager DB Console. Although you might be able to connect with your browser afterwards, agents will not and therefore generate "ERROR ssl: nzos_Handshake failed, ret=29024″ messages. Problem resolution: You have to regenerate your SSL-certificate. This can be established by "unsecure" and "secure" commands of emctl. First stop all running DB Console components: $ emctl stop dbconsole TZ set to Europe/Vienna Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved. https://myserver.mydomain:1158/em/console/aboutApplication Stopping Oracle Enterprise Manager 10g Database Control ... --- Failed to shutdown DBConsole Gracefully --- failed. $ ps -ef | grep oc4j oracle 18414 18412 7 12:37 pts/1 00:00:13 /u01/app/oracle/product/10.2.0/db_1/jdk/bin/java -server -Xmx256M -XX:MaxPermSize=96m - .... ... oracle 22708 22837 0 12:40 pts/1 00:00:00 grep oc4j [oracle@ora1 log]$ kill -9 18414 In the next step "unsecure" and "secure" the DB Console: $ emctl unsecure dbconsole TZ set to Europe/Vienna Oracle Enterprise Manager 10g Data
Thread-46 ERROR ssl: nzos_Handshake failed, ret=290242010-04-23 23:38:46 Thread-46 ERROR http: 12: Unable to initialize ssl connection with server, aborting connection attempt2010-04-23 23:38:46 Thread-46 ERROR pingManager: nmepm_pingReposURL: http://m.blog.itpub.net/9252210/viewspace-660899/ Cannot connect to https://LEIZ:1158/em/upload/: retStatus=-12010-04-23 23:39:46 Thread-49 ERROR upload: http://ryoben.hateblo.jp/entry/20140522/1400775148 Error in uploadXMLFiles. Trying again in 300.00 seconds. 二、原因The Dbconsole certificate life time has expired. 三、解决方法 1. check dbconsole status$ emctl status dbconsoleoracle@LEIZ:/oracle/product/10.2/db/dbs$ emctl status dbconsoleOracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 Copyright (c) dbconsole error 1996, 2007 Oracle Corporation. All rights reserved.https://LEIZ:1158/em/console/aboutApplicationOracle 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 javaoracle@LEIZ:/oracle/product/10.2/db/dbs$ dbconsole error ssl kill -9 8148oracle@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 dbconsoleoracle@LEIZ:/oracle/product/10.2/db/dbs$ emctl unsecure dbconsoleOracle 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/aboutApplicationConfiguring 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 uploadoracle@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 dbconsoleoracle@LEIZ:/oracle/product/10.2/db/dbs$ emctl secure dbconsoleOracle 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/aboutApplicationEnter Enterprise Manager Root password : Enter a Hostname for this OMS : LEIZDBCONSOLE already stopped... Done.Agent is already stopped... Done.Securing dbconsole... Started.Checking R
限定公開記事のため引用できません。 読者です 読者をやめる 読者になる 読者になる SOA導入するまで Oracle/Ruby好きのアパレル情シスSE 2014-05-22 Oracle10g OEM dbconsoleでssl: nzos_Handshake failed Oracle DB 転職後の会社で電話番してたのですが、意外とOracle使ってるらしく、でも、運用管理はそんなに面倒みきれてないそうで、「OEMが最近うまく動かないんだよねー」とのことで、暇だし中身見てみることに。OSが、Windowsだったので、サービスから起動しても、失敗。 コマンドプロンプトから、実行するも emctl start dbconsoleずっと起動中のままで、5分くらいしてやっぱりエラー。 エラーメッセージ見ろって出るから見たら、「サービスでのエラーです」とか、そんなのわかっとるわい。 しかも、起動中にOEMにアクセスしたら、その間だけ見れるという謎仕様。 しょうがなく、ログを色々漁る。 #emagent.trc 2014-05-22 13:16:32 Thread-6552 ERROR ssl: nzos_Handshake failed, ret=29024 2014-05-22 13:16:32 Thread-6552 ERROR http: 1100: Unable to initialize ssl connection with server,aborting connection attempt 2014-05-22 13:16:32 Thread-6552 ERROR pingManager: nmepm_pingReposURL:Cannot connect to https://hostname:1158/em/upload/: retStatus=-1 #emdctl.trc 2014-05-22 13:16:57 Thread-7580 ERROR ssl: nzos_Handshake failed, ret=29024 2014-05-22 13:16:57 Thread-7580 ERROR http: 680: Unable to initialize ssl connection with server,aborting connection attempt #emoms.trc 2014-05-22 13:08:29,742 [Orion Launcher] ERROR app.ContextInitializercontextInitialized.272 - Integration Class not found: oracle.sysman.ias.ias.IASIntegration 2014-05-22 13:08:30,320 [Orion Launcher] ERROR app.ContextInitializercontextInitialized.272 - Integration Class not found: oracle.sysman.eml.target.slb.common.SLBIntegration 2014-05-22 13:08:30,461 [Orion Launcher] ERROR app.Context