oracle11g - Oracle 11gR2 Listener stop automatically -
my problem after started oracle listener succesfully, stop automatically after few seconds.
cache1-> lsnrctl start lsnrctl linux: version 11.2.0.1.0 - production on 20-may-2013 16:35:36 copyright (c) 1991, 2009, oracle. rights reserved. starting /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait... tnslsnr linux: version 11.2.0.1.0 - production system parameter file /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora log messages written /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 (description=(address=(protocol=tcp)(host=127.0.0.1)(port=1521))) status of listener ------------------------ alias listener version tnslsnr 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) service... command completed during mean time, tnsping other server worked.
cache2-> tnsping cache1 tns ping utility linux: version 11.2.0.1.0 - production on 20-may-2013 16:35:38 copyright (c) 1997, 2009, oracle. rights reserved. used parameter files: used hostname adapter resolve alias attempting contact (description=(connect_data=(service_name=))(address=(protocol=tcp)(host=192.168.1.2)(port=1521))) ok (0 msec) after few seconds, check again, stopped automatically:
cache1-> lsnrctl status lsnrctl linux: version 11.2.0.1.0 - production on 20-may-2013 16:36:36 copyright (c) 1991, 2009, oracle. rights reserved. connecting (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 and tnsping doesn't work.
cache2-> tnsping cache1 tns ping utility linux: version 11.2.0.1.0 - production on 20-may-2013 16:36:37 copyright (c) 1997, 2009, oracle. rights reserved. used parameter files: used hostname adapter resolve alias attempting contact (description=(connect_data=(service_name=))(address=(protocol=tcp)(host=192.168.200.2)(port=1521))) tns-12541: tns:no listener the 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 thanks
faced simillar issue oracle11gr2 in rhel 6.x...
not sure if same issue ...check log.xml file trc log location in case:
/u01/app/oracle/diag/tnslsnr/dbserver/listener/alert/log.xml from above file got link following log file:
/u01/app/oracle/diag/tnslsnr/dbserver/listener/trace/listener.log the above file, checked , keep getting following :
warning: subscription node down event still pending 13-feb-2017 17:28:42 * (connect_data=(cid=(program=)(host=dbserver)(user=oracle))(command=status)(arguments=64)(service=listener)(version=186647040)) * status * 0 warning: subscription node down event still pending
after googling little bit found info in "https://docs.oracle.com/cd/e11882_01/network.112/e10835/listener.htm#netrf312" need add following @ end of listener.ora
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora subscribe_for_node_down_event_listener = off
Comments
Post a Comment