Why "lsnrctl status" works on a single node?

Hello

I have a cluster 2 node RAC 11.1.0.7 running on Oracle Enterprise Linux 5. My listener.ora files are as follows:

RAC1 node:
LISTENER_RAC1 =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip)(PORT = 1521)(IP = FIRST))
      (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)(IP = FIRST))
    )
  )
RAC2 node:
LISTENER_RAC2 =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip)(PORT = 1521)(IP = FIRST))
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.65.1.118)(PORT = 1521)(IP = FIRST))
    )
  )
The listener was created through netca on rac1 node and the name of "LISTENER" default has been used. Both headphones are in place on both nodes:

RAC1 node:
[oracle@rac1 admin]$ ps -ef | grep tns | grep -v grep
oracle   21460     1  0 01:01 ?        00:00:00 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr LISTENER_RAC1 -inherit
RAC2 node:
[oracle@rac2 admin]$ ps -ef | grep tns | grep -v grep
oracle   21153     1  0 05:16 ?        00:00:00 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr LISTENER_RAC2 -inherit
What bothers me is why the command "lsnrctl status" on rac1 node returns the status of the listener, but isn't the same command on the node rac2?


RAC1 node:
[oracle@rac1 admin]$ lsnrctl status

LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 04-JAN-2011 01:05:33

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

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias                     LISTENER_RAC1
Version                   TNSLSNR for Linux: Version 11.1.0.7.0 - Production
Start Date                04-JAN-2011 01:01:42
Uptime                    0 days 0 hr. 3 min. 50 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
Listener Log File         /u01/app/oracle/diag/tnslsnr/rac1/listener_rac1/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.65.2.162)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
  Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "+ASM_XPT" has 1 instance(s).
  Instance "+ASM1", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@rac1 admin]$
RAC2 node:
[oracle@rac2 admin]$ lsnrctl status

LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 04-JAN-2011 05:20:23

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

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12541: TNS:no listener
 TNS-12560: TNS:protocol adapter error
  TNS-00511: No listener
   Linux Error: 111: Connection refused
[oracle@rac2 admin]$
However, if I add the name of the listener, I get its status:
[oracle@rac2 admin]$ lsnrctl status LISTENER_RAC2

LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 04-JAN-2011 05:20:47

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rac2-vip)(PORT=1521)(IP=FIRST)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER_RAC2
Version                   TNSLSNR for Linux: Version 11.1.0.7.0 - Production
Start Date                04-JAN-2011 05:16:32
Uptime                    0 days 0 hr. 4 min. 15 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
Listener Log File         /u01/app/oracle/diag/tnslsnr/rac2/listener_rac2/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.65.2.163)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.65.1.118)(PORT=1521)))
The listener supports no services
The command completed successfully
[oracle@rac2 admin]$
In fact, I'm new to administration of the RAC, but on single instance systems, if the listener has a default name, it is mandatory to include in the status (e.g. 'lsnrctl status LISTENER_TEST') command in the contrary case a "TNS-12541: listener TNS:no" error is returned. So on this system BECAUSE I do not really understand why "lsnrctl status" on the rac1 even work? It seems to me that the behavior on rac2 is correct...


The reason why I ask this question is because I think that it has some other implications. For example, my newly created ASM instance on the node rac2 recorded automatically with the listener, although the rac1 node does. I checked the parameter local_listener and remote_listener init and they are disabled on the asm instances:

RAC1 and RAC2 node:
SQL> show parameter listener

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
local_listener                       string
remote_listener                      string
Perhaps that if I configured on rac2 local_listener initialization parameter to solve the listener address it would work, but I would like to understand why this happens.


So if anyone has an explanation or a pointer in the documentation, I'll be very grateful.

Thanks in advance and best regards,
Swear

Hello

127.0.0.1 localhost.localdomain localhost rac1 rac1.localdomain
127.0.0.1 localhost.localdomain localhost rac2 rac2.localdomain

10.65.1.117 rac1.localdomain rac1
10.65.1.118 rac2.localdomain rac2

Your entries in the file hosts is incorrect. The hosts file does not have the same host name in two different IP. Only the first entry is resolved.

Please delete rac1.localdomain rac1 and rac2 rac2.localdomain of the line that begins with hosts file 127.0.0.1 in the two nodes.

Try again lnsrctl status on node 2

Correct the configuration of the node1, because once the changes in the host file, you may have problems logging on node 1:

RAC1 node:

LISTENER_RAC1 =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip)(PORT = 1521)(IP = FIRST))
      (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)(IP = FIRST))  # remove this
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.65.1.117)(PORT = 1521)(IP = FIRST))  # put this
    )
  )

Stop and start the receiver on node 1.

If works post here...

Kind regards
Levi Pereira

Published by: Levi Pereira on January 5, 2011 11:18

Tags: Database

Similar Questions

  • Why lsnrctl status displays the services that are not in listener.ora?

    I have a database 10g on Solaris 9.

    When I do "lsnrctl status" I get the following:

    LSNRCTL for Solaris: Version 10.2.0.5.0 - Production on July 29, 2015 11:46:30

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

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=cees2) (PORT = 1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    For Solaris TNSLSNR version: Version 10.2.0.5.0 - Production

    Start date July 14, 2015 07:52:31

    Availability 15 days 3 h 53 min 59 s

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /oracle/tns/listener.ora file

    The listener log file /Oracle/OraHome/10.2/network/log/listener.log

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=cees2) (PORT = 1521)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC)))

    Summary of services...

    Service 'PLSExtProc' has 1 instance (s).

    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...

    Service "FEC" has 1 instance (s).

    Instance "FEC", State LOAN, has 1 operation for this service...

    Service 'ceesXDB' has 1 instance (s).

    Instance "FEC", State LOAN, has 1 operation for this service...

    Service 'cees_XPT' has 1 instance (s).

    Instance "FEC", State LOAN, has 1 operation for this service...

    The command completed successfully

    And here is the content of the listener.ora file:

    ##############################################################################

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP)(HOST = cees2) (PORT = 1521))

    )

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC))

    )

    )

    )

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = PLSExtProc)

    (ORACLE_HOME = oracle/OraHome/10.2)

    (= Extproc PROGRAM)

    )

    )

    My question is where are the EEHC, ceesXDB and cees_XPT services if they are not defined in the listener.ora file?

    Thank you

    Michael

    Try this search string in your favorite browser:

    listening service Oracle xdb

  • sick. Why can CS3 - I only work with a single sheet on the desk? I want to make a multi page document...

    sick. Why can CS3 - I only work with a single sheet on the desk? I want to make a multi page document...

    Use this ancient workaround:

    Create a mutli-page PDF | Illustrator

  • Why combine multiple PDFs into a single pdf stop working?

    Why would "Combining pages into a single pdf document" just stop working?

    He worked two days ago.

    Now does not open the window of combine on OSX 10.9.5

    With the help of Acrobal pro VI

    It does not freeze and the other elements work always.

    The "Handset" command simply has nothing.

    I uninstalled the program and reinstalled.

    Acrobat Pro VI

    No change. Still, the cartel control does not.

    I have tried on several different .pdfs and also from the main menu.

    What is confusing is that it worked a few days earlier.

  • the info displayed in lsnrctl status are strange...

    Hi all

    my version of db is 10 gr 2.

    One minute, there is one instance of ORA10G, the other, there are two.
    my database is a database of single instance.

    I don't know what is happening. So, anyone could help explain?
    and also, how to fix?

    Thank you
    C:\Documents and Settings\Administrator>lsnrctl status listener
    
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 03-JUL-2011 14:27:19
    
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=phoenix)(PORT=1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Start Date                03-JUL-2011 14:26:44
    Uptime                    0 days 0 hr. 0 min. 39 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   F:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Listener Log File         F:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=phoenix)(PORT=1521)))
    Services Summary...
    Service "ora10g" has 1 instance(s).
      Instance "ora10g", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    
    C:\Documents and Settings\Administrator>lsnrctl status listener
    
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 03-JUL-2011 14:27:29
    
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=phoenix)(PORT=1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Start Date                03-JUL-2011 14:26:44
    Uptime                    0 days 0 hr. 0 min. 48 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   F:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Listener Log File         F:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=phoenix)(PORT=1521)))
    Services Summary...
    Service "ora10g" has 2 instance(s).
      Instance "ora10g", status UNKNOWN, has 1 handler(s) for this service...
      Instance "ora10g", status READY, has 1 handler(s) for this service...
    Service "ora10gXDB" has 1 instance(s).
      Instance "ora10g", status READY, has 1 handler(s) for this service...
    Service "ora10g_XPT" has 1 instance(s).
      Instance "ora10g", status READY, has 1 handler(s) for this service...
    The command completed successfully
    
    C:\Documents and Settings\Administrator>
    My listener.ora is as below:
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = ora10g)
          (ORACLE_HOME = F:\oracle\product\10.2.0\db_1)
          (SID_NAME = ora10g)
        )
      )
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = phoenix)(PORT = 1521))
        )
      )

    The OP is asking why the service of Ora10g shows 2 instances (one LOAN and an UNKNOWN).

    The reason is that you have both going on static and dynamic registration. The instance listed as READY is due to the dynamic registration of the instance that you started. The instance listed as UNKNOWN is the statically registered in listener.ora instance.

    John

  • Why my status of Messenger automatically change to appear available offline when I check my messages in my hot mail

    Why my status of Messenger automatically change to appear available offline when I check my E-mail?

    Why my status of Messenger automatically change to appear available offline when I check my E-mail?

    Thank you all, because I have found & tried the following & it seems to work for now...

    With messenger open downstairs, I then open internet Explorer and went

    on the website of hotmail to check the mail. Make sure it is not checked to remember

    Connect you and me

    I then went to the top right of the screen and click on the menu drop down and

    Click appear offline. Then I disconnected and closed the site. Live messenger

    running in the background all the time and since then to do the above, I did not

    has a question

  • Strange info command "lsnrctl status".

    Hello!

    Listener.ora contains the following information
    ***********************************
    listener.ora # Network Configuration file: C:\Oracle\listener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\Oracle\product\11.2.0\dbhome_1)
    (= Extproc PROGRAM)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\Oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    (SID_DESC =
    (GLOBAL_DBNAME = MYBASE)
    (ORACLE_HOME = C:\Oracle\product\11.2.0\dbhome_1)
    (SID_NAME = MYBASE)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = cnvrgtest05 - BD.ddddd.eee.ru)(PORT = 1521))
    )
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    )
    )

    ADR_BASE_LISTENER = C:\Oracle

    DIRECT_HANDOFF_TTC_LISTENER = OFF
    ******************************************************

    After that I started listener and later check the command "lsnrctl status" I see the folllowing

    ******************************************************
    C:\Users\AdminC > lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on February 6, 2013 17:36:49

    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = cnvrgtest05 - BD.ddddd
    . EEE.ru) (port = 1521)))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    TNSLSNR for Windows 64-bit version: Version 11.2.0.1.0 - Prod
    ction
    Start date February 4, 2013 16:29:14
    Availability 2 days 1 hour 7 minutes 40 seconds
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Listener parameter File C:\Oracle\listener.ora
    C:\oracle\diag\tnslsnr\Cnvrgtest05-BD\listener\alert\l log listener
    og. XML
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = cnvrgtest05 - BD.ddddd.eee.ru)
    (PORT = 1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Summary of services...
    Service 'CLRExtProc' has 1 instance (s).
    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
    'MYBASE' service has 2 occurrences.
    'MYBASE', status UNKNOWN, has 1 operation for this service...
    'Mybase' instance, State LOAN, a 1 operation for this service... *
    Service 'MYBASEXDB' has 1 instance (s). *
    'Mybase' instance, State LOAN, a 1 operation for this service... *
    The command completed successfully

    ******************************************************

    QUESTION: why do I see entries that appears in BOLD?
    There is another source of listener configuration?

    kogotok1 wrote:
    The most important - is there so these entries OK and no errors?
    I mean
    'MYBASE', status UNKNOWN, has 1 operation for this service...
    'Mybase', State LOAN, has 1 operation for this service...

    If everything is OK with my listener settings?
    I would not remove the dispatchers, in which case it is not a problem.

    Published by: kogotok1 on March 5, 2013 15:40

    Yes, everything is fine and normal.

    The 'unknown' simply means there was an entry in the section SID_LIST of the listener.ora, while the 'ready' means the database contacted the listener for automatic recording.

    The "unknown" the listener is saying: ' you told me there is a data base MyBase name, so I'll take your Word for it, but I really can't confirm it.
    The 'ready' is the listener by saying "I know there is a database named MyBase because he contacted me less than a minute ago."

  • too many return values for a single node

    I have a table with two columns

    the table structure
    ----------------------
    string school_name type
    xmltype obj_xml

    Row1
    ----------
    abc_school,
    < student >
    < student >
    < id > 101 / < ID >
    < teacher > CBA < / teacher >
    < / student >
    < student >
    < id > 102 / < ID >
    XYZ < teacher > < / teacher >
    ONP < teacher > < / teacher >
    RSM < teacher > < / teacher >
    < / student >
    < / students >

    row2
    -----------
    def_school,
    < student >
    < student >
    < id > 301 / < ID >
    pqr < teacher > < / teacher >
    < / student >
    < student >
    < id > 302 / < ID >
    XYZ < teacher > < / teacher >
    < / student >
    < / students >


    is it possible to display data in the format using a query oracle below.
    ---------------------------------------------------------------------------------------------------
    teacher id school_name
    --------------------- ------- ------------
    abc_school 101 abc
    abc_school 102 xyz
    abc_school 102 onp
    RSM abc_school 102


    I used the slot request, throwing an error - too many return values for a single node

    SELECT school_name, teacher
    ExtractValue (value (x), ' / / key ') like student_id
    extractValue (value (x), ' / / value ') AS teacher
    SCHOOL t,.
    TABLE)
    XMLSequence (extract (obj_xml, ' / students/pupils '))
    ) x

    Please post How can I modify this query, the teacher tags may vary for each student

    Published by: user7955917 on May 8, 2012 04:00

    As mentioned in your other thread today, it would be helpful if you could post your exact version of db.
    Samples of work would be appreciated too, the XML data, you gave are not correct.

    I would do it with two XMLTables, like this:

    SQL> SELECT school_name
      2       , x1.id
      3       , x2.teacher
      4  FROM school t
      5     , XMLTable('/students/student'
      6         passing t.obj_xml
      7         columns id       number   path 'id'
      8               , teachers xmltype  path 'teacher'
      9       ) x1
     10     , XMLTable('/teacher'
     11         passing x1.teachers
     12         columns teacher  varchar2(30) path '.'
     13       ) x2
     14  ;
    
    SCHOOL_NAME                            ID TEACHER
    ------------------------------ ---------- ------------------------------
    abc_school                            101 abc
    abc_school                            102 xyz
    abc_school                            102 onp
    abc_school                            102 rsm
    def_school                            301 pqr
    def_school                            302 xyz
    
    6 rows selected
     
    
  • XML - ORA-19025: EXTRACTVALUE returns the value of a single node

    Hello

    I'm new to XML DB. Can someone help me with the below XML

    I use the following XML... (I pasted a part only of it coz I need data only up to this article)

    XML
    --------------------

    <? XML version = "1.0" encoding = "UTF-8"? > < SOAP - ENV:Envelope xmlns:SOAP - ENV = "http://schemas.xmlsoap.org/soap/envelope/" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-."
    example"container ="http://www.w3.org/2001/XMLSchema"> < SOAP - ENV:Body >
    < ns:PicklistWS_GetPicklistValues_Output xmlns:ns = "urn: crmondemand/ws/list dropdown /" >
    < ListOfParentPicklistValue xmlns = "urn: / xml/crmondemand/list of choices" >
    < ParentPicklistValue >
    < language > ENU < / language >
    < ParentFieldName > plProduct_Team < / ParentFieldName >
    < ParentDisplayValue > Marketing On Demand < / ParentDisplayValue >
    < ParentCode > Marketing On Demand < / ParentCode >
    < Disabled > N < / disabled >
    < ListOfPicklistValue >
    < PicklistValue >
    Escalation of OCP/SME < code > < code >
    Escalation of OCP/SME < DisplayValue > < / DisplayValue >
    < Disabled > N < / disabled >
    < / PicklistValue >
    < PicklistValue >
    Ask fusion < code > < code >
    Merge request < DisplayValue > < / DisplayValue >
    < Disabled > N < / disabled >
    < / PicklistValue >



    Code
    ---------




    SELECT distinct
    EXTRACTVALUE (value (SR), ' / ParentPicklistValue/ListOfPicklistValue/PicklistValue/Code ','xmlns = "urn: / crmondemand/xml/list of choices"') AS display.
    Return EXTRACTVALUE (value (SR),'/ ParentPicklistValue/ListOfPicklistValue/PicklistValue/DisplayValue ',' xmlns = "urn: / crmondemand/XML/picklist"'),.
    EXTRACTVALUE (value (SR), '/ ParentPicklistValue/ParentDisplayValue','xmlns = "urn: / crmondemand/XML/picklist"') AS parent_display,
    EXTRACTVALUE (value (SR), '/ ParentPicklistValue/ParentCode','xmlns = "urn: / crmondemand/XML/picklist"') AS parent_return
    TABLE (XMLSEQUENCE ((EXCERPT)
    WEB_SERVICE (' <? xml version = "1.0" encoding = "UTF - 8" standalone = "no"? > < envelope soap: xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/")
    xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" container = "http://www.w3.org/2001/XMLSchema" >
    < soap: Body >
    < PicklistWS_GetPicklistValues_Input xmlns = "urn: crmondemand/ws/list dropdown /" >
    Type < FieldName > < / FieldName >
    Service request < RecordType > < / RecordType >
    < / PicklistWS_GetPicklistValues_Input >
    < / soap: Body >
    "< / envelope soap: >.
    (' document / urn: crmondemand/ws/list dropdown /: ' GetPicklistValues, Id_de_la_session).
    "/: soap envelope / soap: Body / * / * / * ',' xmlns:soap ="(http://schemas.xmlsoap.org/soap/envelope/'))) SR "


    ERROR
    ---------

    ORA-19025: EXTRACTVALUE returns the value of a single node


    UNDERSTANDING
    ---------------------------

    As my Xpath only points until the node - ParentPicklistValue and not the child nodes under it. That's why, when I try to interview the child nodes - / ParentPicklistValue/ListOfPicklistValue/PicklistValue/Code, I get the error mentioned above.

    REQUIREMENT
    -----------------------

    Can someone help me to receive the values of the mother and child values based on xml and query above.

    Hello

    It's a classic ;)

    You need a second XMLSequence who shreds the collection of PicklistValue in relational lines:

    select extractvalue(value(sr2), '/PicklistValue/Code', 'xmlns="urn:/crmondemand/xml/picklist"') AS Display
         , extractvalue(value(sr2), '/PicklistValue/DisplayValue', 'xmlns="urn:/crmondemand/xml/picklist"') AS Return
         , extractvalue(value(sr1), '/ParentPicklistValue/ParentDisplayValue', 'xmlns="urn:/crmondemand/xml/picklist"') AS parent_display
         , extractvalue(value(sr1), '/ParentPicklistValue/ParentCode', 'xmlns="urn:/crmondemand/xml/picklist"') AS parent_return
    from table(
           xmlsequence(
             extract( WEB_SERVICE( ... )
                    , '/soap:Envelope/soap:Body/ns:PicklistWS_GetPicklistValues_Output/ListOfParentPicklistValue/ParentPicklistValue'
                    , 'xmlns="urn:/crmondemand/xml/picklist"
                       xmlns:ns="urn:crmondemand/ws/picklist/"
                       xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"' )
           )
         ) sr1
       , table(
           xmlsequence(
             extract( value(sr1)
                    , '/ParentPicklistValue/ListOfPicklistValue/PicklistValue'
                    , 'xmlns="urn:/crmondemand/xml/picklist"' )
           )
         ) sr2
    ;
    

    What is your version of the database BTW?
    10.2 and upward, you can use the XMLTable.

  • LSNRCTL status

    Hello world
    I have a pressing please

    I have two DB instance on my serever DB
    Say that A and B

    Then I executed

    LSNRCTL > status
    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = my.machine.com
    (com) (port = 1018))) - that's
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.3.0 - production
    ction
    Start date may 6, 2011 09:48:50
    Running time 20 days 6 h 7 min 0 sec
    Admin trace level
    Security ON: OS Local Authentication
    SNMP OFF
    Listener parameter File C:\oracle\ora10g\network\admin\listener.ora
    Listener log file C:\oracle\ora10g\network\log\listener.log
    Listener from the Trace File C:\oracle\ora10g\network\trace\listener.trc
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = my.machine.com)(PORT=1018))) - for A
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
    Summary of services...
    Service 'PLSExtProc' has 1 instance (s).
    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
    Service 'A' has 1 instance (s).
    Instance of 'A', status UNKNOWN, has 1 operation for this service...
    The command completed successfully
    LSNRCTL >


    My what. Is why it does not show information about instance DB 'B '.

    Please suggest
    Thanks in advance

    Concerning
    S

    By default, the name of the listener is listener

    And if you do that

    lsnrctl > start

    It will start listening by default IE with LISTENER of your listener.ora file name it is to say you see your status output information to A

    If you want to start second earphone IE for SID B write this

    lsnrctl > Start B

    Now, he will start listener for SID B whose name is B as you can see on your listener.ora file

    And also if you want to see status that

    lsnrctl > status B

    Line: -.

    If your query is resolved you can mark the thread as correct/good and close the message

  • DICOM metadata - extractvalue returns the value of a single node

    Hello

    I have difficulties in getting the value of the objects with repeated elements. Specifically, I need to get the value of spacing of pixels in the following excerpt from xml.
    <DICOM_OBJECT>
    ..
         <DECIMAL_STRING tag="00181063" definer="DICOM" name="Frame Time" offset="900" length="2">0.0</DECIMAL_STRING>
         <CODE_STRING tag="0018106A" definer="DICOM" name="Synchronization Trigger" offset="910" length="10">NO TRIGGER</CODE_STRING>
    ..
         <DECIMAL_STRING tag="00280030" definer="DICOM" name="Pixel Spacing" offset="1660" length="22">0.003562</DECIMAL_STRING>
         <DECIMAL_STRING tag="00280030" definer="DICOM" name="Pixel Spacing" offset="1660" length="22">0.003562</DECIMAL_STRING>
         <UNSIGNED_SHORT tag="00280100" definer="DICOM" name="Bits Allocated" offset="1690" length="2">8</UNSIGNED_SHORT>
        <UNSIGNED_SHORT tag="00280101" definer="DICOM" name="Bits Stored" offset="1700" length="2">8</UNSIGNED_SHORT>
    ..
    </DICOM_OBJECT>
    Normally, I use the following query to get the value of spacing of pixels:
     select EXTRACTVALUE(t.dicom.metadata
                          ,'/DICOM_OBJECT/*[@name="Pixel Spacing"]'
                         ,'xmlns=http://xmlns.oracle.com/ord/dicom/metadata_1_0')  scale_factor
       from my_dicom_object t
    It works, but not when there are two elements. Then I get the error: "ORA-19025: EXTRACTVALUE returns the value of a single node.


    All I really need is to get the value of the first node with the name of "spacing of pixels. Despite the many examples available to do with traditional xml paths, I was unable to find an example that makes using XPATH search strings rather than direct tag structure.

    Can someone give an example?

    Thank you!

    Published by: rcdev on August 10, 2009 15:20

    All I really need is to get the value of the first node with the name of "spacing of pixels.

    This? :

    select EXTRACTVALUE(t.dicom.metadata
                          ,'/DICOM_OBJECT/*[@name="Pixel Spacing"][1]'
                         ,'xmlns=http://xmlns.oracle.com/ord/dicom/metadata_1_0')  scale_factor
       from my_dicom_object t
    
  • -&gt; LSNRCTL status BLOCKED

    Hi gurus,

    When I type lsnrctl status; listener of my primary database is high and indicated as READY but the listener of my standby database are shown as BLOCKED in the lsnrctl status list. How can I make listener of my database waiting to be BLOCKED to ready?

    Solaris Oracle 10g 2 RAC node.

    Thank you

    Published by: Ogan Ozdogan on October 26, 2008 13:14

    Moreover, I get
    ERROR:
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections

    Aman,
    There are many reasons a lot to connect to the database before, even in less than 11g Oracle version, above all it is / was really useful for reports of database read-only and always available for recovery mode mode. You could even changes of Mahé and always available for recovery in some specific configurations mode only from 11 g.
    In addition, you should not be a problem to connect as SYS on the database.

    Ogan,
    You should try to connect to the database directly on the server, not remotely, have you tried?
    Finally, what if you set the ORACLE_SID env variable before connect you like this:
    export ORACLE_SID = your_dbname
    sqlplus / as sysdba

    Nicolas.

  • AirPrint is not working since 9.3.1 what airprint update - not found.  tried the suggestion of JimHdk, who worked for a single document. any suggestions

    AirPrint is not working since 9.3.1 what airprint update - not found.  tried the suggestion of JimHdk, who worked for a single document. any suggestions

    Since we do not know what may have suggested to Jim, power cycle your router and the printer and force restart the iPad. Unplug the router and the printer power for 30 seconds. Plug in the router first and let it restart. And then reconnect the printer power supply. Then force restart the iPad. To force the reboot your device, press and hold the two buttons of sleep/wake and home for at least ten seconds, until you see the Apple logo.

  • C660 - 10 d should work with the single module of RAM to 8 GB?

    I have a single module of RAM to 8 GB which works very well in Satellite C640, but does not work in my C660 - 10 d.
    Should C660 work with a single 8 GB RAM module, or are you to have 4 GB x 2?
    Any advice much appreciated.
    (The module is Transcend JetRam PC3 10600 (DDR3 1333) 8GB)

    Hello

    The question should be: is the Satellite C660 - 10 d supports 8 GB of RAM?

    According to the information that is on the internet, the C660 - 10 d is supported by the Chipset Mobile Intel (r) GL40 Express.

    This chipset supports only 4 GB of RAM and finally, you can use DDR2 modules 512 MB / 1 GB / 2 GB 667 MHz to extend the RAM

  • Why does Vista work with adobe flash player and RoboForm?

    Why does Vista work with adobe flash player and RoboForm?

    original title: Vista 64-bit

    He does.  Even if you ask the wrong way.  It is not Windows Vista which would "work with" other applications, it's other applications that "work with" (or not) Windows Vista.  After all - Windows has no need or the other of these two applications to run, but these two applications need to Windows (or some other applicable/compatible OS) service.

    Not only it works with both - but Adobe is finally released with a version 64-bit Flash Player - so you can use it with the version 32-bit and 64-bit Internet Explorer.

    RoboForm: http://www.roboform.com/support/manual/roboform; "Requirements. RoboForm works under Windows 2000, 2003, XP, Vista, 7, server systems. Internet Explorer version 6.0 or later is required. All Service Packs and security patches must be installed. "

Maybe you are looking for

  • Problem with my HP Compaq notebook 6910p

    When I install any OS 7, 8.1, or all 10 cards are being Setuped except the video card (ATI mobility Radeon 2300 X), I searched a lot for its installation, but nothing. I downloaded several catalysts but without any progress. even I entered the offici

  • installation of iTunes 10.6.3 for Windows 7 after you remove version 12

    Update iTunes 12.  I do not like or that you need all the bells and whistles. I wan to reload the version 10.6.3. I uninstalled version 12.  When I try to install iTunes 10.6, the installer goes almost all the way before "roll back the action."  The

  • Crash in Mass Effect 2

    I'm loving Mass Effect 2 until it crashed. I did everything I can up to recruit the doctor. When I try to go into quarantine on Aria resort, I get the loading screen and then the game crashes and closes. I have contacted EA, who, so far, have suggest

  • I have been cheated against a Windows 7 CD duplicate, now I can my built in dos operating system.

    My built-in operating system is Windows Vista and my laptop is Hp pavilion dv6. I had a Windows 7 CD duplicate and installed it but now my office is white and it is written that this version is not authentic. Can I get my built in the operating syste

  • Wireless connectivity for Sony Vaio VPCS132FX

    I have problems with connecting to wireless networks. My switch seem ok, but once I turn it on, it says on the screen as in the wide still and cannot get connectivity. Sometimes it turns on and turns off again. My model is the Sony Vaio VPC 132 FX an