Is TNS Listener running?

Hello,
I'm trying to find if the TNS lister is running corrrectly?
If I run command: lsnrctl status
The result is:
===========================================
LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 10-MAR-2006 10:52:12
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Produ
ction
Start Date 09-MAR-2006 15:31:59
Uptime 0 days 19 hr. 20 min. 12 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File E:\oracle\product\10.1.0\Db_1\network\admin\listener.o
ra
Listener Log File E:\oracle\product\10.1.0\Db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mypcname.mydomainanme)(PORT=8080))(Pre
sentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mypcname.mydomainanme)(PORT=2100))(Pre
sentation=FTP)(Session=RAW))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
==================================
My oracle10g database service name is: orcl
So I run this command: lsnrctl status orcl
C:\>lsnrctl status orcl
the result is:
===============================
LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 10-MAR-2006 11:03
:35
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mypcname.mydomainanme)(POR
T=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
=====================================================
From above result, I got some error when I run lsnrctl status orcl. Can someone help answer the reason for the error? Is the TNS Listener is running correctly?
Thanks a million for your instruction,
Emily

the ORACLE_HOME environment variable has to point to the software directory where you Oracle software is installed.
The variable is picked up by oracle client software, were to search for is libary and eg. language files.
In your case ORACLE_HOME=E:\oracle\product\10.1.0\Db_1
ORACLE_BASE is another important variable, most of the time it points to the directory which is one directory above ORACLE_HOME, so in you case
ORACLE_BASE=E:\oracle\product\10.1.0\
These variables are on windows default set during the software installation, in you registry (HKEY_LOCAL_MACHINE), but as you apparently found out you can set them also on the command prompt to overrule the defaults.
Q1
You don't have to remove all the variables in your PATH setting, just be sure that the client software you are trying to execute is using the correct oracle variables. So be aware that the corresponding ORACLE_HOME variable is one of the first to be mentioned in your path setting. Otherwise use
set ORACLE_HOME=E:\oracle\product\10.1.0\Db_1
set PATH=%ORACLE_HOME%;%PATH%
or on unix/linux
export ORACLE_HOME=.... ;
export PATH=$ORACLE_HOME:$PATH
if you want start start, for example sqlplusw.exe (sqlplus windows), set your path as follows
set ORACLE_HOME=E:\oracle\product\10.1.0\Db_1
set PATH=%ORACLE_HOME%\bin;%PATH%
(sqlplusw.exe or most other executables are located in the "bin" directory)
Q2
The remark in the manual is a precaution because the installation will set ORACLE_HOME themselfs. So just get yourself a windows command window/prompt
type c:> set ORACLE_HOME=
this will clear the variable. Now go to the directory where the setup.exe executable is and execute it.
Q3
i didn't read it, but the SID or ORACLE_SID is a uniek identifier which gives the database its uniek name. This name is linked to as service in windows, called in Oracle terms the Oracle instance (memory part of the database and its threads/daemons). The GLOBAL_DATABASE_NAME is a more friendly name for the database which most of the time is a sort of fully qualified (database) name. (databasename.servername.networkname.etc)
Q4
as said ORACLE_HOME is used by the oracle programs. The "know" that in sub directory BIN the executables are located, in the sub directory NETWORK/ADMIN the default sqlnet configuration files, in the sub-directory NLS the message files can be found etc, etc, etc. It''s for Oracle prog. use only...(more or less)

Similar Messages

  • TNS listener running?

    How can I tell if the TNS listener is running? I'm getting the
    following errors when trying DBI/DBD:
    DBI->connect failed: ORA-12224: TNS:no listener (DBD ERROR:
    OCIServerAttach) at hellodbhandle.pl line 4
    DBI->connect failed: ORA-12224: TNS:no listener (DBD ERROR:
    OCIServerAttach)
    Thanks,
    Marco
    null

    ps -ef | grep oracle
    should show all oracle processes including listener. Good luck
    Marco Shaw (guest) wrote:
    : Never mind...found the command lsnrctl.
    : Marco
    : Marco Shaw (guest) wrote:
    : : How can I tell if the TNS listener is running? I'm getting
    the
    : : following errors when trying DBI/DBD:
    : : DBI->connect failed: ORA-12224: TNS:no listener (DBD ERROR:
    : : OCIServerAttach) at hellodbhandle.pl line 4
    : : DBI->connect failed: ORA-12224: TNS:no listener (DBD ERROR:
    : : OCIServerAttach)
    : : Thanks,
    : : Marco
    null

  • Which TNS listener is running!

    I have both Oracle8.0.5 client and Oracle8.1.6 server installed on a WindowsNT machine. However only one TNS-listener service can be started on this machine.
    How do I find out programmatically (through a VB program) which tns-listener is currently running on that machine.
    (My ultimate aim is to find the location of "tnsnames.ora" used by the running tns-listener! )
    Thanks in advance,
    (byju)

    Only database server requires LISTENER. Client does not require LISTENER to make the connection.
    In you case, You should configure LISTENER for Oracle 8.1.6. You can check the version of listener by LSNRCTL.EXE. Type STATUS in the LSNRCTL prompt. It will show the status and version of listener.
    The location of TNSNAMES.ORA should only be located by registry.
    Determine oracle home directory by the value of \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ORALE_HOME.
    Append '\network\admin' to the path. The TNSNAMES.ORA in that directory is the one you are looking for.
    Steve

  • TNS Listener error while opening a Form !

    Hi all,
    I have installed Form/Reports 11gr2 with Weblogic 10.3.6 64-bit & database 11gr2.
    All installations and configures are successful.
    But when I give URL address (servername:portno/forms/frmservlet?form=main) to open a form, it gives me following error;
    ora-12514: TNS:listener does not currently know of service requested in connect descriptor.
    I searched on google, but didn't clear my error. I also checked Oracle services, all are started.
    So please guide me !
    Thanks/Regards.
    Dass

    I never changed settings in tnsnames.ora, it is always as per default settings.  If required  now then let me know.
    Please note that when I connect my form builder with databases, it is connected. But when I run my form it again show same error and open a dialog box for
    username,password & databases connection string.
    I copied this file into "E:\Oracle\Middleware\asinst_1\config"  of form.
    Below is my tnsnames.ora file;
    # tnsnames.ora Network Configuration File: E:\app\admin\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    Thanks.

  • 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

  • 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

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

  • ORA-12505 on Oracle Database 10g Express Edition: TNS:listener

    In Developer3, trying to connect to Oracle Database 10g Express Edition give me:
    Listener refused the connection with the following error:
    ORA-12505 TNS:listener does not currently know of SID given in connect descriptor
    Vendor code 12505
    Edited by: 873444 on Jul 22, 2011 3:23 AM

    SID given in connect descriptorSo what is the SID you're asking for ... the client in use may not know the XE tnsalias, especially if the client is not running in the same ORACLE_HOME as the database.
    The client needs to know how to get to the database- a `tnsping xe` reveals the path to the current ORACLE_HOME/network/admin/sqlnet.ora file for your environment but that may not be the same ORACLE_HOME used by "developer 3".

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

  • TNS:listener does not currently know of SID given in connect descriptor

    Hi
    I have installed 11g on Windows 7, the startup & shutdown of DB is normal.
    But connecting to a particular DB is giving a problem:
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
    in the listener.ora following entry is made:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = sid_test)
    (ORACLE_HOME =$ORACLE_HOME)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = sid_test)
    (ORACLE_HOME = $ORACLE_HOME)
    (SID_NAME = orcl_test)
    LIST1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    Also tried using ALTER SYSTEM REGISTER;
    still there is no connection being established.
    following outputs i am getting while connecting:
    SQL> connect test_db@tns_test
    Enter password:
    ERROR:
    ORA-12505: TNS:listener does not currently know of SID given in connect
    descriptor
    Warning: You are no longer connected to ORACLE.
    While running lsnrctl status command, following error is appearing:
    C:\Windows\system32> lsnrctl status list1
    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 28-SEP-2012 10:35
    :38
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias list1
    Version TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Produ
    ction
    Start Date 28-SEP-2012 10:29:40
    Uptime 0 days 0 hr. 5 min. 58 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File XXXXXXXXXXXXXXXXXXXXXXXXXXXX\listener.ora
    Listener Log File XXXXXXXXXXXXXXXXXXXXX\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    The listener supports no services
    The command completed successfully
    Please help...!!!

    Hi Niket,
    Thanks for the reply, i tried following as well in the listener file (still the error persistes):
    list1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = sid_test)
    (ORACLE_HOME =$ORACLE_HOME)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = sid_test)
    (ORACLE_HOME = $Oracle_home)
    (SID_NAME = sid_test)
    The tnsnames.ora entry:
    tns_test =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SID = sid_test)
    )

  • TNS Listener Problem in 8.1.6

    Hi,
    While trying to connect to Oracle 8.1.6 , installed on local machine (OS Windows NT 4.0), using Oracle's thin JDBC drivers I get the following error :
    TNS-12500: TNS:listener failed to start a dedicated server process
    TNS-12537: TNS:connection closed
    My database is running in dedicated mode on the same PC where I am executing this JAVA program.
    Any pointer. Any Help will be highly appreciated.
    Thanks.
    King.

    According to Oracle Error Message, action for TNS-12500 is that Check the Listener.ORA is properly been set with the Oracle Environment if not make it and stop and start the Oracle and Listener too. If we faced and we did the above and it was working perfect.

  • 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

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

    Hi all
    I'm not sure if this is the correct place to ask this but I was wondering whether Anyone has ran into a similar problem or know how to solve this seeing as this involes SOA.
    I am running Oracle 10g 10.2.0.4 and Oracle SOA 10.1.3.3. I've also written a piece of code that connects to the database using the database's jndi name from a connection pool. I can start the DB and the SOA with no problems however, if I try and connect to the database using one of the connection objects from the connection pool , i.e.
    db = connection.getConnection("jdbc/LocalASDBDataSource");
    the listener stops working and I get the error message
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    I know that prior to trying to get the connection from the connection pool, the listener works because if i run lsnrctl services, it reports that the listener is up and running but after the point where I try to get the connection i.e.
    db = connection.getConnection("jdbc/LocalASDBDataSource");
    the listener stops working. If run lsnrctl services, it then reports that the listener supports no services. The only way I can get the service and the listener to start working is to delete the listener and the Service using Net Manager and then recreating it again but then every time that I run the code again, I get back to the error
    the funny thiing is that this only started when I increased the processes because I was gettig ORA-12518: TNS:listener could not hand off client connection
    The jndi properties file that I use to create my initial context is
    java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactory
    java.naming.provider.url=opmn:ormi://localhost:6003:oc4j_soa
    java.naming.security.principal=oc4jadmin
    java.naming.security.credentials=password1
    My Listener.ora is
    # listener.ora Network Configuration File: C:\oracle\product\10.2.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.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = DEVPSTEXP)(PORT = 1521))
    My TNS Names.ora is
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    ASDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ASDB)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Any help will be greatly appreciated
    Thanks!

    The tnsname.ora is not used in this situation as the datasource / connection pool connects via jdbc.
    What happens if you bounce the database, instead of deleting the service.
    It sounds like you are hitting bug 6017068.
    Have a look at that patch
    cheers
    James

  • 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

Maybe you are looking for