Configuring Listener with other name

Hello Friends,
I am trying to configure a listener which will run at any port ( could be 1521 also) but with a name other than default ( LISTENER). The database is in 11gR2. I have created listener.ora file and modified the init.ora file with LOCAL_LISTENER=MYLISTENER. Whenever I am trying to connect to the database by TCP It is giving me error ORA-12514:..
Also when I am trying to boot my database with pfile It is giving me following error :
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'MYLISTENER'
Then Listener.ora file is like below:
MYLISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname1)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = TESTDB)
(ORACLE_HOME = /u01/oracle/oraapp)
ADR_BASE_LISTENER = /u01/oracle
TNSNAMES.ora file is like below:
$ cat /u01/oracle/oraapp/network/admin/tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/oracle/oraapp/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
TESTDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TESTDB)
Please help me with proper solution.
-Regards,
Saha
Edited by: j_DBA_saha on Nov 16, 2012 7:58 AM

j_DBA_saha wrote:
Hello Friends,
I am trying to configure a listener which will run at any port ( could be 1521 also) but with a name other than default ( LISTENER). WHY?
What problem does this solve?
I fear you have a fundamental mis-understanding of what a listener is and how it works, and you are starting down the road to DBA Hell.
If you describe your real, business problem instead of problems encountered trying to implement an ill-advised solution, you will get better information. Ask the wrong question, get bad information.
The database is in 11gR2. I have created listener.ora file and modified the init.ora file with LOCAL_LISTENER=MYLISTENER. Whenever I am trying to connect to the database by TCP It is giving me error ORA-12514:..
Also when I am trying to boot my database with pfile It is giving me following error :
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'MYLISTENER'
Then Listener.ora file is like below:
MYLISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname1)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = TESTDB)
(ORACLE_HOME = /u01/oracle/oraapp)
ADR_BASE_LISTENER = /u01/oracle
TNSNAMES.ora file is like below:
$ cat /u01/oracle/oraapp/network/admin/tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/oracle/oraapp/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
TESTDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TESTDB)
Please help me with proper solution.
-Regards,
Saha
Edited by: j_DBA_saha on Nov 16, 2012 7:58 AM

Similar Messages

  • Package configuration.xml with AnyConnect NAM installer?

    Hi, I am running AnyConnect 3.1. I have configured a new configuration.xml file and tested locally. I would like to package this new configuration file with the AnyConnect installer similar to how an ASA does, but without the ASA. This way, clients can run the setup wizard one time and the correct configuration file comes up the first time. Is this possible without an ASA? Thanks.

    I found a post that explains how to do this...
    https://supportforums.cisco.com/document/93891/anyconnect-secure-mobility-client-30-network-access-manager-profile-editor-windows

  • Netca: "a listener with the name already exists" after bombing out

    Installing a listener via netca on a CentOS 5 x64 11g RAC setup.
    I had a typo in the $ORACLE_HOME shell variable in .bash_profile for the oracle user. This caused netca to bomb out with a series of 'file not found' and 'directory not found' errors. netca did not complete.
    netca did, however, create listener LISTENER on port 1521 on both my nodes. There is no listener.ora file anywhere, due to the bad $ORACLE_HOME directory.
    I'd like to delete this and start over so that netca completes normally.
    I cannot use netca to delete listener LISTENER. The delete option is greyed out. I did reboot, and tried killing the tsnlsnr process.
    crs_stat -p shows the following:
    NAME=ora.rac1.LISTENER_RAC1.lsnr
    TYPE=application
    ACTION_SCRIPT=/u01/app/oracle/product/11.1.0/db_1/bin/racgwrap
    ACTIVE_PLACEMENT=0
    AUTO_START=1
    CHECK_INTERVAL=600
    DESCRIPTION=CRS application for listener on node
    FAILOVER_DELAY=0
    FAILURE_INTERVAL=0
    FAILURE_THRESHOLD=0
    HOSTING_MEMBERS=rac1
    OPTIONAL_RESOURCES=
    PLACEMENT=restricted
    REQUIRED_RESOURCES=ora.rac1.vip
    RESTART_ATTEMPTS=5
    SCRIPT_TIMEOUT=600
    START_TIMEOUT=600
    STOP_TIMEOUT=600
    UPTIME_THRESHOLD=7d
    USR_ORA_ALERT_NAME=
    USR_ORA_CHECK_TIMEOUT=0
    USR_ORA_CONNECT_STR=/ as sysdba
    USR_ORA_DEBUG=0
    USR_ORA_DISCONNECT=false
    USR_ORA_FLAGS=
    USR_ORA_IF=
    USR_ORA_INST_NOT_SHUTDOWN=
    USR_ORA_LANG=
    USR_ORA_NETMASK=
    USR_ORA_OPEN_MODE=
    USR_ORA_OPI=false
    USR_ORA_PFILE=
    USR_ORA_PRECONNECT=none
    USR_ORA_SRV=
    USR_ORA_START_TIMEOUT=0
    USR_ORA_STOP_MODE=immediate
    USR_ORA_STOP_TIMEOUT=0
    USR_ORA_VIP=
    My question...how do I delete this listener (and the one on rac2) so that I can re-install them correctly using netca?
    Edited by: user611309 on Apr 21, 2009 12:12 PM

    Hi,
    the listener is still registered with Oracle Clusterware. This registration will stay regardless of the existence of listener.ora and related files. Thus, you need to get rid of the registration, if you want to do it from scratch (which may not be required, if the listener starts and stops correctly). However, from your Clusterware home, please, issue:
    srvctl remove listener -h
    Usage: srvctl remove listener -n <node_name> [-l <listener_name>]
    -n <node> Node name
    -l Display listener configuration
    -h Print usage
    Hope that helps. Thanks,
    Markus

  • SAVEAS FILE WITH OTHER NAME

    HI
    I'm trying to create a script to save a file that is already open in the same directory with a different name.
    Example: nome_0000_art to nome_0000_closed
    I tried to create from another script that saves EPS but as I am new to the subject could not make it work
    Could anyone help me, how do I perform the command saveas automatically without showing the dialog window by changing the file name?

    WORKED PERFECTLY!!!
    My script was well
    >>>>>>>>>>>>>>>>
    #target illustrator
    var sourceDoc = app.activeDocument;
    var sourceName = sourceDoc.name;
    var sourceDoc_Path = File(sourceDoc.path);
    var substituir_sourceName = sourceName.replace (/ARTE\..{2,4}$/,'DIGITAL.ai');
    var substituir_Path = sourceDoc_Path+"/" + substituir_sourceName;
    alert("sourceName: "+sourceName+"\nsourceDoc_Path: "+sourceDoc_Path+"\nsubstituir_Path: "+substituir_Path);
    function exportFileToAI (dest) {
        if ( app.documents.length > 0 ) {
            var saveOptions = new IllustratorSaveOptions();
            var ai8Doc = new File(dest);
            saveOptions.compatibility = Compatibility.ILLUSTRATOR16;
            saveOptions.flattenOutput = OutputFlattening.PRESERVEAPPEARANCE;
            app.activeDocument.saveAs( ai8Doc, saveOptions );
    var destFilePath = substituir_Path;
    exportFileToAI (destFilePath);
    <<<<<<<<<<<<<<<<<<<<
    Thanks!!!

  • Configure OC4J with other JDBC Drivers

    I want to add ability for OC4J to use mySQL JDBC drivers.
    Normally in the J2EE RI you would copy the driver and then use the j2eeadmin tool.
    Does anyone have info on getting this to work in OC4J (so I can test EJBs that use that DB).
    Note: I did get mySQL working for the JDeveloper9i IDE to get it to work in the IDE I just added a line to C:\jdev9i_902\jdev\binjdev.conf:
    AddJavaLibFile C:/mm.mysql-2.0.14/mm.mysql-2.0.14-bin.jar
    Thanks

    Check out the following doc
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a95879/ds.htm#1004903
    you can post OC4J configuration questions in the J2EE forum
    raghu
    JDev Team

  • Associate email address with other name

    Have changed name on an existing email address. However, the old name always turn up in the To: field when I write the address. How can I delete this association permanently?

    Go to Window -> Previous Recipients and remove any outdated entries there.

  • Problem in integration of listener with EBS

    When i run this *"java -Dapex.home=/apex -Dapex.images=<LOCATION_OF_Image>/image -Dapex.port=<port_no> -Dapex.erase -jar apex.war"*
    Its working fine and I get a apex login page .
    But the problem is that when I close the terminal all connection are lost and given error "The requested URL could not be retrieved"
    How can i integrate listener with EBS .
    I am using
    APEX 4.1
    Database 11.1.0.7
    Application 12.1.3
    I want to configure listener with EBS .When I start instance automatic start apex listener
    Edited by: king on Apr 17, 2012 2:59 AM

    Hello,
    But the problem is that when I close the terminal all connection are lost and given error "The requested URL could not be retrieved" That's not very surprising, as APEX Listener is running in Standalone Mode in your current scenario. If you close the terminal session that the JVM is running in you kill the JVM and hence APEX Listener.
    You could use a tool like "nohup" to detach the process you start from your terminal session. But using the Standalone Mode for a (long running) production scenario is not recommended anyway, and...
    I want to configure listener with EBS .When I start instance automatic start apex listener... obviously not your actual aim.
    So, EBS shall be your target. Shoudn't be a huge problem, as EBS comes with an OC4J Container and OC4J is one of the Containers officially supported by APEX Listener. I'm not sure if your EBS already ships with the JDK version needed, but as soon as it runs at least 1.6.0_20 it should work.
    As I've already replied to your question in {thread:id=1118604} there is a working approach described in {message:id=10069317}.
    Did you try that one? If so and it didn't work out, could you please describe the problems you've encountered?
    Thanks,
    Udo

  • I am facing problem when configuring listener.ora and tnsnamess.ora in listener side it is showing The listener supports no services The command completed successfully  and in when i cross check with listener from tns it is showing the error

    i am facing problem when configuring listener.ora and tnsnamess.ora in listener side it is showing The listener supports no services The command completed successfully  and in when i cross check with listener from tns it is showing the error
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    here is my listener file
    lsn =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.125.128)(PORT = 1575))
    #ADR_BASE_LISTENER = /u01/app/oracle
    (SID_LIST_LISTENER=
    (SERVICE_NAME=kull)
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1)
    tnsnames.ora
    to_lsn=
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1575))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = kull )
    my database name is kull
    please somebody help

    Biswaranjan wrote:
    i have two database one is kull and another is kk
    i configured listener.ora in kull
    and tnsnames.ora in kk
    when i am running lsnrctl start listener in database kull
    This makes no sense.  You don't configure a listener nor a tnsnames.ora "in a database".   I hope this is just a language issue and not reflective of a fundamental misunderstanding of how tns works.
    read: http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/ Help! I can’t connect to my database 
    read: http://edstevensdba.wordpress.com/2011/02/16/sqlnet_client_cfg/ Help! I can’t connect to my database (part duex)
    it is showing the message
    Alias                     lsn
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                05-JUL-2013 19:08:06
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/log/diag/tnslsnr/server1/lsn/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1575)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=server1)(PORT=1575)))
    The listener supports no services
    The command completed successfully
    and in another database in kk when i am giving the command tnsping to_lsn
    it is giving this message
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1575)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = kull)))
    OK (0 msec)
    but when i am cross check sqlplus system/manager@ to_lsn
    it is giving the following error
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor

  • Error -43  when try playback on win7 64bits over the network QT that recide MacPro  osx 10.5 however i can play with VLC player, This happend when the QT is inside a Folder with name longer 8 chars other files has no problem with long names just the QT

    error -43  when try playback on win7 64bits over the network QT that recide MacPro  osx 10.5 however i can play with VLC player, This happend when the QT is inside a Folder with name longer 8 chars other files has no problem with long names just the QT  nfs sharing

    Never mind, I already found the solution myself.
    What I did wrong was:
    - not copying the master image to the nbi folder
    - selecting the netinstall-restore.dmg image as source to copy to my HD.
    The thing is, when you create a netinstall image for 10.5, the image itself is already included in the netinstall image so you don't have to do anything else.
    With the 10.4 image however, you also have to copy the master image to the NetBootSP0 directory.
    In the *.nbi folder contains an netinstall-restore.dmg file. But that is only to boot you to netrestore, it's not the image itself.
    Other alternative is to copy the images to another folder that you share with AFP and adjust the configuration of netrestore like described in this manual:
    http://www.shellharbourd.det.nsw.edu.au/pdf/misc/osxrestoringnet.pdf
    This manual was also how I figured out that I forgot to copy the image to the NetBootSP0 folder.

  • I have multiple emails associated with my i phone, but can't get my mac to associate some of the email names because it is associated with other apple id , but it's my id. how can i get around this?

    I have multiple emails associated with my i phone, but can't get my mac to associate some of the email names because it is associated with other apple id , but it's my id. how can i get around this?

    - Try contacting iTunes for the password problem:
    Apple - Support - iTunes - Contact Us
    - For the other problem you can try a reset. Nothing will be lost
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - The next standard thing to do is to download/install a new app but you cant 'do that.
    - Instead, try restoring from backup.

  • Just updated my iphone. Now I can se I have two? iCloud accounts? One of them appears on my phone, and I have forgotten the password. When I try to add the other account, I get the message that this account is already added, but with the name of the first

    Just updated my iphone. Now I can se I have two! iCloud accounts? One of them appears on my phone, and I have forgotten the password. When I try to add the other account, I get the message that this account is already added, but with the name of the first account where there is no available password. I have tried several times to reset the password, bun I don't get the information I need - I have no access to email. What can I do?

    Hi, thanks for the suggestion. I have tried as you suggested, and when opening the "purchased" apps some have the icloud logo next to them, but I only have "OPEN" against "Find My iPhone". When opening it up, it goes through the same routine; needs to be updated before proceeding, and wouldn't update because I don't have IOS8.
    Anything else I could try, or am I doomed!
    All of your help is much appreciated, thanks

  • I can't connect to other computers on my network with computer names. Any suggestions?

    i can't connect to other computers on my network with computer names. Any suggestions?

    In what way are you trying to connect? File sharing? Printer sharing? Screen sharing? Something else?
    How are your computers connected to this network? What happens when you try to connect to them?
    Best of luck.

  • [JS CS3] Frontmost document/selection when other with same name?

    I have a few scripts used to perform various operations on the current selection in InDesign. Under normal circumstances these work fine, but I can't seem to reliably get the frontmost document/selection when there is another document open with the same name. Most references to the document and every reference to the selection I have tried so far will simply lead to the document which was most recently opened (and has the same name).
    app.activeDocument.fullName always return the path to the most recently opened document of the same name, but app.documents[0].fullName will return the correct path. Trying to get the selection though will always return the selection of the most recently opened document of the same name, regardless of whether I try app.selection, app.activeDocument.selection or app.documents[0].selection. I have also tried with getElements()[0] appended to the document reference but it makes no difference.
    My primary environment is still CS3 and the problem appears to be that it only references documents by name. Brief testing with CS5 indicates this has been solved by Adobe, presumably because it now refers to documents using an id by default. Haven't tried CS4 but since its document object does not have an id property I'd assume it will behave the same as CS3. Is there any way around this, or is the best I can do to detect the issue (a simple app.activeDocument != app.documents[0] comparison seems to work reliably) and refuse to run if encountered?

    Welll...chances are the selected item will not be a valid ID in both documents of the same name. (I don't think ID's are globally unique, so that's not a guarantee -- but it's something you can check and only give an error if it happens to be that there is a collison).
    So, get the transaction specifier of the selection:
    app.activeWindow.selection[0].toSpecifier()
    Result: /document[@name="u1.indd"]//text-frame[@id=211]
    Then, iterate over app.documents to find the indexes of the documents with that name.
    In my test, of course it is just zero and one.
    Then, try to resolve the specifiers against those documents:
    resolve("/document[0]//text-frame[@id=211]")
    Result: [object TextFrame]
    resolve("/document[1]//text-frame[@id=211]")
    Error: Object is invalid
    Since only doc 0 has a textFrame with id 211, you know it's doc 0 and you have a valid specifier.
    I chose to adjust the specifier by hand, because I think that's probably the most general. The other choice would be to call app.documents[0].textFrames.itemByID(211), but then you would need to map "text-frame" to "textFrames" and that seems annoying and errorprone.

  • Trying to compose a new email. Addind the name in the "TO" ared brings up other names beginning with same letter but I can't clear these other names.

    Addressing an email problem. Manually putting a email address is the TO area brings up other names ( with same first letter) from the contact list. this list of unwanted names freezes in place and won't go away unless I restart Firefox. This list blocks my view of the address and composition area. This has been happening for a few days. If i use Chrome, I don't have this problem...only with Firefox. My OS is XP if that matters.

    Tried clearing. No Change. I select "NEW" then manually type in a email address which then pops up additional names for me to select/ highlight . I can select or highlight additional names if i want to but I can't get rid of the names or the window where these names appear. Even if I select my IN BOX or SENT this window with all the names is there and obstructs my view and use. It can't be deleted

  • Restore database in the same server but with other sid (name)

    i try to restore the database in the same server but with other sid (name) . The backup is on tape and
    I want to know the steps I should follow.
    thank.

    To perform restore of database in same host to choose another DB name you can go for
    1) duplicate using RMAN.
    Directory structure should be different so take care of db_file_name_convert & log_file_name_convert parameters
    Also check the Tns services exactly is it pointing to target & auxiliary
    http://www.shutdownabort.com/quickguides/clone_rman.php
    http://www.oracle-base.com/articles/9i/DuplicateDatabaseUsingRMAN9i.php

Maybe you are looking for

  • How to call a BAPI when there are structure tables as Input.

    Environment: Data Services 3.1  SAP ECC 6. I can run simple BAPI's where I just populate the Input Parameters. My question is around more complex BAPI's. I created a data flow that looks like: Row Generation > Query > Unnest Query > Template table. I

  • Ipad2 30 pin to lighting connector

    My wife has an ipad2 - looking for a docking/charging station for it. Have found the iWant model but this uses a lightning connector --- does anyone know if there is an adapter to suit - ie male 30 pin/female lightning

  • XSLT, namespaces and DOM

    Hello, I am trying to do the following: - build a DOM/XML-tree from information in tables using my own namespace - Transform this tree to HTML using a XSL-stylesheet in a file. A simple example I created works when I first save the XML-tree in a file

  • TDMS index files does not have meta data but indicates presence of raw data in the TDMS file??

    Hello All, I am working on reading TDMS Index files into Matlab. So far i have been fairly successful in reading them when the data has been acquired for a short period of time (checked at 2 min). However when a 15 minute data has been acquired, in a

  • Wrong integration builder link

    Hello all, I have problem with link of Integration builder and Integration repository on XI start page <host>:<port>/rep/start/index.jsp On our QAS and PROD system we have <host>:<port>/rep/start/repository.jnlp but on DEV system there is link <host>