Ora 12543 tns destination host not reachable

Dear All,
OS: RHEL 5
DB VERSION:-11.2.0
I am facing problem related to ora 12543 tns destination host not reachable
The problem here is little bit different what exactly other face:-
i have 2 servers with name abc.localdomain & xyz.localdomain.
Db name on abc.localdomain is abc
Db name on xyz.localdomain is xyz
When i try to ping with below mentioned command abc and xyz from abc.localdomain i am successful
ping abc
ping xyz
But when the same thing i am trying to do from xyz.localdomain i am able to ping the db running on xyz.localdomain. but getting the above mentioned error duringg pinging of abc database located on abc.localdomain server
I am able to ping both the server's from their ip's and hostname but not by abc db name and also checked firewall on both servers are disabled.
Here are my tnsnames.ora and listener.ora files for both machines
xyz.localdomain tnsnames.ora file:-
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER1 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xyz.localdomain)(PORT = 12001))
xyz =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = xyz.localdomain)(PORT = 12001))
    (CONNECT_DATA =
      (SERVICE_NAME = xyz)
abc =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = abc.localdomain)(PORT = 1521))
    (CONNECT_DATA =
      (SERVICE_NAME = abc)
xyz.localdomain listener.ora:-
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER1 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xyz.localdomain)(PORT = 12001))
SID_LIST_LISTENER1 =
  (SID_LIST =
    (SID_DESC =
      (GLOBAL_DBNAME = xyz)
      (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
      (SID_NAME = xyz)
ADR_BASE_LISTENER1 = /u01/app/oracle
abc.localdomain machine:-
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/grid/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (GLOBAL_DBNAME = abc)
      (ORACLE_HOME = /u01/app/oracle/product/11.2.0/grid)
      (SID_NAME = abc)
LISTENER =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abc.localdomain)(PORT = 1521))
ADR_BASE_LISTENER = /u01/app/oracle
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON
tnsnames.ora:-
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
xyz =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = xyz.localdomain)(PORT = 12001))
    (CONNECT_DATA =
      (SERVICE_NAME = xyz)
abc =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = abc.localdomain)(PORT = 1521))
    (CONNECT_DATA =
      (SERVICE_NAME = abc)
So kindly advice over the same if anyone of you face the same problem.

Hi,
Before actually looking up on this issue. I would suggest you to read the below posts to get true knowledge of what these utility do (i.e Listener, tnsping) and what are there purpose.
Help! I can't connect to my database...; | Ed Stevens, DBA
Help! I can't connect to my database (part duex) | Ed Stevens, DBA
tnsping  what it is, what it isn't | Ed Stevens, DBA

Similar Messages

  • ORA-12514, TNS:listener does not currently know of service requested in connect descriptor

    One more discussion with the same topic I know, I've tried to figure this issue out but still no chance,
    I'm using oracle-xe-11.2
        bash-4.1$ cat listener.ora
        # listener.ora Network Configuration File:
        SID_LIST_LISTENER =
          (SID_LIST =
            (SID_DESC =
              (SID_NAME = PLSExtProc)
              (ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe)
              (PROGRAM = extproc)
        LISTENER =
          (DESCRIPTION_LIST =
            (DESCRIPTION =
              (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
              (ADDRESS = (PROTOCOL = TCP)(HOST = o185i081)(PORT = 1521))
        bash-4.1$ cat tnsnames.ora
        # tnsnames.ora Network Configuration File:
        XE =
          (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = o185i081)(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)
        ORCL =
          (DESCRIPTION =
            (ADDRESS_LIST =
              (ADDRESS = (PROTOCOL = TCP)(HOST = o185i081)(PORT = 1521))
            (CONNECT_DATA =
              (SID = ORCL)
    but when I start lsnrctl it shows me status like the following:
        bash-4.1$ lsnrctl status
        LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 29-JUL-2013 18:19:17
        Copyright (c) 1991, 2011, Oracle.  All rights reserved.
        Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
        STATUS of the LISTENER
        Alias                     LISTENER
        Version                   TNSLSNR for Linux: Version 11.2.0.2.0 - Production
        Start Date                29-JUL-2013 18:11:10
        Uptime                    0 days 0 hr. 8 min. 10 sec
        Trace Level               off
        Security                  ON: Local OS Authentication
        SNMP                      OFF
        Listener Parameter File   /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
        Listener Log File         /u01/app/oracle/product/11.2.0/xe/log/diag/tnslsnr/o185i081/listener/alert/log.xml
        Listening Endpoints Summary...
          (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
          (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=o185i081)(PORT=1521)))
        Services Summary...
        Service "PLSExtProc" has 1 instance(s).
          Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
        The command completed successfully
    and there is no my ORCL service in there,
    if I try to ping it:
        bash-4.1$ tnsping orcl
        TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 29-JUL-2013 18:21:11
        Copyright (c) 1997, 2011, Oracle.  All rights reserved.
        Used parameter files:
        Used TNSNAMES adapter to resolve the alias
        Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = o185i081)(PORT = 1521))) (CONNECT_DATA = (SID = ORCL)))
        TNS-12543: TNS:destination host unreachable
    I've already tried to reload listner and the oracle DB

    jgarry wrote:
    I don't think so.  Sometimes it can be confusing if you've installed it more than once.
    Now that you've changed something, let's start all over.  Give output of everything that sb asked for.  Have you started the XE instance?
    Alright, here are the commands results:
    [root@o185i081 Disk1]# rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm
    Preparing...                ########################################### [100%]
            package oracle-xe-11.2.0-1.0.x86_64 is already installed
    [root@o185i081 Disk1]# /etc/init.d/oracle-xe stop
    Shutting down Oracle Database 11g Express Edition instance.
    Stopping Oracle Net Listener.
    [root@o185i081 Disk1]# /etc/init.d/oracle-xe configure
    Oracle Database 11g Express Edition is already configured
    [root@o185i081 Disk1]# /etc/init.d/oracle-xe start
    Starting Oracle Net Listener.
    Starting Oracle Database 11g Express Edition instance.
    [root@o185i081 Disk1]# su oracle
    bash-4.1$ cd ~/
    admin/              .bashrc             oradata/            .viminfo
    .bash_history       diag/               oradiag_oracle/   
    .bash_profile       fast_recovery_area/ product/          
    bash-4.1$ cd ~/product/11.2.0/xe/network/admin/
    bash-4.1$ cat listener.ora
    # listener.ora Network Configuration File:
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.104.11)(PORT = 1521))
    bash-4.1$ cat tnsnames.ora
    # tnsnames.ora Network Configuration File:
    ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.104.11)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = ORCL)
    bash-4.1$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 30-JUL-2013 07:56:41
    Copyright (c) 1991, 2011, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date                30-JUL-2013 07:55:08
    Uptime                    0 days 0 hr. 1 min. 33 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/o185i081/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.104.11)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    bash-4.1$ lsnrctl stop
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 30-JUL-2013 07:56:54
    Copyright (c) 1991, 2011, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    The command completed successfully
    bash-4.1$ mv listsner.ora listener.ora.sav
    mv: cannot stat `listsner.ora': No such file or directory
    bash-4.1$ mv listener.ora listener.ora.sav
    bash-4.1$ lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 30-JUL-2013 07:57:16
    Copyright (c) 1991, 2011, Oracle.  All rights reserved.
    Starting /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Log messages written to /u01/app/oracle/product/11.2.0/xe/log/diag/tnslsnr/o185i081/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=o185i081)(PORT=1521)))
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12543: TNS:destination host unreachable
    TNS-12560: TNS:protocol adapter error
      TNS-00513: Destination host unreachable
       Linux Error: 101: Network is unreachable
    bash-4.1$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 30-JUL-2013 07:57:55
    Copyright (c) 1991, 2011, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12543: TNS:destination host unreachable
    TNS-12560: TNS:protocol adapter error
      TNS-00513: Destination host unreachable
       Linux Error: 101: Network is unreachable
    bash-4.1$ lsnrctl service
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 30-JUL-2013 08:00:07
    Copyright (c) 1991, 2011, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12543: TNS:destination host unreachable
    TNS-12560: TNS:protocol adapter error
      TNS-00513: Destination host unreachable
       Linux Error: 101: Network is unreachable
    bash-4.1$ hostname
    o185i081
    bash-4.1$ uname -a
    Linux o185i081 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
    bash-4.1$ cat /etc/hosts
    127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
    16.16.185.22 o185i022
    16.16.185.81 o185i081
    bash-4.1$ tnsping orcl
    TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 30-JUL-2013 08:00:29
    Copyright (c) 1997, 2011, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.104.11)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = ORCL)))
    OK (10 msec)
    bash-4.1$ ls -l
    total 12
    -rwxr-xr-x 1 oracle dba  408 Jul 29 19:53 listener.ora.sav
    drwxr-xr-x 2 oracle dba 4096 Jul 16 10:43 samples
    -rwxr-xr-x 1 oracle dba  224 Jul 29 19:50 tnsnames.ora
    bash-4.1$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.2.0 Production on Tue Jul 30 08:01:01 2013
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1068937216 bytes
    Fixed Size                  2233344 bytes
    Variable Size             771755008 bytes
    Database Buffers          289406976 bytes
    Redo Buffers                5541888 bytes
    Database mounted.
    Database opened.
    SQL> alter system register;
    System altered.
    SQL> exit
    Disconnected from Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production
    bash-4.1$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 30-JUL-2013 08:01:45
    Copyright (c) 1991, 2011, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12543: TNS:destination host unreachable
    TNS-12560: TNS:protocol adapter error
      TNS-00513: Destination host unreachable
       Linux Error: 101: Network is unreachable
    ====
    BTW could you please tell me what the reason of renaming the listener.ora to listener.ora.sav?
    And probably it is necessary to reinstall oracle-xe? but I'm not sure it will shot on linux

  • 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

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

    Hi All,
    I am trying to create a physical standby using RMAN duplicate command.Yesterday I created it succesfully ,today I dropped the standby database I tried to create new one when I got hit by this error"
    <code>
    [email protected](standby) $ rman target sys/root123#@db1 auxiliary sys/root123#@standby
    Recovery Manager: Release 11.2.0.1.0 - Production on Sun Mar 3 11:38:08 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    [email protected](standby) $
    </code>
    below is my tnsname and listener files from primary
    [email protected](db1) $ pwd
    /u01/app/oracle/dbhome_1/network/admin
    [email protected](db1) $
    [email protected](db1) $
    [email protected](db1) $
    [email protected](db1) $
    [email protected](db1) $
    [email protected](db1) $ ls -ltr
    total 28
    -rw-r--r-- 1 oracle oinstall 187 May 7 2007 shrept.lst
    drwxr-xr-x 2 oracle oinstall 4096 Sep 12 22:12 samples
    -rw-r--r-- 1 oracle oinstall 40 Jan 20 03:38 sqlnet.ora_1
    -rw-r----- 1 oracle oinstall 1004 Mar 3 00:33 tnsnames.ora
    -rw-r--r-- 1 oracle oinstall 1004 Mar 3 11:27 tnsnames13030311AM2745.bak
    -rw-r--r-- 1 oracle oinstall 514 Mar 3 11:27 listener13030311AM2745.bak
    -rw-r--r-- 1 oracle oinstall 508 Mar 3 11:28 listener.ora
    [email protected](db1) $
    [email protected](db1) $
    [email protected](db1) $
    [email protected](db1) $ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/app/oracle/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    DB1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = db1.primary.swapnilkambli.com)
    RCAT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = rcat.primary.swapnilkambli.com)
    DB2 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = db2.primary.swapnilkambli.com)
    STANDBY =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby.swapnilkambli.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = standby.standby.swapnilkambli.com)
    [email protected](db1) $
    [email protected](db1) $
    [email protected](db1) $
    [email protected](db1) $ cat listener.ora
    # listener.ora Network Configuration File: /u01/app/oracle/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = rcat.primary.swapnilkambli.com)
    (ORACLE_HOME = /u01/app/oracle/dbhome_1)
    (SID_NAME = rcat)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    [email protected](db1) $
    [email protected](db1) $ lsnrctl services
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 03-MAR-2013 11:42:52
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=primary.swapnilkambli.com)(PORT=1521)))
    Services Summary...
    Service "db1.primary.swapnilkambli.com" has 1 instance(s).
    Instance "db1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:6 refused:0 state:ready
    LOCAL SERVER
    Service "db1XDB.primary.swapnilkambli.com" has 1 instance(s).
    Instance "db1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: primary.swapnilkambli.com, pid: 2617>
    (ADDRESS=(PROTOCOL=tcp)(HOST=primary.swapnilkambli.com)(PORT=23611))
    Service "rcat.primary.swapnilkambli.com" has 1 instance(s).
    Instance "rcat", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    [email protected](db1) $ tnsping db1
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 03-MAR-2013 11:43:36
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = db1.primary.swapnilkambli.com)))
    OK (0 msec)
    [email protected](db1) $
    [email protected](db1) $
    [email protected](db1) $ tnsping standby
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 03-MAR-2013 11:43:44
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = standby.swapnilkambli.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = standby.standby.swapnilkambli.com)))
    OK (0 msec)
    and below are my entries from standby server
    [email protected](standby) $ pwd
    /u01/app/oracle/dbhome_1/network/admin
    [email protected](standby) $
    [email protected](standby) $
    [email protected](standby) $
    [email protected](standby) $
    [email protected](standby) $
    [email protected](standby) $ ls -ltr
    total 24
    -rw-r--r-- 1 oracle oinstall 187 May 7 2007 shrept.lst
    drwxr-xr-x 2 oracle oinstall 4096 Sep 12 22:12 samples
    -rw-r----- 1 oracle oinstall 576 Mar 3 11:21 tnsnames.ora
    -rw-r--r-- 1 oracle oinstall 576 Mar 3 11:25 tnsnames13030311AM2540.bak
    -rw-r--r-- 1 oracle oinstall 514 Mar 3 11:25 listener13030311AM2540.bak
    -rw-r--r-- 1 oracle oinstall 514 Mar 3 11:26 listener.ora
    [email protected](standby) $
    [email protected](standby) $
    [email protected](standby) $
    [email protected](standby) $ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/app/oracle/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    DB1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = db1.primary.swapnilkambli.com)
    STANDBY =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby.swapnilkambli.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = standby.standby.swapnilkambli.com)
    [email protected](standby) $
    [email protected](standby) $
    [email protected](standby) $ cat listener.ora
    # listener.ora Network Configuration File: /u01/app/oracle/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = standby.standby.swapnilkambli.com)
    (ORACLE_HOME = /u01/app/oracle/dbhome_1)
    (SID_NAME = standby)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby.swapnilkambli.com)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    [email protected](standby) $
    [email protected](standby) $ lsnrctl services
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 03-MAR-2013 11:43:14
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=standby.swapnilkambli.com)(PORT=1521)))
    Services Summary...
    Service "standby" has 1 instance(s).
    Instance "standby", status BLOCKED, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "standby.standby.swapnilkambli.com" has 1 instance(s).
    Instance "standby", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:3 refused:0
    LOCAL SERVER
    The command completed successfully
    [email protected](standby) $ tnsping db1
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 03-MAR-2013 11:49:12
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = db1.primary.swapnilkambli.com)))
    OK (0 msec)
    [email protected](standby) $
    [email protected](standby) $
    [email protected](standby) $ tnsping standby
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 03-MAR-2013 11:49:18
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = standby.swapnilkambli.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = standby.standby.swapnilkambli.com)))
    OK (0 msec)
    tnsping works from both side I am able to connect from primary as below:
    [email protected](db1) $ rman target sys/root123#@db1 auxiliary sys/root123#@standby
    Recovery Manager: Release 11.2.0.1.0 - Production on Sun Mar 3 11:44:23 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: DB1 (DBID=1402881212)
    connected to auxiliary database: DB1 (not mounted)
    RMAN>
    DB version 11.2.0.1.0
    OS version Linux 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
    primary server--- primary.swapnilkambli.com
    primary database--- db1
    standby server--- standby.swapnilkambli.com
    standby database--- standby
    After I dropped the physical standby first time I did make some changes in tns of standby server which I dont recollect.
    Help on this error ORA-12514 is available on internet but I did not find anything helpful to my situation
    Edited by: user12860499 on Mar 2, 2013 10:45 PM

    GOT IT!!!!
    I check listener trace and found below:
    Log messages written to /u01/app/oracle/diag/tnslsnr/standby/listener/alert/log.xml
    03-MAR-2013 12:21:59 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=standby.swapnilkambli.com)(USER=oracle))(COMMAND=reload)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * reload * 0
    03-MAR-2013 12:22:00 * service_register * standby * 0
    Sun Mar 03 12:22:16 2013
    03-MAR-2013 12:22:16 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=db1.primary.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=standby.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=39512)) * establish * db1.primary.swapnilkambli.com * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    03-MAR-2013 12:22:20 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=standby.standby.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=standby.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.102)(PORT=54862)) * establish * standby.standby.swapnilkambli.com * 0
    03-MAR-2013 12:22:20 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=standby.standby.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=standby.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.102)(PORT=54863)) * establish * standby.standby.swapnilkambli.com * 0
    03-MAR-2013 12:22:20 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=standby.standby.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=standby.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.102)(PORT=54864)) * establish * standby.standby.swapnilkambli.com * 0
    Sun Mar 03 12:22:27 2013
    03-MAR-2013 12:22:27 * service_update * standby * 0
    Sun Mar 03 12:22:40 2013
    03-MAR-2013 12:22:40 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=standby.standby.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=primary.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.101)(PORT=60821)) * establish * standby.standby.swapnilkambli.com * 0
    03-MAR-2013 12:22:40 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=standby.standby.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=primary.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.101)(PORT=60822)) * establish * standby.standby.swapnilkambli.com * 0
    03-MAR-2013 12:22:40 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=standby.standby.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=primary.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.101)(PORT=60823)) * establish * standby.standby.swapnilkambli.com * 0
    03-MAR-2013 12:22:42 * service_update * standby * 0
    03-MAR-2013 12:22:45 * service_update * standby * 0
    Sun Mar 03 12:22:51 2013
    03-MAR-2013 12:22:51 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=db1.primary.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=standby.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=39536)) * establish * db1.primary.swapnilkambli.com * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    there was a entry in /etc/hosts which was directing primary.swapnilkambli.com to 127.0.01
    This was because I created this OS from a Virtual box template wherein that entry was made.
    I changed the /etc/hosts to refelct the true address and it worked!!

  • 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-12514: TNS:listener could not resolve SERVICE_NAME given in connect

    Hi Friends,
    I have created 10g database for catalog.
    I kept the tns entry in some other server. Tnsping is working fine.. I can see the result.
    mexn01:$ tnsping rman09na
    TNS Ping Utility for HPUX: Version 9.2.0.5.0 - Production on 28-APR-2008 19:29:07
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Used parameter files:
    /apps/app/oracle/local/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = torora60)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = rman09na)))
    OK (0 msec)
    When I am trying to connect to the database I am getting following error..
    mexn01:$ sqlplus ismdba/xxxxx@rman09na
    SQL*Plus: Release 9.2.0.5.0 - Production on Mon Apr 28 19:29:22 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect
    descriptor
    Please help me..
    Thanks in advance.

    Try on the server where it doesn't work:
    sqlplus ismdba/xxxxx@"(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = torora60)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = rman09na)))"
    or
    tnsping "(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = torora60)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = rman09na)))"
    (note the double quotes)
    If that works then your tnsnames.ora is incorrect on that server.

  • Problem: ORA-12514, TNS:listener does not currently know of service request

    When I enter a command for an Oracle 10g Express installation I am getting the following error:
    Integration Repository Creation Assistant (IRCA) 10.1.3.1.0
    (c) Copyright 2006 Oracle Corporation. All rights reserved.
    Running IRCA for all product(s):
    connection="localhost 1521 orcl", -overwrite, orabpelUser=ORABPEL, esbUser=ORAESB, orawsmUser=ORAWSM
    ERROR: Failed to establish database connection due to the following error:
    Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl)))
    Please check your connection parameters and try again.
    Hmm, whats wrong?
    Listener status yields:
    D:\db\install\soa_schemas\irca>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 10-FEB-2008 13:04:22
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS des LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Startdate 10-FEB-2008 12:48:44
    Uptime 0 days 0 hours. 15 min. 38 sec.
    Trace-Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Standard-Service XE
    Parameter file of listener D:\Oracle\app\oracle\product\10.2.0\server\network\admin\listener.ora
    Log file of listener D:\Oracle\app\oracle\product\10.2.0\server\network\log\listener.log
    Summary listener endpoints...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Services overview...
    Service "CLRExtProc" hat 1 Instance(s).
    Instance "CLRExtProc", Status UNKNOWN, has 1 Handler for this service...
    Service "PLSExtProc" hat 1 Instance(s).
    Instance "PLSExtProc", Status UNKNOWN, has 1 Handler for this service...
    Service "XEXDB" hat 1 Instance(s).
    Instance "xe", Status READY, has 1 Handler for this service...
    Service "XE_XPT" hat 1 Instance(s).
    Instance "xe", Status READY, has 1 Handler for this service...
    Service "xe" hat 1 Instance(s).
    Instance "xe", Status READY, has 1 Handler for this service...
    The command was successfully executed.
    D:\db\install\soa_schemas\irca>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 10-FEB-2008 13:18:59
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    Services _bersicht...
    Service "CLRExtProc" has 1 Instance(s).
    Instance "CLRExtProc", Status UNKNOWN, has 1 Handler for this service...
    Handler:
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "PLSExtProc" has 1 Instance(s).
    Instance "PLSExtProc", Status UNKNOWN, has 1 Handler for this service...
    Handler:
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "XEXDB" has 1 Instance(s).
    Instance "xe", Status READY, has 1 Handler for this service...
    Handler:
    "D000" established:0 refused:0 current:0 max:1002 Status:ready
    DISPATCHER <machine: LOCALHOST, pid: 3584>
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1049))
    Service "XE_XPT" has 1 Instance(s).
    Instance "xe", Status READY, has 1 Handler for this service...
    Handler:
    "DEDICATED" established:1 refused:0 Status:ready
    LOCAL SERVER
    Service "xe" has 1 Instance(s).
    Instance "xe", Status READY, has 1 Handler for this service...
    Handler:
    "DEDICATED" established:1 refused:0 Status:ready
    LOCAL SERVER
    The command was successfully executed.

    Hi,
    no, you got it wrong:
    Oracle uses network services which are a logical representation of the database to resolve network requests.
    in your ntsnames.ora file you have the following:
    network_alias = my_alias -- here you can write anything you just need to resolve it correctly
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (host=hostname or IP)
    (port=listener adapter port)
    ) -- this a complete socket information of the listener adapter!!
    (CONNECT_DATA=
    (SERVICE=your_service) -- this is what you tell the listener about the service you want to connect to. It is defined in the instance with the paramter service_names
    In general it is network aliasses which are resolved with connect descriptor in the tnsnames.ora.
    A connect decriptor consists of the address part + the connect_data part.
    The address part is used to reach the listener.
    The connect_data part is the information you hand over to the listener.
    So the listener must know the service name.
    The listener can either know this from the instance itself. When an Oracle instance is started it tries to registrer itself with a listener which listens on port 1521 for the protocol TCP.
    The instance tell this listener two paramater values: INSTANCE_NAME and SERVICE_NAMES. Then the listener knows the instance and which services are defined. It is just a reprentation of the database to the listener.
    If the listerner knows the service requested with a connect, it can establish a connection to a service handler. This could be a dedicated server process or a dispatcher.
    Another mehtod to let the listener know the service requested is so called static regustration of the instance. This is made with an SID LIST in the listener.ora file.
    Then the listener knows SID for the instance plus ORACLE_HOME and can find the executable to start a server process for a connect request.
    Hope it helps a little-.
    =;-)
    If you have further questions pls do not hesitate to ask. O.K.?

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

    Hi, I am using JDBC driver in Java for connecting to my Oracle XE 11g database on Windows 2008 Server R2 Standard, but I am receiving the following error
    +java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor+
    I am using this connection string:
    jdbc:oracle:thin:@WIN-H0E7IBS7HLQ:1521:XE;
    The configuration files:
    listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-H0E7IBS7HLQ)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    tsnames.ora:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-H0E7IBS7HLQ)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    sqlnet.ora:
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    I have already run some diagnostic tools:
    tnsping XE
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 18
    013 17:38:48
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = WI
    IBS7HLQ)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME
    OK (30 msec)
    lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-MAR-2013
    :10
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 -
    ction
    Start Date 18-MAR-2013 17:25:02
    Uptime 0 days 0 hr. 16 min. 7 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\net
    dmin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\WIN-H0E7IBS7
    stener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WIN-H0E7IBS7HLQ)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WIN-H0E7IBS7HLQ)(PORT=8080))(P
    ation=HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    lsnrctl services
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-MAR-2013
    :06
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: WIN-H0E7IBS7HLQ, pid: 5248>
    (ADDRESS=(PROTOCOL=tcp)(HOST=WIN-H0E7IBS7HLQ)(PORT=57253))
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    I have searched a lot about what is possible is going on, but I have'nt found nothing yet. Can somebody please help me
    Edited by: 994624 on 18-mar-2013 15:54

    Both client and server are in localhost. I had a DNS to change the hostname to 127.0.0.1. I have remove it. Same thing happens. This is the listener.log
    Mon Mar 18 18:15:18 2013
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63780)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63781)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63782)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63783)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63785)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63786)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63787)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63788)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63789)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63790)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63791)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63792)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63793)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63794)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63795)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63796)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63797)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63798)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63799)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63800)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63802)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63803)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63804)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63805)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:24 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63885)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:24 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63886)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:24 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63887)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:24 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63888)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor

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

    guys,
    i have a problem here with the connection between a client host and a server database, using a new non-default listener LISTENER_BKP_1. The error showed is:
    ORA-12518: TNS:listener could not hand off client connection
    i had learned about this error here before, and i toke some notes as follows:
    h2. listener.log
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 25-SEP-2009 01:23:49
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is C:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to C:\oracle\product\10.2.0\db_2\network\log\listener_bkp_1.log
    Trace information written to C:\oracle\product\10.2.0\db_2\network\trace\listener_bkp_1.trc
    Trace level is currently 0
    Started with pid=2212
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WINXP)(PORT=1523)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    25-SEP-2009 01:24:39 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=PAULO))(COMMAND=services)(ARGUMENTS=64)(SERVICE=listener_bkp_1)(VERSION=169869568)) * services * 0
    25-SEP-2009 01:24:49 * (CONNECT_DATA=(SERVICE_NAME=financeira.winxp)(CID=(PROGRAM=C:\ORACLE?instantclient_10_2\sqlplus.exe)(HOST=PAULO_NOTEBOOK)(USER=ORACLE_DBA))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.100)(PORT=51649)) * establish * financeira.winxp * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 2: No such file or directory
    25-SEP-2009 01:24:53 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=PAULO))(COMMAND=services)(ARGUMENTS=64)(SERVICE=listener_bkp_1)(VERSION=169869568)) * services * 0
    h2. lsnrctl services
    C:\>lsnrctl services listener_bkp_1
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 25-SEP-2009 01:33:40
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=WINXP)(PORT=1523)))
    Services Summary...
    Service "FINANCEIRA.WINXP" has 1 instance(s).
    Instance "FINANCEI", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:1
    LOCAL SERVER
    The command completed successfully
    h2. listener.ora file
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = FINANCEIRA.WINXP)
    (SID_NAME = FINANCEI)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WINXP)(PORT = 1521))
    SID_LIST_LISTENER_BKP_1 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = FINANCEIRA.WINXP)
    (SID_NAME = FINANCEI)
    LISTENER_BKP_1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WINXP)(PORT = 1523))
    h2. v$resource_limit
    RESOURCE_NAME ; CURRENT_UTILIZATION ; MAX_UTILIZATION ; INITIAL_ALLOCATION ; LIMIT_VALUE
    processes ; 26 ; 30 ; 150; 150
    sessions ; 30 ; 35 ; 170 ; 170
    2 rows selected
    this means that it didn't reach the resource limites yet. What i can do to solve the problem ???
    another important information is that connecting by the default listener LISTENER instead of the LISTENER_BKP_1 listener, the connection is completed successfully. There's enough SGA memory space too.
    Tks,

    Paulo_BR wrote:
    i have a problem here with the connection between a client host and a server database, using a new non-default listener LISTENER_BKP_1. The error showed is:
    ORA-12518: TNS:listener could not hand off client connectionDon't do Oracle on Windows, so I'm not sure how the following relates to the Listener dealing with a dedicated server connection request on Linux/Unix.
    On Linux/Unix, a dedicated server request means just that - a dedicated process has to be started to service that client. The Listener does it by using the parameters of the configured listener.ora service to execute +$ORACLE_HOME/bin/oracle+. This process then starts up, and the Listener hands off the client connection for this process for servicing.
    If there is a failure somewhere on this series of steps fail, the Listener throws the ORA-12518 exception. For example, the +$ORACLE_HOME+ has been incorrectly configured in listener.ora and it fails to execute and startup a dedicated server process.
    And this relates to the underlying error you are seeing:
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 2: No such file or directoryI think that the Listener on Windows uses the CreateRemoteThread() Win32 call to start up the server process thread. However, it needs a valid process identifier (of the existing Oracle instance) for this call - and thus needs to first identify the Oracle instance process. Could be that this step uses a ORACLE_HOME reference. And if that directory path is not valid, it is unable to identify the process id of the Oracle instance and thus unable to spawn a dedicated thread to service that client.

  • ORA-12518: TNS:listener could not hand off client connection (DBD ERROR: OCIServerAttach)

    Hi again,
    I'm on my enterprise management console and Database Instance and Listener shows the green arrow, but the Agent Connection to Instance shows a red downward arrow and the error:
    Status: Failed
    Details: ORA-12518: TNS:listener could not hand off client connection (DBD ERROR: OCIServerAttach)
    My OraClrAgnt service is up and running (using winxp pro, oracle 11gR2), I'm on my home pc, all my ports are open (my machine's name is "abigail" and it is dmzhost)
    Any suggestions to resolve this error?
    My Tnsnames ora:
    ABIGAIL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = ABIGAIL)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = orcl.0.0.10)
    LISTENER_ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = ABIGAIL)(PORT = 1521))
        (CONNECT_DATA =
          (SID = ORCL)
    RMAN =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ABIGAIL)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = rman.abigail)
    My listener.ora
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = E:\app\abigail\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:E:\app\abigail\product\11.2.0\dbhome_1\bin\oraclr11.dll")  
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = ABIGAIL)(PORT = 1521))
    ADR_BASE_LISTENER = E:\app\abigail
    My SQLNET.ORA
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (EZCONNECT, TNSNAMES, LOCALHOST)
    NAMES.TRACE_LEVEL = ADMIN
    My alert file
    <msg time='2013-10-10T20:47:02.687-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='ABIGAIL'
    host_addr='::1'>
    <txt>10-OCT-2013 20:47:01 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=SYSTEM))(SERVICE_NAME=orcl.0.0.10)) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=38289)) * establish * orcl.0.0.10 * 12518
    </txt>
    </msg>
    <msg time='2013-10-10T20:47:02.687-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='ABIGAIL'
    host_addr='::1'>
    <txt>TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    </txt>
    </msg>
    My listener status and services
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                10-OCT-2013 22:47:58
    Uptime                    0 days 0 hr. 2 min. 1 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   E:\app\abigail\product\11.2.0\dbhome_1\network\admin\l
    istener.ora
    Listener Log File         e:\app\abigail\diag\tnslsnr\ABIGAIL\listener\ale
    rt\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ABIGAIL)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl.0.0.10" has 1 instance(s).
      Instance "orcl", status READY, has 8 handler(s) for this service...
    The command completed successfully
    LSNRCTL> services
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "orcl.0.0.10" has 1 instance(s).
      Instance "orcl", status READY, has 8 handler(s) for this service...
        Handler(s):
          "D006" established:0 refused:0 current:0 max:800 state:ready
             DISPATCHER <machine: ABIGAIL, pid: 1312>
             (ADDRESS=(PROTOCOL=tcps)(HOST=ABIGAIL)(PORT=1060))
          "D005" established:0 refused:12 current:0 max:800 state:ready
             DISPATCHER <machine: ABIGAIL, pid: 1288>
             (ADDRESS=(PROTOCOL=tcps)(HOST=ABIGAIL)(PORT=1061))
          "D004" established:0 refused:1 current:1 max:16383 state:ready
             DISPATCHER <machine: ABIGAIL, pid: 1260>
             (ADDRESS=(PROTOCOL=tcp)(HOST=ABIGAIL)(PORT=1063))
          "D003" established:0 refused:1 current:1 max:16383 state:ready
             DISPATCHER <machine: ABIGAIL, pid: 1140>
             (ADDRESS=(PROTOCOL=tcp)(HOST=ABIGAIL)(PORT=1062))
          "D002" established:0 refused:1 current:1 max:16383 state:ready
             DISPATCHER <machine: ABIGAIL, pid: 140>
             (ADDRESS=(PROTOCOL=tcp)(HOST=ABIGAIL)(PORT=1059))
          "D001" established:0 refused:1 current:1 max:16383 state:ready
             DISPATCHER <machine: ABIGAIL, pid: 1072>
             (ADDRESS=(PROTOCOL=tcp)(HOST=ABIGAIL)(PORT=1057))
          "D000" established:0 refused:1 current:1 max:16383 state:ready
             DISPATCHER <machine: ABIGAIL, pid: 748>
             (ADDRESS=(PROTOCOL=tcp)(HOST=ABIGAIL)(PORT=1058))
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    The command completed successfully

    I added this on my listener.ora
    DIRECT_HANDOFF_TTC_LISTENER=OFF
    Works now!
    Moral of the story, google is ur friend lol. Thanks for the reply tho!

  • Java.sql.SQLException: Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor

    Good Day,
    I'm encountering this problem
         java.sql.SQLException: Listener refused the connection with the following error:
         ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    here's the java code
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    String url = "jdbc:oracle:thin:@//10.143.85.21/UCSL";
    String userName = "mssoriano";
    String passWord = "mssoriano_4319";
    conn = DriverManager.getConnection(url, userName, passWord);
    and here's my tnsnames.ora
    UCSL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.143.85.21)(PORT = 1521))
        (CONNECT_DATA =
          (SID = psusldb11)
    Please do let me know if what may the cause of the problem and how to solve this. Thank you and God bless.

    Hi,
    see this example
    Connect to Oracle DB via JDBC driver
    Frank

  • "ORA:12514 TNS: listener could not currently know of service requested in c

    Hi,
    I have just install 10g database, and when am connecting from 'scott' with password 'oracle' it'll get connected but when at the same time am giving the host string 'ORCL' it does not work giving below attached error,
    "ORA:12514 TNS: listener could not currently know of service requested in connect descriptor"
    plz help me to come out to this problem.
    Thanks & Regards,
    Neha

    ORA-12154: TNS:could not resolve the connect identifier specified
    Cause: A connection to a database or other service was requested using a connect identifier, and the connect identifier specified could not be resolved into a connect descriptor using one of the naming methods configured. For example, if the type of connect identifier used was a net service name then the net service name could not be found in a naming method repository, or the repository could not be located or reached.
    Action:
    - If you are using local naming (TNSNAMES.ORA file):
    - Make sure that "TNSNAMES" is listed as one of the values of the NAMES.DIRECTORY_PATH parameter in the Oracle Net profile (SQLNET.ORA)
    - Verify that a TNSNAMES.ORA file exists and is in the proper directory and is accessible.
    - Check that the net service name used as the connect identifier exists in the TNSNAMES.ORA file.
    - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA file. Look for unmatched parentheses or stray characters. Errors in a TNSNAMES.ORA file may make it unusable.
    - If you are using directory naming:
    - Verify that "LDAP" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
    - Verify that the LDAP directory server is up and that it is accessible.
    - Verify that the net service name or database name used as the connect identifier is configured in the directory.
    - Verify that the default context being used is correct by specifying a fully qualified net service name or a full LDAP DN as the connect identifier
    - If you are using easy connect naming:
    - Verify that "EZCONNECT" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
    - Make sure the host, port and service name specified are correct.
    - Try enclosing the connect identifier in quote marks. See the Oracle Net Services Administrators Guide or the Oracle operating system specific guide for more information on naming.

  • ORA-12518 Tns: Listener could not hand off client conenction

    Sometimes I got ORA-12518 Tns: Listener could not hand off client conenction
    adding
    DIRECT_HANDOFF_TTC_LISTENER=OFF
    to listener.ora is suggested.
    Here is my listener.ora.
    Where should I add it?
    like this????????????????
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_2)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = disaster)(PORT = 1521))
    DIRECT_HANDOFF_TTC_LISTENER=OFF
    )

    like this????????????????No, like this
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_2)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = disaster)(PORT = 1521))
    DIRECT_HANDOFF_TTC_LISTENER=OFF

  • ORA-12505, TNS:listener does not currently know of SID given in connect des

    Hello,
    After installation of Oracle Database Express Edition 11g and Oracle SQL Developer 3.0, I tryed connect a database.
    Informations entered :
    Nom de connexion : xe_sys
    Nom utilisateur : sys
    Mdp : *********
    Type de connexion : de base, role sysdba
    Nom d'hote : POST1.compteUs.local
    Port : 1521
    SID : XE
    when I tested the connection I have this famous message that appears:
    Statut : échec -Echec du test : Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    this is listener.ora :
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = POST1.compteUs.local)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    this is sqlnet.ora :
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    this is tnsname.ora :
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = POST1.compteUs.local)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Can you help me please ?
    Thanks

    Thanks of help.
    here, commande 'lsnrctl stat' executed :
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 10-OCT. -2012 08:
    40:29
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Start Date 10-OCT. -2012 03:30:05
    Uptime 0 days 5 hr. 10 min. 24 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\POST1\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=POST1.compteUs.local)(PORT=1521)
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    So, I tryed :
    Informations entered :
    Nom de connexion : test
    Authentification OS
    Type connection : de base, role sysdba
    host name : POST1.compteUs.local
    Port : 1521
    Service name : XE
    And this is message erreur :
    Statut : échec -Echec du test : Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor

  • Listener (and database instance) does not starts up automatically: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

    Hi at all.... I'm a newbie with database oracle.,
    I have the follow problem:
    I installed Oracle Database 11g R2 XE on my guest operating system CentOS 6.5.
    I have changed  the hostname in my SO CentOS (where is installed oracle 11g R2 XE) after installation was completed successfully.
    -) Before and during installation the hostname was localhost.
    -) After installation I changed the hostname in VMCentOS
    From the moment I changed the hostname, nothing starts up automatically. In particular, the listener and the database instance does not starts up automatically.
    When I starts up the listener manually and I try to connect to database instance with SQLPLUS i get this error:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    I think that the problem is due to the changed hostname because I, for testing and debugging purpose, re-installed a new OS CentOS virtual machine, re-installed oracle database 11g and  I have not got that problem. The database instance and the listener starts up automatically!
    Can any one tell me if maybe the problem is related to the hostname changed? ... and Why?
    P.S.: After changed the hostname I have also modified the listener.ora and the tnsnames.ora by modifying the HOST with the correct hostname.

    -) Output of command chkconfig (there isn't any line oracle-xe 0:off   1:off  2:on  3:on  4:on  5:on  6:off):
    [oracle@VMCentOS /]$ chkconfig
    NetworkManager     0:off    1:off    2:on    3:on    4:on    5:on    6:off
    abrt-ccpp          0:off    1:off    2:off    3:on    4:off    5:on    6:off
    abrtd              0:off    1:off    2:off    3:on    4:off    5:on    6:off
    acpid              0:off    1:off    2:on    3:on    4:on    5:on    6:off
    atd                0:off    1:off    2:off    3:on    4:on    5:on    6:off
    auditd             0:off    1:off    2:on    3:on    4:on    5:on    6:off
    blk-availability    0:off    1:on    2:on    3:on    4:on    5:on    6:off
    bluetooth          0:off    1:off    2:off    3:on    4:on    5:on    6:off
    cpuspeed           0:off    1:on    2:on    3:on    4:on    5:on    6:off
    crond              0:off    1:off    2:on    3:on    4:on    5:on    6:off
    cups               0:off    1:off    2:on    3:on    4:on    5:on    6:off
    dnsmasq            0:off    1:off    2:off    3:off    4:off    5:off    6:off
    firstboot          0:off    1:off    2:off    3:on    4:off    5:on    6:off
    haldaemon          0:off    1:off    2:off    3:on    4:on    5:on    6:off
    htcacheclean       0:off    1:off    2:off    3:off    4:off    5:off    6:off
    httpd              0:off    1:off    2:off    3:off    4:off    5:off    6:off
    ip6tables          0:off    1:off    2:on    3:on    4:on    5:on    6:off
    iptables           0:off    1:off    2:on    3:on    4:on    5:on    6:off
    irqbalance         0:off    1:off    2:off    3:on    4:on    5:on    6:off
    jexec              0:off    1:on    2:on    3:on    4:on    5:on    6:off
    kdump              0:off    1:off    2:off    3:on    4:on    5:on    6:off
    lvm2-monitor       0:off    1:on    2:on    3:on    4:on    5:on    6:off
    mdmonitor          0:off    1:off    2:on    3:on    4:on    5:on    6:off
    messagebus         0:off    1:off    2:on    3:on    4:on    5:on    6:off
    netconsole         0:off    1:off    2:off    3:off    4:off    5:off    6:off
    netfs              0:off    1:off    2:off    3:on    4:on    5:on    6:off
    network            0:off    1:off    2:on    3:on    4:on    5:on    6:off
    ntpd               0:off    1:off    2:off    3:off    4:off    5:off    6:off
    ntpdate            0:off    1:off    2:off    3:off    4:off    5:off    6:off
    portreserve        0:off    1:off    2:on    3:on    4:on    5:on    6:off
    postfix            0:off    1:off    2:on    3:on    4:on    5:on    6:off
    psacct             0:off    1:off    2:off    3:off    4:off    5:off    6:off
    quota_nld          0:off    1:off    2:off    3:off    4:off    5:off    6:off
    rdisc              0:off    1:off    2:off    3:off    4:off    5:off    6:off
    restorecond        0:off    1:off    2:off    3:off    4:off    5:off    6:off
    rngd               0:off    1:off    2:off    3:off    4:off    5:off    6:off
    rsyslog            0:off    1:off    2:on    3:on    4:on    5:on    6:off
    saslauthd          0:off    1:off    2:off    3:off    4:off    5:off    6:off
    smartd             0:off    1:off    2:off    3:off    4:off    5:off    6:off
    snmpd              0:off    1:off    2:off    3:off    4:off    5:off    6:off
    snmptrapd          0:off    1:off    2:off    3:off    4:off    5:off    6:off
    spice-vdagentd     0:off    1:off    2:off    3:off    4:off    5:on    6:off
    sshd               0:off    1:off    2:on    3:on    4:on    5:on    6:off
    sysstat            0:off    1:on    2:on    3:on    4:on    5:on    6:off
    udev-post          0:off    1:on    2:on    3:on    4:on    5:on    6:off
    vmware-tools       0:off    1:off    2:on    3:on    4:on    5:on    6:off
    vmware-tools-thinprint    0:off    1:off    2:on    3:on    4:on    5:on    6:off
    wdaemon            0:off    1:off    2:off    3:off    4:off    5:off    6:off
    winbind            0:off    1:off    2:off    3:off    4:off    5:off    6:off
    wpa_supplicant     0:off    1:off    2:off    3:off    4:off    5:off    6:off
    [oracle@VMCentOS /]$
    Moreover in /etc/sysconfig there isn't any file oracle-xe!!!
    At this point, I suspect that something in the installation I mistook.

Maybe you are looking for