How to identify which instance is associated with what earphone

Hi all
I have created a DB instance. Suppose that named 'B '. but there is already another this DB instance. Named 'A '.
Then, I created a listener instance DB 'B '.

Now, my what, is that HOW can I identify which instance is associated with what listener.

(2) if I create listener can also created service. If I stopped that service and then I can fire the query or Login again, WHAT will be the expected result.
I tried to ask people of my answer. but not convinced.
Please help me for this.
Thanks in advance

See the listener.ora file. It is usually $ORACLE_HOME/network/admin/listener.ora

You can see what listener is associated with a file.

Details will generally be like this

>
LSNR1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = instance1)(PORT = 1666))
)
)
)

LSNR2 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = instance2)(PORT = 2666))
)
)
)

>

>
If I create listener can also created service. If I stopped that service and then I can fire the query or Login again, WHAT will be the expected result.
I tried to ask people of my answer. but not convinced.
>

A listener is used when a client wants to connect to the database server. If you connect directly to the server without using the name of the instance, then you can connect even if you stop the service.

Check it,

C:\Windows\system32>lsnrctl stop

LSNRCTL for 32-bit Windows: Version 10.2.0.3.0 - Production on 03-MAY-2011 23:06
:22

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
The command completed successfully

C:\Windows\system32>sqlplus ganesh

SQL*Plus: Release 10.2.0.3.0 - Production on Tue May 3 23:06:36 2011

Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.

Enter password:

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options

SQL> select * from dual;

D
-
X

SQL>

But if you try to connect from a client, or use the name of the instance, while connectineg
you get the error like that,

SQL> conn ganesh@ganesh
Enter password: ******
ERROR:
ORA-12541: TNS:no listener

Warning: You are no longer connected to ORACLE.
SQL> 

If you see, I used the name of the @ganesh instance.

G.

Tags: Database

Similar Questions

  • HOW can I identify which instance is associated with what listener

    Hi all
    I have created a DB instance. Suppose that named 'B '. but there is already another this DB instance. Named 'A '.
    Then, I created a listener instance DB 'B '.

    Now, my what, is that HOW can I identify which instance is associated with what listener.

    (2) if I create listener can also created service. If I stopped that service and then I can fire the query or Login again, WHAT will be the expected result.
    I tried to ask people of my answer. but not convinced.
    Please help me for this.
    Thanks in advance

    856376 wrote:
    Hi all
    I have created a DB instance. Suppose that named 'B '. but there is already another this DB instance. Named 'A '.
    Then, I created a listener instance DB 'B '.

    Now, my what, is that HOW can I identify which instance is associated with what listener.

    A listener is able and sufficient to deal with all the instances running on the computer. You are supposed never to create a listener instance. So in your case, the other instance B would be also recorded with the already present litener as well as the existing instance.

    (2) if I create listener can also created service. If I stopped that service and then I can fire the query or Login again, WHAT will be the expected result.

    Have you tried looking in this area and see what would be the expected result?

    Services are a means through which handles things. And when the service would cease, it means that this particular thing also will not work. Now, do you understand what the listener is actually used for? It is intended to listen for incoming connection requests. So if you turned it OFF, you cannot send to your db.

    I tried to ask people of my answer. but not convinced.

    Before asking people, please read the documentation that covers all these things in a large part. Check it out at http://tahiti.oracle.com.

    HTH
    Aman...

  • your identifier apple is not associated with a content in itunes connect provider (2002)

    your identifier apple is not associated with a content in itunes connect provider (2002)

    me too * can someone just tell me how to solve this problem?

  • Can someone give an example of how to configure the subnet mask associated with the network and host of an IP address part?

    Can someone give an example of how to configure the subnet mask associated with the network and host of an IP address part?

    Hi stuckfree,

    The question you posted would be more appropriate on the TechNet Forums. I would recommend posting your request here.

    http://social.technet.Microsoft.com/forums/en/itproxpsp/threads

  • Which programs are associated with the xcm files

    I found a folder in my folder system program (. 86) that I don't know or I don't know where it comes from. It has a bunch of XCM file in the known folder that cannot open my own computer, can not give me info on how to open and cannot tell me which of my programs, he joined. I want to delete it because it seems that a suspect case, but not because I can not check programs what or how much it may or may not be associated with.

    Sincerely yours, Aaron Baker.

    Take a look at this link:

    http://pcsupport.about.com/od/FileExtensions/f/xcmfile.htm

    Excerpts .....................................

    What is the .xcm file?

    Response: A file with the XCM file extension is a Concept exported CmapTools mapping file.

    How to open a XCM file:

    The easiest way to open a file XCM is double-click on it and let your PC decide which default application should open the file. If no program opens the XCM file then you have probably an installed application that can view and/or edit files XCM.

  • How to execute a JavaScript script associated with interactive field?

    I need to perform a virtual a plugin click. Say a set of 3 button to check/radio fields have the value of exports:

    -Yes


    -No.


    -Maybe

    I have a script which indicates that was clicked almost the button of "Maybe". All I have to do is find which radio buttons:

    radioButton #0

    radioButton #1

    radioButton #2

    contains the export value of "Maybe". So far, this task is very doable. My question is how to do the following:

    I need to call the JavaScript Shell and run it, using as argument the code JavaScript associated with the top of the button mouse.

    Any help will be most appreciated...

    TIA,

    -Ramon

    IF you try to do it from a plugin - I would use just Cos API to obtain the appropriate JS of the action of the field dictionary and then pass it to AFExecuteThisScript().

  • How can I access the data associated with an event within the event handler function?

    Hello

    In my LabWindows code, I try to use a DLL that has been developed in .NET (c#).  I used the built-in labwindows Wizard that converts the DLL to a usable 'instrument'.  Almost everything seems to work, except that I have 1 problem.

    There is an event (defined in the DLL) that I am able to detect.  I know that the reminder of the event is called at the right time.  But the problem is that in this function, I can't access the data that is supposed to be attached to the event.  It worked fine in c#, but I don't know how to do in LabWindows.  Here's what looked like in c# event handler function:

    void AppLoaderEventCallback (CommonLib.CommandResult MyResults)

    {

    MyResults is used in the body of this function

    }

    But in LabWindows, I can't seem to access the MyResults data structure.  Here's what I do:

    public static int CVICALLBACK AppLoaderEventCallback (CommonLib_CommandResult MyResults)

    {

    I can't access MyResults here

    }

    Can you help me with this?  I'm doing something wrong?

    Thank you very much for your help.

    -Mike

    I think that your statement of callback function is perhaps not quite correct. Look using the parameter "callback function" function Panel of the generated __Create function associated with this event. This shows the declaration of the callback function - make sure that your callback function is declared in the same way.

  • How to change the API key associated with one user to another in salesforce

    Hello

    I went to check if a user has access to Echosign today and discovered that a person who has been placed to the company for about 1.5 years is still an active user. When I try to disable sound, I get an error message saying that an API key is associated with this user account. See below. How can I change this to be associated with my user account?

    Kind regards

    Rakesh.

    Hi Rakesh,

    If you disable the API key holder, then it will disrupt the configuration of full integration. I recommend you to change the email address of the user to your e-mail address in order to maintain active and accessible:

    https://helpx.Adobe.com/document-cloud/KB/gain-access-user-accounts.html

    Kind regards

    -Usman

  • How to identify which disk rawdevice is named as VOL1 in ASM OS level

    Hi friends,

    creation of the disk using the ASMLIB
    I want to know which drive is named as VOL1, VOL2, VOL3 etc. LINUX operating system.

    I know using v$ asm_disk we can query name, path, status, tag, etc...

    I want to know what raw device disk is named or configured as VOL1 (LINUX) operating system

    Thanks in advance.

    Rajesh.

    Published by: rajeysh on June 3, 2010 15:49

    And for this, you can use oracleasm querydisk. Using that you can identify which device marked for asm or not. for example you can see below the example.

    [oracle@localhost init.d]$ sqlplus "/as sysdba"
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Jun 3 11:52:12 2010
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> select path from v$asm_disk;
    
    PATH
    --------------------------------------------------------------------------------
    /dev/oracleasm/disks/VOL2
    /dev/oracleasm/disks/VOL1
    
    SQL> exit;
    
    [oracle@localhost init.d]$ su
    Password:
    [root@localhost init.d]# /sbin/fdisk -l
    
    Disk /dev/sda: 80.0 GB, 80000000000 bytes
    255 heads, 63 sectors/track, 9726 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        1305    10482381   83  Linux
    /dev/sda2            1306        9401    65031120   83  Linux
    /dev/sda3            9402        9662     2096482+  82  Linux swap / Solaris
    /dev/sda4            9663        9726      514080    5  Extended
    /dev/sda5            9663        9726      514048+  83  Linux
    
    Disk /dev/sdb: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1        4859    39029886   83  Linux
    /dev/sdb2            4860        9729    39118275   83  Linux
    [root@localhost init.d]# ./oracleasm querydisk /dev/sdb1
    Device "/dev/sdb1" is marked an ASM disk with the label "VOL1"
    [root@localhost init.d]# ./oracleasm querydisk /dev/sdb2
    Device "/dev/sdb2" is marked an ASM disk with the label "VOL2"
    [root@localhost init.d]# ./oracleasm querydisk /dev/sda1
    Device "/dev/sda1" is not marked as an ASM disk
    [root@localhost init.d]# 
    

    Also in windows:

    C:\Documents and Settings\comp>asmtool -list
    NTFS                             \Device\Harddisk0\Partition1           140655M
    ORCLDISKDATA1                    \Device\Harddisk0\Partition2             4102M
    ORCLDISKDATA2                    \Device\Harddisk0\Partition3             4102M
    NTFS                             \Device\Harddisk0\Partition4           152617M
    
    C:\Documents and Settings\comp>
    

    It's answering your question. :-)

  • How can I change the country associated with my account. I need to make an urgent purchase?

    I need to make a purchase, and I can't do it because I need to change the country associated with my account. What is the best way to do it without re-creating a new account?

    That's the best you can do (with the help of Adobe):

    Change the country associated with your Adobe ID

  • How can I determine which commands are associated with private 2-14

    I don't want to create command authorization sets just used a private level. I can't determine what commands are assigned to what level priv?

    By default, there are three levels of command on the router:

    privilege level 0 — includes orders to disable, enable, exit, help and logout.

    privilege level 1 - Normal level on Telnet; includes all commands on the router user level > prompt.

    privilege level 15 - includes all orders enable-level at the router prompt #.

    Orders at level 2-14 are empty by default, BUT you can always access all orders at your level and below, so if you are level 4 you have access to the commands at levels 0 and 1

    Hope that helps, rate, if

  • 5520 photosmart all-in-one: how to identify which cartridge needs replacing on 5520

    My computer showed me the message that the printer ink is running low.  I open the printer to replace the cartridge, but I don't see what cartridge, color or black, that has to be changed.  On my previous printer, low cartridge has been identified by a flashing light.

    How will I know which cartridge to replace?

    Hello

    Since the home printer screen, tap ink icon (symbol of gout).

    Kind regards.

  • How to save all the files associated with a Web site?

    I'm an administrator (but not the creator) of a Web site that I am responsible for the update. I don't have the documentation that I need to do some of my tasks. So I thought that I could find enough simply to save the site from Firefox.
    The last time that I have this (several versions of Firefox there is), there is a command "save under" which would save the main HTML file in your selected folder AND save all the subsidiary referenced files in a single subfolder, so built a local version of the site.
    When I tried this today in v20.0.1, the two options "Save As" only created a single file of the current page with all the original references links on the left.
    Is there another way to 'dumping' of the entire application on my hard drive?

    I initially save as "Web Page, complete"? , but the hrefs all mentioned on the real web site, not to any local versions.

    I also tried the Scrapbook addon. It does not seem to do what I want, but I can't find where it stored all the files. I'll be back with the author of the album.

    PS. Why can't I find setting controls in shape when you enter a question?

  • How can I remove a volume associated with vss in the registry?

    A USB hard drive already connected to the network has been removed.  The Event Viewer Application on my SBS 2003 server now gets error messages indicating the following:
    VssAdmin: Unable to create a shadow copy: the specified volume was not found or is not a local volume.
    Command line: "C:\WINDOWS\system32\vssadmin.exe create Shadow = 5 /AutoRetry / For = \?" \VOLUME {9af5d44a-8a5e-11dd-8e8c-806e6f6e6963} \'.
    I have already disabled the scheduled task that runs the service Shadow Copy Volume How to dissociate the volume listed in the registry?

    Hello

    Because the problem is with the server operating system, please report query in the following forum:

     
  • How can I change the icon associated with an external hard drive that is displayed in my computer

    When I double click the icon my computer on my Seagate external desktop hard drive does not display the correct icon. It displays a blank page with the upper right handed with a superimposed replica of a small screen.  I really want to show an icon that looks like the real thing as stated in the icons folder.

    Hi PhilipRoebuck,

    (1) do you get an error message when you try to open the external hard drive?
    (2) where there are changes to the computer before the question?
    (3) is confined to a specific icon?
     
    See the following:
    Method 1:
    Icons change incorrectly in Windows
    Important Before run you this difficulty, save your data and close the application. After you run the difficulty, your computer will reboot after 10 minutes.
    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:
    How to back up and restore the registry in Windows
    http://support.Microsoft.com/kb/322756
     
    Method 2:
    How to change the default icons for folders in Windows XP
     
    I hope this helps.

Maybe you are looking for

  • "Buy" button does not not in iTunes

    I tried to buy songs the last 2 days and 2 different albums. If I try to any purchase of simple songs, it does not. I hit the button buy, and it just runs. It should go to "check w / fingerprint" or the password, but it doesn't. It started just after

  • Selection of encoder to use with NI PCI-6221 for a project of inverted pendulum

    Hi, I'm a mechanical engineering student is his last years, for my final project I do an inverse pendulum system, the University already offered me this data acquisition card which is a NI PCI-6221, and I have to get the other components (motor conti

  • WGA600N and the WRVS4400N

    I have problems with the connection of the wireless game adapter.  He is able to find my router and it connects to where he asks my security key.  I enter the key and I checked it came directly through my eyes and someone else and I cannot get it to

  • Icon 'Remove hardware safely' missing Windows 7 ~ ~

    There is no icon 'Remove hardware safely' to the taskbar on my system tray, I could not even find custom... options:)

  • disc in the creation of partition management error

    How to allocate a drive for the free space that cannot be done because of insufficient disk space to perform this operation