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."

Tags: Database

Similar Questions

  • 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

  • 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 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

  • Coil headset $lsnrctl status

    Hi guys,.

    I'm just spool the status of the listener in a textfile (report $lsnrctl).
    On the screen, I get the correct result but for some reason, I can't do the spool to a file.

    Is it not possible to wrap the result to a file?

    994118 wrote:
    Thanks for the clarification on the order of State lsnrctl :)

    Therefore, there is no generic way to export or the status of the listener the coil if the database runs under Windows or Unix?

    Well, most systems people use redirects of similar flow for example

    C:\> lsnrctl status > c:\temp\output.txt
    

    If you can include in your operating system script (file of commands or shell script or other)

  • 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

  • When I click on file--> information about the file, I get this msg "Cannot complete the File Info command because the metadata library could not be loaded."?

    When I click on FILE-> FILE INFO in Photoshop, I get this msg "Cannot complete the File Info command because the metadata library could not be loaded."  He works in bridge, but not in Photoshop.  Used to work in Photoshop, I think that before the last update.  What gives?

    FINALLY, there is a new update to Photoshop.  I downloaded it, and the problem is solved!

  • Help decipher the lsnrctl status

    I need help to know what is happening with this:

    Cmd:
    C:\Users\Ryan>
    C:\Users\Ryan>lsnrctl
    
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 22-JUL-2011 17:22
    :51
    
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    
    Welcome to LSNRCTL, type "help" for information.
    
    LSNRCTL> status
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12557: TNS:protocol adapter not loadable
     TNS-12560: TNS:protocol adapter error
      TNS-00527: Protocol Adapter not loadable
    
    LSNRCTL> status 127.0.0.1
    Connecting to (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTOCOL=TCP)
    (HOST=127.0.0.1)(PORT=1521)))
    TNS-12557: TNS:protocol adapter not loadable
     TNS-12560: TNS:protocol adapter error
      TNS-00527: Protocol Adapter not loadable
    
    LSNRCTL> status train
    TNS-01101: Could not find service name train
    LSNRCTL> status maxqprod
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(C
    ONNECT_DATA=(SERVICE_NAME=CCTL)))
    TNS-12557: TNS:protocol adapter not loadable
     TNS-12560: TNS:protocol adapter error
      TNS-00527: Protocol Adapter not loadable
    
    LSNRCTL> status CCTL
    TNS-01101: Could not find service name
    LSNRCTL>
    DB name, that I am trying to connect is called 'Train '.

    The line
    LSNRCTL> status maxqprod
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(C
    ONNECT_DATA=(SERVICE_NAME=CCTL)))
    is very telling... The "connecting to" string was able to associate the name of 'CCTL' which is according to my tnsnames.ora file (properly):
    MAXQPROD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = CCTL)
        )
      )
    So I think I'm on the right track, but I don't know where to go from here...

    I am new to Oracle, I'm a novice DB dev. I'm trying to get this DB up and so I can program an application Java to interact with it.

    Oracle and the DB itself has been installed by a custom installer made by the software provider.

    Thanks in advance for your help.

    806640 wrote:
    :) How can do this?

    Use the help function in the OS.
    Read the Fine Manual Setup Guide.

    >

    Sorry, I mentioned that I am new to Oracle?

    Do you know what is a Service of exploitation?

  • -> 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.

  • Interpret the result of "lsnrctl status".

    LSNRCTL > stat
    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=MUMSOLGACDEV01) (PORT = 152
    (1)))
    AMT-01169: the listener has not recognized the password
    LSNRCTL > stat
    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=MUMSOLGACDEV01) (PORT = 152
    (1)))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 9.2.0.8.0 - production
    tion
    Start date 11 - AUG - 2008 19:20:34
    Uptime 0 days 0 h 0 min 6 sec
    Draw level off
    Security OFF
    SNMP OFF
    Listener parameter File C:\oracle\ora92\network\admin\listener.ora
    Listener log file C:\oracle\ora92\network\log\listener.log
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp (PORT = 1)(HOST=MUMSOLGACDEV01.ad.crisil.com)
    521)))
    Summary of services...
    Service 'gacdev' has 2 occurrences.
    'GACDEV' instance, state LOAN, has 1 operation for this service...
    Instance of 'gacdev', status UNKNOWN, has 1 operation for this service...
    Service 'gactest' has 2 occurrences.
    Instance of 'gactest', status UNKNOWN, has 1 operation for this service...
    'Gactest' instance, state LOAN, has 1 operation for this service...
    Service 'projectXDB' has 1 instance (s).
    'Gactest' instance, state LOAN, has 1 operation for this service...
    The command completed successfully
    LSNRCTL >

    Entry in Listener.ora:
    **********************************************************
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = MUMSOLGACDEV01)(PORT = 1521))
    )

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = c:\oracle\ora92)
    (SID_NAME = gacdev)
    )
    (SID_DESC =
    (ORACLE_HOME = c:\oracle\ora92)
    (SID_NAME = gactest)
    )
    )
    ***********************************************************************
    I want to know the meaning of the 3 lines:

    1. the "gacdev" Service has 2 occurrences
    2. the instance 'GACDEV' READYState, has 1 operation for this service...
    3. the instance 'gacdev', status UNKNOWN, has 1 operation for this service...

    Our MUMSOLGACDEV01 server contains two databases GACDEV and GACTEST.

    Santosh Kumar Hi!

    Line 1: Service 'gacdev' has 2 occurrences

    This means that the database with the name of the "gacdev" Service is for registered bodies.

    Line 2: 'GACDEV', READYState Instance, has 1 operation for this service...

    This means that an Instance called "GACDEV" has entered dynamically in the listener. This is one of the two instances of line 1. The PMON process tries every few minutes to record an Instance to the listener so that the listener know about this instance. The keyword "READY" indicates that this is a dynamically registered instance because the listener knows the State of the instance.

    Line 3: Instance 'gacdev', status UNKNOWN, has 1 operation for this service...

    This means that an Instance called 'gacdev' is statically registered the listener. It is the second of the two instances of line 2. The 'UNKNOWN' keyword indicates the static record. You did it with the following lines in your listener.ora:

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = c:\oracle\ora92)
    (SID_NAME = gacdev)
    )
    (SID_DESC =
    (ORACLE_HOME = c:\oracle\ora92)
    (SID_NAME = gactest)
    )
    )

    I hope this helps!

  • Running services command ' service - status-all. "

    In the ESX console screen, how it lists all services running page?

    The command is "service - status-all", but I can't break the generated list page.

    Try to use "service - status-all | more»

    Marcelo Soares

    VMWare Certified Professional 310/410

    Master virtualization technology

    Globant Argentina

    Review the allocation of points for "useful" or "right" answers.

  • Numbers, what happened to the "get info" command to the document properties?

    I was frustrated by this month. Where the order read to find the document?  Or if Apple has changed the

    Download the script for information where is the command?  This frustration is usually when you use a portable office/computer version, but I guess I'll stay frustrated using the IOS.  Any help is appreciated

    Thank you

    Hi Brverly,

    What you trying to do?

    Quinn

  • Strange behavior 'adopmnctl.sh status '.


    Our organization works with a system of production of CARS and six development/test environments that are unique, all instances cloned production every month or two.

    During our checklist in the morning, to see what bodies have survived the night, we have a few scripts that kickoff "adopmnctl.sh status" to see what is upwards or downwards. 7 out of 8 cases declare 'Alive' to 'OC4J:oafm', 'OC4J:forms', 'OC4j:oacore' and 'HTTP_Server. Everything is good. However, a single instance always reports that the process of "OC4J:oafm" is "Down". If I run it myself, once again, it always reports as being down, even if I can pass the front part and use the EBS system as usual.

    status of #adopmnctl.sh

    You are running version 120.6.12010000.5 adopmnctl.sh

    Check the State of OPMN successful process...

    Process pending: R12DB_dev02.dev02.mycompanyurl.co.uk
    ---------------------------------+--------------------+---------+---------
    IAS-component | process type.     The NEST | status
    ---------------------------------+--------------------+---------+---------
    OC4JGroup:default_group | OC4J:OAFM |     N/A | Down
    OC4JGroup:default_group | OC4J:forms |   10908. Alive
    OC4JGroup:default_group | OC4J:oacore |   10832. Alive
    HTTP_Server | HTTP_Server |   10728. Alive


    adopmnctl.sh: exit with status 0

    adopmnctl.sh: check the logfile /my_oracle_directory_structure/logs/appl/admin/log/adopmnctl.txt for more information...

    When I run adopmnctl.sh start I get:

    You are running version 120.6.12010000.5 adopmnctl.sh

    From Oracle Process Manager (OPMN)...

    adopmnctl.sh: exit with status 0

    adopmnctl.sh: check the logfile /my_oracle_directory_structure/logs/appl/admin/log/adopmnctl.txt for more information...

    and if I run status of adopmnctl.sh , it tells me that it's always down!

    Someone at - it ideas why he always reports 'Down' so in reality it seems to be in place and working? Why just this instance and not the other 7?

    Thank you.

    Some research on Google, there seems to be two reasons why you get a "adoafmctl.sh: exit with status 204" error. The first is that there is a conflict between the port numbers. The second reason is that the .lock file exists in one of the following directories:

    $INST_TOP/ora/10.1.3/j2ee/oacore/persistence/*

    $INST_TOP/ora/10.1.3/j2ee/oafm/persistence/*

    $INST_TOP/ora/10.1.3/j2ee/forms/persistence/*

    In my case, a .lock file existed in $INST_TOP/ora/10.1.3/j2ee/oafm/persistence/*

    Directory

    Delete/rename the file and either bouncer all application services or simply restart oafm.

  • SQLCL Info command

    It is a 11.2.0.3 database.

    Order of information does not give me the section of the table. The example in your blog shows the section table with last crawled etc. Here are the first lines of what I get.

    SQL > sapr3.vbup info

    Columns

    NAME DATA TYPE DEFAULT NULL COMMENTS

    MANDT VARCHAR2 (3 BYTES) '000' no.

    VBELN VARCHAR2 (10 BYTE) No. ' '

    POSNR VARCHAR2 (6 BYTES) No. '000000'

    RFSTA VARCHAR2 (1 BYTE) No. ' '

    RFGSA VARCHAR2 (1 BYTE) No. ' '

    To a SQL Trace resembles the query to complete, which might be assuming 12 c. 904 error is on the inmemory and dml_timestamp columns.

    PARSE ERROR #18446744071467763200:len = 250 dep = 0 = 37 oct cover 3 = uid = 37 tim = 11208636231870 err = 904

    Select num_rows, sample_size last_analyzed inmemory, dml_timestamp, comments

    from sys.all_Tables t, tc sys.all_tab_comments

    where t.owner = tc.owner (+)

    and t.table_name = tc.table_name (+)

    and t.owner =: proprietaire_objet

    and t.table_name =: OBJECT_NAME

    Ginette, that would be a bug

  • Status report of VM tools with more info than the status

    Hallo.

    I'm looking for a script that shows me the status of VM as 'Version of the tools' tools, ' oder execution tools do not ' and 'Tools need upgrade' for each virtual machine. I found a small script

    $date=get-date -uformat « %Y %m %d-%H %M %S »; Get-vm | % { get-view $_.ID } | Select Name,

    @{Name='ToolsStatus'; {Expression={$_. guest.toolsstatus}},

    @{Name"ToolsVersion"=; {Expression={$_. config.tools.toolsVersion}} |

    Tri-objet name | Export-csv c:\temp\vmtoolsver_$date.txt -NoTypeInformation

    but I need additional information such as custom for each virtual named 'Customer' computer fields.

    Can anyone help me put in place this information in the script?

    It would be very nice.

    Thank you all.

    Best regards

    ron9999

    And another solution is to use the virtual computer object CustomFields property:

    $date = Get-Date -uformat "%Y%m%d-%H%M%S"
    Get-VM | `
    Select-Object -Property Name,
    @{ Name="ToolsStatus"; Expression={
      $_.ExtensionData.Guest.ToolsStatus}},
    @{ Name="ToolsVersion"; Expression={
      $_.ExtensionData.Config.Tools.ToolsVersion}},
    @{ Name="Customer"; Expression={$_.CustomFields["Customer"]}} | `
    Sort-Object -Property Name | `
    Export-CSV -Path c:\temp\vmtoolsver_$date.txt -NoTypeInformation
    

Maybe you are looking for