Tip
2010.12.15 14:39

em 실행시 에러 발생 조치

조회 수 27305 추천 수 0 댓글 1

$ emctl start dbconsole

 

Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
------------------------------------------------------------------
Logs are generated in directory /oracle/app/oracle/product/10g/PAMS_PAMS/sysman/log

 

위 log 경로 확인

 

$ cd /oracle/app/oracle/product/10g/PAMS_PAMS/sysman/log
$ ls -ltr
total 23448
-rw-r----- 1 oracle dba       0 Mar  3  2010 emdctl.log
-rw-r----- 1 oracle dba    4301 Mar  3  2010 secure.log
-rw-r----- 1 oracle dba       0 Mar  3  2010 emagentfetchlet.trc
-rw-r----- 1 oracle dba       0 Mar  3  2010 emagentfetchlet.log
drwxrwx--- 2 oracle dba    4096 Mar  3  2010 nmcPAMS1521
-rw-r----- 1 oracle dba 4194328 Sep  5 09:05 emagent.trc.4
-rw-r----- 1 oracle dba 4194378 Sep  6 08:29 emagent.trc.3
-rw-r----- 1 oracle dba 4194422 Sep  7 07:25 emagent.trc.2
-rw-r----- 1 oracle dba 4194347 Sep  8 06:27 emagent.trc.1
-rw-r----- 1 oracle dba  979509 Dec 15 14:06 emoms.trc
-rw-r----- 1 oracle dba  979509 Dec 15 14:06 emoms.log
-rw-r----- 1 oracle dba    4096 Dec 15 14:08 emdb.nohup.lr
-rw-r----- 1 oracle dba  796568 Dec 15 14:08 emdb.nohup
-rw-r----- 1 oracle dba     486 Dec 15 14:08 emagent.log
-rw-r----- 1 oracle dba 1922111 Dec 15 14:12 emdctl.trc
-rw-r----- 1 oracle dba 2403843 Dec 15 14:12 emagent.trc
$ vi emagent.trc

2010-12-15 14:11:34 Thread-39074704 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://........:1158/em/upload/: retStatus=-1
2010-12-15 14:12:03 Thread-39074704 ERROR upload: Error in uploadXMLFiles.  Trying again in 176.00 seconds.
2010-12-15 14:12:04 Thread-39074704 ERROR ssl: nzos_Handshake failed, ret=29024
2010-12-15 14:12:04 Thread-39074704 ERROR http: 9: Unable to initialize ssl connection with server, aborting connection attempt

 

DB Console HTTPS (SSL) Certificate Has Expired. Error "ssl: nzos_Handshake failed, ret=29024" Encountered in Emagent Logs [ID 738659.1]

Applies to:

Enterprise Manager Grid Control - Version: 10.2.0.1 to 10.2.0.4 - Release: 10.2 to 10.2
All Platforms

Goal

When connecting to EM DB Console URL , there is a certificate notice indicating that the secure (SSL) certificate has expired.

Also, $ORACLE_HOME/<hostname>_<SID>/sysman/log/emagent.trc will show errors in the form of:

"ssl: nzos_Handshake failed, ret=29024"

Another side-effect of this is that the EM DB Console will no longer start when the certificate has expired. If the above error is found in the emagent.trc file, then your are hitting this issue.

Solution

When the EM DB Console is secured (HTTPS), the SSL certificate that is generated has a lifetime of 6 months. Ideally, when the Internet browser is alerting about the certificate expiring soon, it needs to generate a new one, before the expiration date, using the following command:

$ORACLE_HOME/bin/emctl secure dbconsole -reset

TAG •
  • 담벼락 2010.12.16 19:56

    아.. ssl은 lifetime이 6개월로 제한이 되어 있네요..


List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 Q&A Oracle관련 게시물만 Sean 2014.04.09 84902
60 Tip Complete Checklist for Manual Upgrades to 11gR2 [ID 837570.1] 담벼락 2011.03.23 17481
59 Tip NL JOIN에 대하여... 1 고구마 2011.03.21 13163
58 Tip Outer Join의 정확한 이해 file 고구마 2011.03.21 13028
57 Tip 쿼리 튜닝 사례 고구마 2011.03.21 14449
56 Tip windows os 에서 운영중 listener.log 삭제하기 2 file dbkill 2011.02.21 22245
55 Tip partition table에 index 생성시 perfstat 2011.01.28 18165
54 Tip DB계정에 profile설정 perfstat 2011.01.05 14588
» Tip em 실행시 에러 발생 조치 1 dbkill 2010.12.15 27305
52 Tip NetCA 실행시 VM 관련 에러 대처법 2 송기성 2010.12.09 18164
51 Tip Lock Check 승현짱 2010.05.30 11795
50 Tip 11g Newfeature 승현짱 2010.05.30 11477
49 Tip EXPORT/IMPORT 이용한 TABLE과 INDEX 분리하는 방법 고구마 2010.05.24 25453
48 Tip TABLE(INDEX) 다른 TABLESPACE로 옮기기(8i) 고구마 2010.05.24 23009
47 Tip reoder column order 1 유주환 2010.05.19 11394
46 Tip RECOVERY 2 고구마 2010.05.19 19916
45 Tip TEMP TABLESPACE 사용현황 조회하기 1 고구마 2010.05.19 43816
44 Tip 통계복원하기 고구마 2013.05.13 8046
43 Tip 유저별 Segment 개수 및 사이즈 조회 쿼리, n2bfree 2013.03.12 11017
42 Tip online reorg script 담벼락 2013.01.10 10630
41 Tip 오라클11g에서 SE1,SE,EE제품의 옵션비교입니다. file perfstat 2012.03.07 27011
Board Pagination Prev 1 2 3 4 5 6 7 8 Next
/ 8