2013-05-20 13 views
1

필자가 Oracle Listener를 성공적으로 시작한 후 몇 초 후에 자동으로 중지됩니다.Oracle 11gR2 Listener 자동 종료

cache1-> lsnrctl start 

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 20-MAY-2013 16:35:36 

Copyright (c) 1991, 2009, Oracle. All rights reserved. 

Starting /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait... 

TNSLSNR for Linux: Version 11.2.0.1.0 - Production 
System parameter file is /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora 
Log messages written to /u02/ora/diagnostic_dest/diag/tnslsnr/cache1/listener/alert/log.xml 
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521))) 

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))) 
STATUS of the LISTENER 
------------------------ 
Alias      LISTENER 
Version     TNSLSNR for Linux: Version 11.2.0.1.0 - Production 
Start Date    20-MAY-2013 16:35:36 
Uptime     0 days 0 hr. 0 min. 0 sec 
Trace Level    off 
Security     ON: Local OS Authentication 
SNMP      OFF 
Listener Parameter File /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora 
Listener Log File   /u02/ora/diagnostic_dest/diag/tnslsnr/cache1/listener/alert/log.xml 
Listening Endpoints Summary... 
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521))) 
Services Summary... 
Service "ora" has 1 instance(s). 
    Instance "ora", status UNKNOWN, has 1 handler(s) for this service... 
The command completed successfully 

다른 서버의 tnsping이 처리됩니다.

cache2-> tnsping cache1 

TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 20-MAY-2013 16:35:38 

Copyright (c) 1997, 2009, Oracle. All rights reserved. 

Used parameter files: 

Used HOSTNAME adapter to resolve the alias 
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.2)(PORT=1521))) 
OK (0 msec) 

몇 초 후에, 나는 다시 그것을 확인이 자동으로 중지 :

cache1-> lsnrctl status 

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 20-MAY-2013 16:36:36 

Copyright (c) 1991, 2009, Oracle. All rights reserved. 

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))) 
TNS-12541: TNS:no listener 
TNS-12560: TNS:protocol adapter error 
    TNS-00511: No listener 
    Linux Error: 111: Connection refused 

및 tnsping이 작동하지 않습니다.

cache2-> tnsping cache1 

TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 20-MAY-2013 16:36:37 

Copyright (c) 1997, 2009, Oracle. All rights reserved. 

Used parameter files: 

Used HOSTNAME adapter to resolve the alias 
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.200.2)(PORT=1521))) 
TNS-12541: TNS:no listener 

의 listener.ora :

/u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora 
SID_LIST_LISTENER = 
    (SID_LIST = 
    (SID_DESC = 
     (SID_NAME = ora) 
     (GLOBAL_DBNAME = ora) 
     (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1) 
    ) 
) 

LISTENER = 
     (DESCRIPTION = 
     (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) 
    ) 

ADR_BASE_LISTENER = /u02/ora/diagnostic_dest 

감사

답변

0

이 같은 문제 ... 체크하면

확실하지 ... RHEL 6.x에서의 oracle11gr2로 simillar 문제를 직면 내 경우의 trc 로그 위치에 대한 log.xml 파일 :

/u01/app/oracle/diag/tnslsnr/dbserver/listener/alert/log.xml 
위의 파일에서

우리는 다음과 같은 로그 파일에 링크를 가지고 :

/u01/app/oracle/diag/tnslsnr/dbserver/listener/trace/listener.log 

위의 파일, 우리는 확인하고 우리는 다음과 점점 계속되었다 : 여전히 보류 노드 다운 이벤트에 대한 가입 :

경고 (SERVICE = LISTENER) (VERSION = LISTENER) = (CONNECT_DATA = (CID = (프로그램) = (호스트 = dbserver) (사용자 = 오라클)) (명령 = 상태) 186647040)) * status * 0 경고 : 노드 작동 중지 이벤트에 대한 신청이 아직 계류 중입니다


조금 인터넷 검색 후 우리는 우리가 listener.ora 파일의 끝에 다음을 추가해야 "https://docs.oracle.com/cd/E11882_01/network.112/e10835/listener.htm#NETRF312" 에 몇 가지 정보를 발견

/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora 

SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER = off 
관련 문제