The listener supports no services solves a case

Source: Internet
Author: User

The listener supports no services solves a case of a  listener dynamic listening static monitor registration instance today when doing advacned replication experiment encountered a problem, start the target database monitoring, the Listener supports no services[[email protected] ~]$ lsnrctl start  lsnrctl for Linux:version 11.2.0.3.0- Production on 14-sep-2013 10:11:38  copyright (c) 1991, 2011, oracle.  all Rights reserved.  starting/u01/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr:please Wait ...   tnslsnr for linux:version 11.2.0.3.0-productionsystem parameter file is/u01/app/oracle/product/ 11.2.0/dbhome_1/network/admin/listener.oralog messages Written to/u01/app/oracle/diag/tnslsnr/adrep/listener/ Alert/log.xmllistening on: (Description= (Address= (protocol=tcp) (Host=adrep) (port=1521)) Listening on: (DESCRIPTION = (address= (PROTOCOL=IPC) (key=extproc1521))   connecting to (description= (address= (PROTOCOL=TCP) (HOST= Adrep) (port=1521)) STATUS of the LISTENER------------------------Alias             &NBsp       listenerversion                   Tnslsnr for Linux:ver Sion 11.2.0.3.0-productionstart Date                14-sep-2013 10:11:38uptime & nbsp                  0 days 0 hr. 0 min. 0 sectrace level       &N Bsp       offsecurity                  on:local OS authentication SNMP                      offlistener Parameter File  /U01/AP P/oracle/product/11.2.0/dbhome_1/network/admin/listener.oralistener Log File        /u01/app/ oracle/diag/tnslsnr/adrep/listener/alert/log.xmllistening Endpoints summary...  (DESCRIPTION= (ADDRESS= ( PROTOCOL=TCP) (Host=adrep) (port=1521))   (description= (address=) (PROTOCOL=IPC)) the key=extproc1521 Supports no servicesthe command completEd successfully because this host was doing a stream experiment, modified the hostname, the previous monitoring and service name is also used NETCA reconfigure, but the boot monitoring is consistent with this state, dynamic listener registration is not locally logged on to the Oracle instance, Manual registration of instances also no results, the problem is still sql> alter system Register;  system altered.  sql>! [[email protected] ~]$ lsnrctl status  lsnrctl for linux:version 11.2.0.3.0-production on 14-SEP-2013 10 : 13:03  copyright (c) 1991, Oracle.  all Rights reserved.  connecting to (description= (address= (protocol=tcp) (HOST=adrep) (PORT=1521))) STATUS of the LISTENER------------------------Alias                     Listenerversion                   Tnslsnr for linux:version 11.2.0.3.0-pro Ductionstart Date                14-sep-2013 10:11:38uptime       & nbsp            0 days 0 hr. 1 min. sectrace level             nbsp Offsecurity &nbsp                on:local OS authenticationsnmp                      offlistener Parameter File  /u01/app/oracle/product/11.2.0/dbhome_1/ Network/admin/listener.oralistener Log File        /u01/app/oracle/diag/tnslsnr/adrep/listener/ alert/log.xmllistening Endpoints summary...  (description= (address= (protocol=tcp) (HOST=adrep) (PORT=1521)))   (description= (address= (PROTOCOL=IPC) (key=extproc1521)) The listener supports no servicesthe command completed Successfully[[email protected] ~]$ lsnrctl reload listener Log File        /u01/app/   lsnrctl for linux:version 11.2.0.3.0-production on 14-sep-2013 10:16:13  copyright (c) 1991, 2011 , Oracle.  all Rights reserved.  connecting to (description= (address= (protocol=tcp) (HOST=adrep) (PORT=1521))) The command completed Successfully[[email protecTed] ~]$ lsnrctl status  lsnrctl for linux:version 11.2.0.3.0-production on 14-sep-2013 10:13:18  C Opyright (c) 1991, Oracle.  all Rights reserved.  connecting to (description= (address= (protocol=tcp) (HOST=adrep) (PORT=1521))) STATUS of the LISTENER------------------------Alias                     Listenerversion                   Tnslsnr for linux:version 11.2.0.3.0-pro Ductionstart Date                14-sep-2013 10:11:38uptime       & nbsp            0 days 0 hr. 1 min. sectrace level             nbsp Offsecurity                  on:local OS authenticationsnmp     &N Bsp                offlistener Parameter File  /u01/app/oracle/Product/11.2.0/dbhome_1/network/admin/listener.oralistener Log File        /u01/app/oracle/diag/ tnslsnr/adrep/listener/alert/log.xmllistening Endpoints summary...  (description= (ADDRESS= (PROTOCOL=TCP) ( Host=adrep) (port=1521))   (description= (address= (PROTOCOL=IPC) (key=extproc1521))) The listener supports no servicesthe command completed successfully[[email protected] ~]$ lsnrctl stop  lsnrctl for Linux: Version 11.2.0.3.0-production on 14-sep-2013 10:17:03  copyright (c) 1991, D, Oracle.  all Rights reserved.  connecting to (description= (address= (protocol=tcp) (HOST=adrep) (PORT=1521))) The command completed successfully[[email protected] ~]$ lsnrctl start  lsnrctl for Linux:version 11.2.0.3.0-production on 14-sep-2013 10:18:53  copyright (c) 1991, D, Oracle.  all Rights reserved.  starting/u01/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr:please Wait ...   tnSlsnr for linux:version 11.2.0.3.0-productionsystem parameter file is/u01/app/oracle/product/11.2.0/dbhome_1/network /admin/listener.oralog messages Written to/u01/app/oracle/diag/tnslsnr/adrep/listener/alert/log.xmllistening on: ( Description= (address= (protocol=tcp) (Host=adrep) (port=1521)) Listening on: (Description= (Address= (PROTOCOL=IPC) ( key=extproc1521))   connecting to (description= (address= (protocol=tcp) (Host=adrep) (PORT=1521)) STATUS Of the LISTENER------------------------Alias                     Listene Rversion                   Tnslsnr for linux:version 11.2.0.3.0-production Start Date                14-sep-2013 10:18:53uptime         & nbsp          0 days 0 hr. 0 min. 0 sectrace level               Fsecurity           &NBSp      on:local OS authenticationsnmp                      offlistener Parameter File  /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.oralistener Log File        /u01/app/oracle/diag/tnslsnr/adrep/listener/alert/log.xmllistening Endpoints summary...  (description= (address= (protocol=tcp) (Host=adrep) (port=1521))   (Description= (ADDRESS= ( PROTOCOL=IPC) (key=extproc1521)) The listener supports no servicesthe command completed successfully[[email  Protected] ~]$  then consider configuring static monitoring through MGR, but let me be depressed, always prompted to enter a legitimate sid   this SID is definitely strmtarget Yes, global Name is the service name and it is target, which can be supported by the following parameters sql> Show parameter name  name                                 TYPE        value-------- ---------------------------------------------------------------------Db_file_naMe_convert                 stringdb_name                              string      strmtargdb_unique_name   &N Bsp                     string      strmtargetglobal_names &N Bsp                             Boolean     TR Ueinstance_name                          string   &N Bsp  strmtargetlock_name_space                        STRINGL Og_file_name_convert                stringprocessor_group_name     &NBS P       stringservice_names                      strin G      target can also find the SID is correct through the v$instance view sql> select instance_name from V$instance; instance_ NAME----------------Strmtarget There's no way to set up static monitoring? NO, here is another way to manually modify the Listener.ora file, add the following lines of content Sid_list_listener =   (sid_list =    (Sid_desc =    ( Global_dbname = target)   (Sid_name = strmtarget)  ) Its role is to configure an instance of static monitoring, but this is used to skip the graphical interface modification, If the use of Netmgr successfully modified the static monitoring of the instance, it will generate the above lines of code can be used to copy the Listener.ora with the Xftp tool, modified and then copied back to the same location can only be re-loaded once listen to register on the instance [email  protected] ~]$ lsnrctl reload  lsnrctl for linux:version 11.2.0.3.0-production on 14-SEP-2013 10:32:06& Nbsp; copyright (c) 1991, Oracle.  all Rights reserved.  connecting to (description= (address= (protocol=tcp) (HOST=adrep) (PORT=1521))) The command completed successfully[[email protected] ~]$ lsnrctl status  lsnrctl for Linux:version 11.2.0.3.0-production on 14-sep-2013 10:32:14  copyright (c) 1991, D, Oracle.  all Rights reserved.  Connecting to (Description= (address= (protocol=tcp) (Host=adrep)) STATUS of the LISTENER------------------------Alias                     Listenerversi On                   Tnslsnr for linux:version 11.2.0.3.0-productionstart Date                14-sep-2013 10:18:53uptime                    0 days 0 hr. Min. + sectrace level               Offsecurity                  on:local OS authenticationsnmp     &N Bsp                offlistener Parameter File  /U01/APP/ORACLE/PRODUCT/11.2.0/D Bhome_1/network/admin/listener.oralistener Log File        /u01/app/oracle/diag/tnslsnr/adrep/ listener/alert/log.xmllistening Endpoints summary...  (DEscription= (address= (protocol=tcp) (Host=adrep) (port=1521))   (description= (address= (PROTOCOL=IPC) (KEY= EXTPROC1521))) Services Summary ... Service "target" has 1 instance (s) .  instance "Strmtarget", status UNKNOWN, have 1 handler (s) for this service ... The command completed successfully[[email protected] ~]$  here target instance through the above method, successfully registered the instance, pay attention to "UNKNOWN" This means that it is statically registered, and that if "ready" is a dynamic registration Note: Dynamic and static monitoring can coexist, such as: [[email protected] ~]$ lsnrctl status  lsnrctl for Linux:version 11.2.0.3.0-production on 14-sep-2013 09:52:23  copyright (c) 1991, +, Oracle.  all Rights reserved.  connecting to (description= (address= (protocol=tcp) (HOST=ZLM) (PORT=1521))) STATUS of the LISTENER------------------------Alias                     Listenerversion                   Tnslsnr for linux:version 11.2.0.3.0-pro Ductionstart Date             &NBsp  14-sep-2013 09:15:04uptime                    0 days 0 hr. Notoginseng min. Sectrace level               offsecurity                  on:local OS authenticationsnmp                      offlistener Parameter File  /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.oralistener Log File        /u01/app/oracle/diag/tnslsnr/zlm/listener/alert/log.xmllistening Endpoints Summary ...  (description= (address= (protocol=tcp) (HOST=ZLM) (port=1521))   (description= (address=) (key=extproc1521))) Services Summary ... Service "zlm11g" has 2 instance (s) .  instance "zlm11g", status UNKNOWN, have 1 handler (s) for this service...  in Stance "zlm11g", status ready, have 1 handler (s) for the This service ... Service "Zlm11gxdb" has 1 instance (s) .  instance "Zlm11G ", status ready, have 1 handler (s) for the This service ... The command completed successfully[[email protected] ~]$ above is my monitoring status on the ZLM host, you can find that At the same time configure the dynamic and static monitoring summary: The above using the manual modification configuration static monitoring method successfully registered Oracle instance, dynamic monitoring often need to wait for instance startup, after a period of time to register, and static monitoring can be registered immediately. And once the instance restarts will cause dynamic monitoring to be temporarily invalid, some versions of the bug will even cause the registration of dynamic listening to no longer come up. So my view of listening is, as far as possible to configure static monitoring, so as to avoid a lot of problems caused by monitoring, such as we often encounter several Ora error:ora-12541, ora-12514, ora-12154, etc., especially in RAC and DG, a monitoring problem , it often brings a lot of trouble, especially need to attract people's attention.

The listener supports no services resolves a case

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.