TNS LISTENER ISSUE

ORA-12541: TNS:no listener
this was happened while doing datapump on export. therefore when i try to issue the foll cmd
C:\Documents and Settings\Vijaya>expdp scott/tiger1@orcl full=y directory=datapu
mptest dumpfile=full.dmp logfile=full.log
Export: Release 10.2.0.1.0 - Production on Tuesday, 07 September, 2010 15:32:04
Copyright (c) 2003, 2005, Oracle. All rights reserved.
UDE-00008: operation generated ORACLE error 12541
ORA-12541: TNS:no listener
i get a error.. whether i need to reconfigure the listener? if so how? pl let me know asap

Hi,
This means your listener is not running or you have wrong entry in tnsnames.ora file at the client machine(from where you are doing expdp) for orcl.
Check if listener is up on the server.
Also post the output of
From the client (machine where expdp is issued)
tnsping orcl From the server.
lsnrctl statusRegards

Similar Messages

  • ORA-12514: TNS:listener does not currently know of service requested

    While connecting "sqlplus SYSADM/SYSADM@HCM" I am getting the below error:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Installation background:
    Windows 7 l(64-bit) laptop.
    Created linux virtualbox to installl peoplesoft VM templates.
    so far installed: Oracle11gR2.vdi and HCMDB.vdi on the linux virtualbox.
    Followed the steps exactly what it is in the link below: Got the above error in page 4 of the link at connecting to database via sqlplus.
    http://bloggingaboutoracleapplications.org/running-oracle-vm-templates-oracle-enterprise-linux-guide-part-1-7/
    Below provided initHCM.ora, tnsnames.ora, listerner.ora and some responses I tried. I could not figure out what causing the issue even after researching in web.
    Your help would be highly appreciated.
    tnsnames.ora:
    =============
    # tnsnames.ora Network Configuration File:
    HCM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hcmdb91)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HCM)
    Listener.ora:
    =============
    # listener.ora Network Configuration File:
    /u01/app/oracle/product/11.2.0.x/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hcmdb91)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    initHCM.ora:
    ============
    DB_FILES =256
    OPEN_CURSORS = 1000
    db_block_size = 8192
    remote_login_passwordfile = NONE
    undo_tablespace=PSUNDOTS
    NLS_LENGTH_SEMANTICS=CHAR
    # Cache and I/O
    #db_block_size=
    db_file_multiblock_read_count=16
    # Database Identification
    # db_domain=us.oracle.com
    # db_name=
    # Diagnostics and Statistics
    #background_dump_dest=
    #core_dump_dest=
    #user_dump_dest=
    # Job Queues
    job_queue_processes=10
    # Processes and Sessions
    processes=150
    # SGA Memory
    sga_target=287309824
    # Security and Auditing
    #audit_file_dest=
    #remote_login_passwordfile=EXCLUSIVE
    # Shared Server
    dispatchers="(PROTOCOL=TCP) (SERVICE=XDB)"
    # Sort, Hash Joins, Bitmap Indexes
    pga_aggregate_target=95420416
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    #undo_tablespace=
    unnestsubquery=false
    # Miscellaneous
    compatible=11.2.0.2.0
    control_files=(/u01/app/oracle/oradata/HCM/control01.ctl)
    DB_NAME=HCM
    [oracle@hcmdb91 ~]$ tnsping hcm
    TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013
    07:40:37
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =
    hcmdb91)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME =
    HCM)))
    OK (20 msec)
    [oracle@hcmdb91 ~]$
    [oracle@hcmdb91 ~]$ tnsping hcm
    TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013
    07:40:37
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =
    hcmdb91)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME =
    HCM)))
    OK (20 msec)
    [oracle@hcmdb91 ~]$ lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013 07:41:32
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    TNS-01106: Listener using listener name LISTENER has already been started
    [oracle@hcmdb91 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013 07:42:20
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hcmdb91)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date 28-MAR-2013 07:29:21
    Uptime 0 days 0 hr. 13 min. 1 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File
    /u01/app/oracle/product/11.2.0.x/db_1/network/admin/listener.ora
    Listener Log File
    /u01/app/oracle/product/11.2.0.x/db_1/log/diag/tnslsnr/hcmdb91/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hcmdb91.example.com
    )(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    The listener supports no services
    The command completed successfully
    [oracle@hcmdb91 ~]$ lsnrctl services
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013 07:42:44
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hcmdb91)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    [oracle@hcmdb91 ~]$
    [oracle@hcmdb91 ~]$ sqlplus SYSADM/SYSADM@HCM
    SQL*Plus: Release 11.2.0.2.0 Production on Thu Mar 28 07:44:25 2013
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in
    connect descriptor
    My guess is that the database service "HCM" is not up and running but not sure how to make up and running. Even I could not find it listed in the linux services list.
    Note: Able to login sqlplus using "sqlplus sys/sys as sysdba" but failing to access database table as "select * from PSRECDEFN;"
    thanks
    Espii.
    Edited by: 995437 on Mar 28, 2013 6:52 AM
    Edited by: 995437 on Mar 28, 2013 6:59 AM

    Hi Nicolas,
    I have no luck and the error still persists.
    I have set the "export ORACLE_SID=HCM" from root user and oracle user too.
    I guess, I have already loaded database when I ran the "cd /opt/oracle/psft/vm
    ./oraclevm-template.sh"
    The outcome of the above script as similar as below:
    Creating
    ovm_configure_pre
    CreateVirtualEnvironment
    /u01/scripts/db-reconfig.sh: line 238: ovm_set_password: command not found
    /u01/scripts/db-reconfig.sh: line 239: ovm_configure_network: command not found
    INFO:
    Starting Oracle database reconfiguration.
    Oracle Database Configuration
    This will configure on-boot properties of Oracle Database.
    The following questions will determine whether the database should be
    starting upon system boot, the ports it will use.
    Press <Enter> to accept the defaults.
    Do you want to relink binaries? (y/n) [n] y
    Specify a port that will be used for the database listener [1521]:
    Do you want Oracle Database to be started on boot (y/n) [y]:y
    Wrote to /etc/sysconfig/oracle11g
    Relinking Oracle Binaries...
    Oracle Relinking Completed Successfully
    Logs: /home/oracle/relink.log
    Running orainstRoot.sh and root.sh...
    set 2GB tmpfs
    Enabling Oracle Database service
    Configuration Completed Successfully.
    Enter the name of the database SID [TESTDB]:HCM
    ORACLE instance started.
    Total System Global Area 288104448 bytes
    Fixed Size 2225832 bytes
    Variable Size 104859992 bytes
    Database Buffers 176160768 bytes
    Redo Buffers 4857856 bytes
    Control file created.
    Database altered.
    Tablespace altered.
    Tablespace altered.
    Tablespace altered.
    1 row updated.
    160 rows updated.
    Commit complete.
    Kumar - I have found no sqlnet.ora file exist in the $ORACLE_HOME/NETWORK/ADMIN
    Edited by: 995437 on Mar 28, 2013 9:15 AM

  • Data Guard Broker teasing error ORA-12514: TNS:listener

    Hello,
    I have spent many hours but don't understand what little thing I am missing or confusing me.. Please help to fix the issue.
    Physical Standb db created successfully, but now facing following issue: Though it should be and must be fixed but really making me mad
    DGMGRL> SHOW CONFIGURATION;
    Configuration - DATA GUARD
      Protection Mode: MaxPerformance
      Databases:
        dg - Primary database
    Fast-Start Failover: DISABLED
    Configuration Status:
    DISABLED
    DGMGRL> ADD DATABASE DG_DB2
    > AS CONNECT IDENTIFIER IS DG_DB2
    > MAINTAINED AS PHYSICAL;
    Error: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Failed.
    PRIM:
    db_name: DG
    db_unique_name: dg
    service_names:  dg
    STBY:
    db_name: DG
    db_unique_name: dg_db2
    service_names:  dg_db2
    # TNSNAMES same entries on both Primary and Standby: HOSTNAMES are different.
    DG =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = db01.domain)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = dg)
    DG_DB2 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = db02.domain)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = dg_db2)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = db01.domain)(PORT = 1521))   db02.domain for Standby on standby machine.
    # Listener.ora on PRIMARY:
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = db01.domain)(PORT = 1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = dg_DGMGRL.domain)
          (ORACLE_HOME = /oracle/app/11g/db)
           (SID_NAME = dg)
           (SERVICE_NAME = dg.domain)
    # Listener.ora on Standby:
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = dg_db2_DGMGRL.domain)
          (ORACLE_HOME = /oracle/app/11g/db)
           (SID_NAME = dg_db2)
           (SERVICE_NAME = dg_db2.domain)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = db02.domain)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    I created Stby DB with the minimum parameters required, so that I configure BROKER and see it magic, but badly stuck in this situation here. I have read many docs related to this..but can not fix it unfortunately.
    Please guide me from your own experience as note ids, blogs are not helping me here...
    Bundle of thanks.
    Best Regards

    Hi,
    Your listener.ora file has SERVICE_NAME = dg_db2.domain whereas tnsnames.ora file has SERVICE_NAME = dg_db2.
    Check in your database for exact service name and reflect the same in both the files.
    SQL> sho parameter service_names
    Restart the listener and try connecting.
    Thank you!!

  • ORA-12504 tns listener was not given the SERVICE_NAME in CONNECT-DATA

    Hi
    i installed a fresh oracle linux and installes 11.2.0 database server. the server works fine but i have a proplem to connect to the database from a windows 2008 r2
    client. For the client connection i installed the oracle instantclient on the windows system. Now i want to configure the system dsn to connect to the oracle
    server like this
    data source description: vSphere 64
    description: ----
    TNS Service Name: VCDB
    user id: system
    then i go to TEST connection
    Service Name: VCDB
    user name: system
    Password: mypassword
    so i copied the tnsnames.ora from the server to the client
    then i get
    ora-12504 tns listener was not given the SERVICE_NAME in CONNECT-DATA
    here´s my tnsnames.ora from the client
    VCDB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.31.98.173)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = vcdb.vmware)
    i tested serveral config´s but nothing works. I can ping the server and also i cn telnet the server on port 1521. The listener on the server works fine
    lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 20-SEP-2010 20:48:52
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vc-db1.mydomain)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 20-SEP-2010 20:47:45
    Uptime 0 days 0 hr. 1 min. 7 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/vc-db1/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vc-db1mydomain)(PORT=1521)))
    Services Summary...
    Service "vcdb.vmware" has 1 instance(s).
    Instance "vcdb", status READY, has 1 handler(s) for this service...
    Service "vcdbXDB.vmware" has 1 instance(s).
    Instance "vcdb", status READY, has 1 handler(s) for this service...
    The command completed successfully
    but it´s not possible to create a connection to the server. My enviroment variables are this
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    ORACLE_HOSTNAME=vc-db1.mydomain
    ORACLE_SID=vcdb
    ORACLE_TERM=xterm
    so i think on the server site everything is correct. How could i establish a connection from the windows client
    to the linux database server. Or is ODBC the wrong method for this?
    Kind regards
    ACID25

    Hi,
    Check the listener log and see if the connection information is logged (in this case with error)
    If logged, then we are reaching the correct listener.
    Then check tnsping VCDB works fine along with sqlplus connection through listener using VCDB as connect string.
    If above both works, then issue can be isolated to ODBC configuration or setup issue.
    In case even if the tnsping / sqlplus is failing to connect with VCDB, then worth taking a client sqlent trace at level 16 and listener trace at level 16 to analyse the issue further.
    Thanks,
    Sathya

  • ORA-12505, TNS:listener and ORA-12514: TNS:listener

    All,
    Connecting to the database through the SQL Developer is giving me the error "ORA-12505, TNS:listener does not currently know of SID given in connect descriptor"
    Database version : Oracle 10g XE
    O/S : Windows 7, 32 bit
    I have restarted my machine and tried but no luck. Tried from sqlplus also and the error was
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor"
    Please provide me the steps to check and resolve this issue.
    Thank you very much in advance.
    Thanks

    Here is what I have in my tnsnames.ora file
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MSPL-08-09-D169.MSFTPNQ.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Database name is 'XE'

  • TNS-12518: TNS:listener could not hand off client connection

    All,
    I am getting the below error while connecting the db from client.it is a shared server and also have enough free memory.
    The db version is : 9.2.0.6
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12547: TNS:lost contact
    TNS-12560: TNSrotocol adapter error
    TNS-00517: Lost contact
    Solaris Error: 32: Broken pipe
    Please suggest me on this to avoid the issue.

    When was last time SQL*Net worked?
    What changed since then?
    Solaris Error: 32: Broken pipeError occurs at Operating System level & Oracle is the victim.
    What clues exist in the messages file?

  • Problems with tns/listener

    Hi,
    i have a question regarding a problem i am experiencing in my development oracle env.
    i have 2 instances - oracle 11.2.01 and 11.2.0.3.(windows 2008 enterprise)
    We were able to connect to both instances without any issues. Few days back we started noticing a strange issue.
    We can connect to oracle 11.2.0.3 but not 11.2.0.1.
    what happens is when i type in sqlplus username/[email protected] sqlplus connects after a while. It takes good 1.25 minutes.
    and sqlplus username/[email protected] connects instantly.
    One interesting thing is when i say sqlplus username/password, sqlplus instantly connects to oracle11.2.0.1. Well,
    this is because i have my windows system variable defined oracle_sid=oracle11.2.0.1
    my question is, does anybody know the reason this cna happen? is anybody familiar? it all started happening one fine evening last week.
    The error messsage i see in alert logs are
    /*  In alert log */
    Fatal NI connect error 12570, connecting to:
    (LOCAL=NO)
      VERSION INFORMATION:
        TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
        Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
        Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
      Time: 14-JUN-2013 14:21:20
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12570
    TNS-12570: TNS:packet reader failure
        ns secondary err code: 12560
        nt main err code: 0
        nt secondary err code: 0
        nt OS err code: 0
    opiodr aborting process unknown ospid (6720) as a result of ORA-609
    /* In listener tarce file */
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    ** DBGRL Error: 11-JUN-2013 16:51:28 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=FOD-ORADB-DEV$))(SERVICE_NAME=NETLINKII)) * (ADDRESS=(PROTOCOL=tcp)(HOST=128.146.195.86)(PORT=61592)) * establish * NETLINKII * 12560
    ** DBGRL Error: Text Alert Log
    ** DBGRL Error: SLERC_OERC, 48180
    ** DBGRL Error: OSD-00001: additional error information
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    ** DBGRL Error: TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
      64-bit Windows Error: 53: Unknown error
       TNS-12518: TNS:listener could not hand off client connection
        TNS-12571: TNS:packet writer failure
         TNS-12560: TNS:protocol adapter
    Thanks for the help in advance.
    Srinath

    946544 wrote:
    Hi,
    i have a question regarding a problem i am experiencing in my development oracle env.
    i have 2 instances - oracle 11.2.01 and 11.2.0.3.(windows 2008 enterprise)
    We were able to connect to both instances without any issues. Few days back we started noticing a strange issue.
    We can connect to oracle 11.2.0.3 but not 11.2.0.1.
    what happens is when i type in sqlplus username/[email protected] sqlplus connects after a while. It takes good 1.25 minutes.
    and sqlplus username/[email protected] connects instantly.
    One interesting thing is when i say sqlplus username/password, sqlplus instantly connects to oracle11.2.0.1. Well,
    this is because i have my windows system variable defined oracle_sid=oracle11.2.0.1
    my question is, does anybody know the reason this cna happen? is anybody familiar? it all started happening one fine evening last week.
    The error messsage i see in alert logs are
    /*  In alert log */
    Fatal NI connect error 12570, connecting to:
    (LOCAL=NO)
      VERSION INFORMATION:
        TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
        Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
        Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
      Time: 14-JUN-2013 14:21:20
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12570
    TNS-12570: TNS:packet reader failure
        ns secondary err code: 12560
        nt main err code: 0
        nt secondary err code: 0
        nt OS err code: 0
    opiodr aborting process unknown ospid (6720) as a result of ORA-609
    /* In listener tarce file */
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    ** DBGRL Error: 11-JUN-2013 16:51:28 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=FOD-ORADB-DEV$))(SERVICE_NAME=NETLINKII)) * (ADDRESS=(PROTOCOL=tcp)(HOST=128.146.195.86)(PORT=61592)) * establish * NETLINKII * 12560
    ** DBGRL Error: Text Alert Log
    ** DBGRL Error: SLERC_OERC, 48180
    ** DBGRL Error: OSD-00001: additional error information
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    ** DBGRL Error: TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
      64-bit Windows Error: 53: Unknown error
       TNS-12518: TNS:listener could not hand off client connection
        TNS-12571: TNS:packet writer failure
         TNS-12560: TNS:protocol adapter
    Thanks for the help in advance.
    Srinath
    by definition, you have two different ORACLE_HOME folders.
    You should be running a single listener from the V11.2.0.3 directory; which depends upon the content of the PATH variable.
    Are the OS Services for both the database & listener started & running now.
    Unfortunately,  the ORA-12560 is somewhat of a catchall error that results from a handful of different causes.

  • Oracle 10g over Windows 7 - ORA-12514 TNS:listener does not currently know

    Dear,
    I installed Oracle 10.1.0g over windows 7, now during installation its show me ORA-12560 TNS protocol adapter error, I ignored it for many dialog. then devery thing goings well.
    Once I try do login via sql plus, new message appear "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor "
    I try check many articles via forums but I can't resolve this issue.
    so, could any one follow me to handle this issue.
    Khaldoun

    user1941003 wrote:
    Dear,
    I installed Oracle 10.1.0g over windows 7, now during installation its show me ORA-12560 TNS protocol adapter error, I ignored it for many dialog. then devery thing goings well. The only 10g software certified/supported on Win 7 (Professional or higher) is 10.2.0.5. Win Home versions are not supported.
    http://download.oracle.com/docs/cd/B19306_01/relnotes.102/b15680/toc.htm#BABEBBJF
    Other versions may or may not work - so fixing any errors that result from unsupported/uncertified combinations is up to you.
    >
    Once I try do login via sql plus, new message appear "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor "
    I try check many articles via forums but I can't resolve this issue.
    so, could any one follow me to handle this issue.
    KhaldounSrini

  • Tns listener with 10g grid control

    i have a primary database on site A and a standby database on site B. yesterday the relationship between the 2 was alright with logs being shipped and applied. now my standby is down(probably due to a power failure) and each time i try to start it up i get the following:
    Error: ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
    This is oracle database 10g rel2 and grid control 10g rel2 sitting on windows xp. I have checked all the listener.ora and tnsnames.ora and do not seem to find anything amiss.
    what i need to know is:
    1 - are there any issues relating to installing rel2 on win xp?
    2 - when enterprise manager looks at the listener, is it the listener on the server with the primary or standby database?
    3 - has anybody ever had this issue, if so, what was the resolution?
    sincerely
    simba

    1 There are no more issues compared to other platforms
    2 It looks at the listener on the host you specify in tnsnames.ora
    3 Look: it is quite simple: too many people post here about common errors they can't seem to resolve themselves, because they don't use already available resources. If you would have simply searched this forum for ora-12505 you would already have read the solution.
    Typically, there is no need to ask around whether someone already ran into this. You are not unique, you are not the only one with this problem, and there are FAQs.
    ORA-12505 simply means in your tnsnames.ora you are using a SID which doesn't occur in listener.ora
    And you would have known this if you would have simply looked up the error in the online documentation. But alas: most people around here never use the documentation, though the Forums Etiquette post (also no one reads) recommends otherwise.
    Sybrand Bakker
    Senior Oracle DBA

  • CRS-0215 error in the step:Create the TNS Listener Process

    Error listening on: (ADDRESS=(PROTOCOL=TCP)(Host= 192.168.x.xxx)(Port=1521))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    Linux Error: 9: Cannot assign requested address
    I am getting the above error when starting the listener_linux2 on linux2 node. I ran the netca configuration tool on linux1 to configure the listener. It ends in error with CRS-0215.
    According to metalink note 339600.1 i should
    request the interface corresponding to the VIP Address be moved to/enabled on cluster server, where the TNS Listener is being started. Once the interface is enabled on cluster server, then start the TNS Listener.
    but how do i do that ?
    I am going to reboot the linux1 and linux2 boxes to see if that helps/solves the issue.
    Running Oracle Enterprise Linux 4 update 5 with oracle 10g R2
    Thanks
    Edited by: ow001294 on Aug 24, 2008 12:33 PM

    you wrote :
    "Please check your listener.ora and tnsnames.ora to make sure they entries are correct.
    You can also try that from a client machine tnsping(<server name> and IP address) is ok."
    I responded :
    This is on a brand new installation of Oracle RAC at home on 2 desktop pc's using Jeff Hunter's article on OTN website for testing/playing with Oracle 10 RAC at home. I used netca (network configuration assistant) to configure the listener. So, the listener.ora file should be correct. I only have listener.ora and sqlnet.ora files. No tnsnames.ora file yet.
    I don't have another client pc to connect to the server. This is a home based installation NOT connected to internet.
    The metalink note suggested a solution but i am not that familiar with linux/unix to know how to enable the interfaces. I just rebooted the boxes to see if that would solve the situation. am going to try again.....
    thanks

  • ORA-12516: TNS:listener could not find ... on Windows Server 2003

    We are getting "ORA-12516: TNS:listener could not find available handler" while testing asp.net web application.
    We have following configuration:
    - A 10g database server on Windows Server 2000
    - A Web Server running IIS6 on Windows Server 2003
    - ODP.Net for 10g client installed on Web Server
    we are testing our web app with 75 concurrent users, as far as I can tell we are closing connections in our app and open connection only while retrieving and saving records.
    I saw this error very first time when we upgraded our web server to use 10g client. Before that we were using Oracle 9 client and have tested this app with 100 concurrent users without any error.
    Does anyone can help or point a resource that can help to resolve this error?
    Thanks.

    Hi,
    You'll likely want to take that up with the networking folks as the error seems to be coming from the Listener.
    How many connections does each instance of your app make? If you make the same number of connections via sqlplus for example rather than ODP, do you see the same results? I know creating 60 or sqlplus sessions may not be fun, but it will help determine if this issue is truly somehow related to ODP. It doesnt seem likely it would be, and if ODP can be removed from the picture, it will be that much easier to troubleshoot.
    One thing I'd suggest though, is to make sure your app is cleaning up after itself properly to as to use resources efficiently. If you have access to My Oracle Support, see the following note:
    Note 730678.1 Oracle Data Provider for .Net Best Practices
    Hope it helps,
    Greg

  • Oracle 10g TNS listener service

    Hi Friends,
    I have installed Oracle 10g in my windows
    vista. When i try to start TNS listener through services window
    manually, it is giving the below error.
    "windows could not start the OracleOraDb10g_home1TNSListener service
    on Local Computer.
    Error 3: The System cannot find the path specified"
    If you have an idea about this please help me out. I need to solve it
    immediately. Please respond for this as early as possible.
    Thanks,
    Surendra Kumar

    sridhar yerram wrote:
    My listner.ora contents are as follows :
    # listener.ora Network Configuration File: D:\oracle\product\10.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.1.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    My tnsnames.ora file as follows ;
    # tnsnames.ora Network Configuration File: D:\oracle\product\10.1.0\db_1\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    I was getting the following error when iam connecting using my tns name : scott/tiger@ORCL
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    all services for oracle are started , in services.msc i started all the services of oracle.
    May i know exactly what are the services necessary to run the oracle 10g
    regards
    sridharWhy are you reviving a thread that has been dormant for 18 months and had nothing that looked at all like your problem?
    Anyway ...
    First, Is your client (from which you are running sqlplus) on the same machine as the database? If not, it will never connect as 'localhost' is a non-routable address.
    Second, which version of windows is your database on?
    Third, we see what your listener and tnsnames files look like, but that's not the whole story. Show us the results of :
    c:> lsnrctl status(Use copy and paste to show us the full command and response from a command prompt)
    Fourth, read my standard explanation and see if it leads you to any clues.
    =================================
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    Assume you have the following in your tnsnames.ora:
    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
      )Now, when you issue a connect, say like this:
    $> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
    What can go wrong?
    First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    =====================================

  • TNS Listener Error During CE 7.2 Install Phase "Import Java Dump"

    Hi All,
    We are installing a new CE 7.2 system on AIX 6.1 with Oracle 10.2.0.4
    (system name JDQ). We are receiving the following error during
    installation phase "Import Java Dump:"
    Oct 11, 2010 12:44:50 PM com.sap.inst.dbtools
    [Thread[main,5,main]] Fatal:
    com.sap.inst.common.exception.DBConnectionException:
    java.sql.SQLException: Listener refused the connection with the
    following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect
    descriptor
    at com.sap.inst.common.db.DBConnection.connect
    (DBConnection.java:157)
    at com.sap.inst.jload.Jload.main(Jload.java:226)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke
    (NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke
    (DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sap.engine.offline.OfflineToolStart.main
    (OfflineToolStart.java:161)
    We chose "Typical" for the installation type and sapisnt chose port
    1527 for the Oracle listener port by default. We are installing JDQ on
    a server where other SAP instances are already installed.
    Unfortunately, port 1527 is already in use by one of the other SAP
    systems for its Oracle listener. We have tried the following to
    resolve the error:
    1) Changed listener port for JDQ
    a. Changed the following files for JDQ to use port 1530 instead of
    1527:
    $ORACLE_HOME/network/admin/listener.ora
    $ORACLE_HOME/network/admin/tnsnames.ora
    /sapmnt/JDQ/profile/oracle/tnsnames.ora
    b. Restarted the JDQ database and listener, then clicked Retry
    c. Did not work. Exited and restarted the install, but this did
    not work, either.
    2) Changed listener name for JDQ
    a. Changed the following files for JDQ to use listener
    name "LISTENER_JDQ" instead of the default name of "LISTENER":
    $ORACLE_HOME/network/admin/listener.ora
    b. Restarted the JDQ database and listener, then clicked Retry
    c. Did not work. Exited and restarted the install, but this did
    not work, either.
    d. Changed the listener name back to "LISTENER" and restarted the
    DB and listener
    3) Changed installation files containing port 1527
    It looks like the installation saves the input parameters in files in
    the instllation directory. After we changed the JDQ environment to use
    the 1530 port, we thought maybe the install was getting 1527 from one
    of the installation files. Therefore we tried the following:
    a. Used command "find . -xdev -type f -exec grep -l -w 1527 {} \;"
    to obtain a list of files containing port 1527.
    b. Backed up these files
    c. Edited these files, changing 1527 to 1530. Files modified
    include the following:
    control.xml
    inifile.2.xml
    inifile.3.xml
    inifile.xml
    keydb.2.xml
    keydb.xml
    summary.html
    d. Clicked Retry, but still got the error
    e. Exited the installlation and restarted it. We are still
    getting the error.
    4) I know that for Java systems, the listener port is stored in the
    Secure Store. The SecStore.key and SecStore.properties files have been
    installed in directory /usr/sap/JDQ/SYS/global/security/data; however,
    configtool does not yet exist under /usr/sap/JDQ/J01; therefore I
    cannot see whether port 1527 has been placed in the Secure Store.
    Therefore, we did not take any action here.
    What do we need to do to resolve the error?
    Thanks in advance for any help you can provide.
    Tommye

    HI ,
    Could you please let us know how did you edit the secstore file without configtool ? How did you resolve the issue? I am facing the exact issue now..Please advice .
    Regards,
    Nibu Antony

  • TNS:listener does not currently know of service requested in connect

    [Oracle 10g 10.1.0.2] TNS:listener does not currently know of service requested in connect
    hi,
    My system is Windows XP.
    Oracle 10g : 10.1.0.2.0
    I can connect through sqlplus (and toad) with the following command:
    sqlplus scott/tiger /
    but I cannot connect with this: sqlplus scott/tiger@localhost:1521:cambridg
    I am trying to connect to my database cambridg on my computer (named eclipse).
    Where is the problem ? Can anyone help me here ?
    This is my tnsnames.ora
    # tnsnames.ora Network Configuration File: c:\oracle\product\10.1.0\Db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    CAMBRIDG =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ECLIPSE)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = cambridg)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    And my listener.ora :
    # listener.ora Network Configuration File: c:\oracle\product\10.1.0\Db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = c:\oracle\product\10.1.0\Db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ECLIPSE)(PORT = 1521))
    A tnsping works perfect :
    C:\bob>tnsping cambridg
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 30-JUIL.
    -2005 14:46:11
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ECLIPSE)
    (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = cambridg)))
    OK (20 msec)
    I get the following message:
    C:\>sqlplus scott/tiger@localhost:1521:cambridg
    SQL*Plus: Release 10.1.0.2.0 - Production on Sam. Juil. 30 15:10:58 2005
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Also, in the services running, I can see that the listener is started and running:
    OracleOraDb10g_home1TNSListener
    Maybe it has something to do with the other listener, that I cannot start:
    OracleOraDb10g_home1TNSListenerSID_LIST_LISTENER
    Any help would be much appreciated as I am currently stucked with that.
    Thanks a lot

    Muhammad Nadeem wrote:
    hi all,
    I have the following error when try to connect the database thru form developer:
    TNS:listener does not currently know of service requested in connect descriptor
    any one have the solution?
    Regards:
    mn=================================
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
    Additional notes on the listener: One listener is capable of listening on multiple ports. But please notice that it is the listener using these ports, not the database instance. You can't bind a specific listener port to a specific db instance. Similarly, one listener is capable of listnening on multiple IP addresses (in the case of a server with multiple NICs) But just like the port, you can't bind a specific ip address to a specific db instance.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    Assume you have the following in your tnsnames.ora:
    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
      )Now, when you issue a connect, say like this:
    $> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Finding it, tns sends a request through the normal network stack to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the standard networking process delivers the message to port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, the listener will spawn a server process to act as the intermediary between your client and the database instance. Communication to the server process will be on a randomly selected available port. At that point the listener is out of the process and continues to user port 1521 to await other connection requests.
    What can go wrong?
    First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    Third: If the client is on the same machine as the db instance, it is possible to connect without referencing tnsnames and without going through the listener.
    Now, when you issue a connect, say like this:
    $> sqlplus scott/tigertns will attempt to establish an IPC connection to the db instance. How does it know the name of the instance? It uses the current value of the enviornment variable ORACLE_SID. So...
    $> export ORACLE_SID=fred
    $> sqlplus scott/tigerIt will attempt to connect to the instance known as "fred". If there is no such instance, it will, of course, fail. Also, if there is no value set for ORACLE_SID, the connect will fail.
    check executing instances to get the SID
    [oracle@vmlnx01 ~]$ ps -ef|grep pmon|grep -v grep
    oracle    4236     1  0 10:30 ?        00:00:00 ora_pmon_vlnxora1set ORACLE_SID appropriately, and connect
    [oracle@vmlnx01 ~]$ export ORACLE_SID='vlnxora1
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:37 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing optionsNow set ORACLE_SID to a bogus value, and try to connect
    SQL> exit
    [oracle@vmlnx01 ~]$ export ORACLE_SID=FUBAR
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:57 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Enter user-name: Now set ORACLE_SID to null, and try to connect
    [oracle@vmlnx01 ~]$ export ORACLE_SID=
    [oracle@vmlnx01 ~]$ sqlplus /scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:43:24 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-12162: TNS:net service name is incorrectly specifiedOk, that is how we get from the client connection request to the listener. What about the listener's part of all this?
    The listener is very simple. It's job is to listen for connection requests and make the connection (server process) between the client and the database instance. Once that connection is made, the listener is out of the picture. If you were to kill the listener, all existing connections would continue. The listener is configured with the listener.ora file, but if that file doesn't exist, the listener is quite capable of starting up with all default values. One common mistake with the listner configuration is to specify "HOST=localhost" or "HOST=127.0.01". This is a NONROUTABLE ip address. LOCALHOST and ip address 127.0.0.1 always mean "this machine on which I am sitting". So, all computers are known as "localhost" or "127.0.0.1". If you specify this address, the listener will only be capable of receiving requests from the machine on which it is running. If you specified that address in your tnsnames file - on a remote client machine - the request would be routed to the machine on which the requesting client resides. Probably not what you want.
    =====================================

  • TNS-12518: TNS:listener could not hand off client connection TNS-12547

    Hi guys,
    I have started my listener from 10.2.0.5 home , which was in 10.2.0.4.
    from that point am having issue connect to 10.2.0.4 databases which are in restricted session(DR db)
    when I try to connect to databases which are in restricted session it says TNS connection closed. databases which are open am able to connect.
    listener.log shows
    TNS-12518: TNS:listener could not hand off client connection TNS-12547: TNS:lost contact TNS-12560: TNS:protocol adapter error TNS-00517: Lost contact Solaris Error: 32: Broken pipe
    any idea why its happening.

    902988 wrote:
    Hi guys,
    I have started my listener from 10.2.0.5 home , which was in 10.2.0.4.
    from that point am having issue connect to 10.2.0.4 databases which are in restricted session(DR db)
    when I try to connect to databases which are in restricted session it says TNS connection closed. databases which are open am able to connect.
    listener.log shows
    TNS-12518: TNS:listener could not hand off client connection TNS-12547: TNS:lost contact TNS-12560: TNS:protocol adapter error TNS-00517: Lost contact
    Solaris Error: 32: Broken pipeOS/Networking misconfiguration.
    Oracle is victim; not culprit.
    Root cause & solution is external to Oracle
    How many different DB versions installed on this system?
    post results from following OS command
    env | sort
    Handle:     902988
    Status Level:     Newbie
    Registered:     Dec 17, 2011
    Total Posts:     7
    Total Questions:     4 (4 unresolved)
    Why post here when you NEVER get any answers?
    Edited by: sb92075 on Apr 13, 2012 1:12 PM

Maybe you are looking for