TNS-12564: TNS:connection refused

Hi,
I have some PHP applications which connect to Oracle database.
I sometime receive the following error message.
Fatal NI connect error 12516, connecting to:
(DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=)(CID=(PROGRAM=httpd)(HOST=r33188.ovh.net)(USER=nobody)))(ADDRESS=(PROTOCOL=TCP)(HOST=178.32.113.43)(PORT=1521)))
VERSION INFORMATION:
     TNS for Linux: Version 10.2.0.1.0 - Production
     TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.1.0 - Production
Time: 29-JUL-2010 18:01:45
Tracing not turned on.
Tns error struct:
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
I already had that error message in the past. At that time, I looked at the V$RESOURCE_LIMIT view and I saw session and process parameters were too small so I increased its.
Now, I checked again to these parameters and values never went nearly the max values.
RESOURCE_NAME     CURRENT_UTILIZATION     MAX_UTILIZATION     INITIAL_ALLOCATION     LIMIT_VALUE
processes     21     183     400     400
sessions     29     191     445     445
enqueue_locks     13     23     5470     5470
enqueue_resources     13     44     2176     UNLIMITED
ges_procs     0     0     0     0
ges_ress     0     0     0     UNLIMITED
ges_locks     0     0     0     UNLIMITED
ges_cache_ress     0     0     0     UNLIMITED
ges_reg_msgs     0     0     0     UNLIMITED
ges_big_msgs     0     0     0     UNLIMITED
ges_rsv_msgs     0     0     0     0
gcs_resources     0     0     0     0
gcs_shadows     0     0     0     0
dml_locks     0     73     1956     UNLIMITED
temporary_table_locks     0     3     UNLIMITED     UNLIMITED
transactions     1     6     489     UNLIMITED
branches     0     0     489     UNLIMITED
cmtcallbk     0     1     489     UNLIMITED
sort_segment_locks     5     8     UNLIMITED     UNLIMITED
max_rollback_segments     11     11     489     65535
max_shared_servers     4     7     UNLIMITED     UNLIMITED
parallel_max_servers     0     0     0     3600
Is it possible it can from another thing ? What is the best way to never have this error message again ? What is max value for sessions and processes that Oracle can support ?
Thanks in advance,
Best regards.

Why do I am having (HOST=178.32.113.43)(PORT=1521) in the error message? I am using only the DNS name.
my tnsnames.ora file:
NV =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dns_name)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = NV)
and in my php connection function I also use the DNS name as the host and username/password like:
$connect = ocilogon($username, $password, 'dns_name');
Should I connect in another way ? like:
$ora_host='(DESCRIPTION =(ADDRESS =(PROTOCOL = TCP)(HOST = dns_name)(PORT = 1521))(CONNECT_DATA =(SID = NV)))';
$connect = ocilogon($username, $password, $ora_host);

Similar Messages

  • TNS-12564

    We are able to connect through sqlplus. But we get the following error when trying to connect through application. We are using Oracle 10.2.0.2 on HP UX-11.2.
    ===========================================================
    Fatal NI connect error 12516, connecting to:
    (DESCRIPTION=(SDU=32768)(enable=broken)(LOAD_BALANCE=yes)(ADDRESS=(PROTOCOL=TCP)(HOST=gvu0177.houston.hp.com)(PORT=1525))(CONNECT_D
    ATA=(SERVICE_NAME=WSS1D)))
    VERSION INFORMATION:
    TNS for HPUX: Version 10.2.0.1.0 - Production
    TCP/IP NT Protocol Adapter for HPUX: Version 10.2.0.1.0 - Production
    Time: 26-MAR-2007 16:47:20
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12564
    TNS-12564: TNS:connection refused
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    =====================================
    LSNRCTL for HPUX: Version 10.2.0.2.0 - Production on 26-MAR-2007 21:13:48
    Service "PSHDM_XPT" has 2 instance(s).
    Copyright (c) 1991, 2005, Oracle. All rights reserved. this service...
    Instance "PSHDM2", status READY, has 1 handler(s) for this service...
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=gvu0177)(PORT=1525)(IP=F
    IRST)))nce "RHBD1", status READY, has 2 handler(s) for this service...
    STATUS of the LISTENERatus READY, has 1 handler(s) for this service...
    ------------------------ instance(s).
    Alias LISTENER_G3U0192Cdler(s) for this service...
    Version TNSLSNR for HPUX: Version 10.2.0.2.0 - Production
    Start Date 27-FEB-2007 18:28:49
    Uptime 27 days 2 hr. 44 min. 59 secr this service...
    Trace Level offtance(s).
    Security ON: Local OS Authenticationor this service...
    SNMP OFFe(s).
    Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/list
    ener.ora"WSS2D_XPT" has 1 instance(s).
    Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listen
    er_g3u0192c.log has 1 instance(s).
    Listening Endpoints Summary...ADY, has 2 handler(s) for this service...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=16.233.49.27)(PORT=1525)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=16.233.49.7)(PORT=1525)))..
    Service "WSS1D" has 1 instance(s).has 2 handler(s) for this service....og/listen
    Instance "WSS1D1", status READY, has 2 handler(s) for this service...
    Service "WSS1D_XPT" has 1 instance(s).s 2 handler(s) for this service...
    Instance "WSS1D1", status READY, has 2 handler(s) for this service....
    ========================================================
    Thanks for your help.

    if you are able to connect through sqlplus and not through application
    then there are couple of things that need to be look at :-
    1. Are there multiple oracle homes
    2. is TNS_ADMIN set
    3. from the command prompt c:\ or $ do
    telnet gvu0177.houston.hp.com 1525
    what is the output you are getting?

  • TNS-12500 & TNS-12560 on Oracle 9i - 9.2.0.1.0

    Hi,
    We have an old Oracle9i db server.
    One instance is called TEST. About two weeks ago, we started having problems with the test instance. It's been up and running smoothly for almost 10 years. No changes that I know of has been made.
    We get TNS-12500 & TNS-12560 amongst others in the listener.log when we try to connect to TEST.
    We frequently get this in the listener.log:
    21-MAR-2010 02:00:26 * service_died * TEST * 12537
    21-MAR-2010 02:00:36 * service_register * TEST * 0
    However, since the problem first occured, the "service_register" does not follow the "service_died" in the log file.
    tnsping works fine:
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = XXX)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = TEST)))
    OK (130 msek)
    lsnrctl status:
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 9.2.0.6.0 - Produc
    tion
    Startdatum 01-APR-2010 12:07:03
    Uppkopplad tid 4 dagar 23 tim. 3 min. 51 sek
    SpÕrningsnivÕ off
    Sõkerhet OFF
    SNMP OFF
    Avlyssnarens parameterfil C:\oracle\ora92\network\admin\listener.ora
    Avlyssnarens loggfil C:\oracle\ora92\network\log\listener.log
    Avlyssnar slutpunktssammanfattning...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=XXX)(PORT=
    1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=XXX)(PORT=
    8080))(Presentation=HTTP)(Session=RAW))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=XXX)(PORT=
    2100))(Presentation=FTP)(Session=RAW))
    Sammanfattning av tjõnster...
    Tjõnsten "OEMREP" har 2 instans(er).
    Instans "OEMREP", status UNKNOWN, har 1 handtag f÷r tjõnsten...
    Instans "OEMREP", status READY, har 1 handtag f÷r tjõnsten...
    Tjõnsten "OEMREPXDB" har 1 instans(er).
    Instans "OEMREP", status READY, har 1 handtag f÷r tjõnsten...
    Tjõnsten "PLSExtProc" har 1 instans(er).
    Instans "PLSExtProc", status UNKNOWN, har 1 handtag f÷r tjõnsten...
    Tjõnsten "PROD" har 2 instans(er).
    Instans "PROD", status UNKNOWN, har 1 handtag f÷r tjõnsten...
    Instans "PROD", status READY, har 1 handtag f÷r tjõnsten...
    Tjõnsten "TEST" har 1 instans(er).
    Instans "TEST", status UNKNOWN, har 1 handtag f÷r tjõnsten...
    (Sorry about the swedish)
    sqlnet.log:
    Fatal NI connect error 12500, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=XXX)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=test)(CID=(PROGRAM=C:\Program Files\Oracle\jre\1.1.8\bin\jrew.exe)(HOST=XXX)(USER=XXX))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 9.2.0.6.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 9.2.0.6.0 - Production
    Time: 06-APR-2010 10:14:16
    Tracing not turned on.
    Tns error struct:
    nr err code: 0
    ns main err code: 12564
    TNS-12564: TNS: anslutning nekad
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    The other instances on the server works fine.
    If I restart the server it works fine for a couple of days.
    Where should I begin?
    I'm not really into doing something that could interrupt the status of the production instance on the server before the weekend, but at the same time I would need the test instance up and running right now. I also would like to know what would happen if I was to restart the listener (we have one listener for all instances). Would all active connections to the production instance be affected?
    .

    Steener wrote:
    Hi,
    We have an old Oracle9i db server.
    One instance is called TEST. About two weeks ago, we started having problems with the test instance. It's been up and running smoothly for almost 10 years. No changes that I know of has been made.
    We get TNS-12500 & TNS-12560 amongst others in the listener.log when we try to connect to TEST.
    We frequently get this in the listener.log:
    21-MAR-2010 02:00:26 * service_died * TEST * 12537
    21-MAR-2010 02:00:36 * service_register * TEST * 0
    However, since the problem first occured, the "service_register" does not follow the "service_died" in the log file.
    tnsping works fine:
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = XXX)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = TEST)))
    OK (130 msek)
    <snip>
    In addition to the other comments you've received, please note that tnsping actually says nothing about the state of any db instance. It only goes so far as to verify there is a listener on the specified port at the specified host.
    Note the names of the services known by the listener:
    [oracle@vmlnx01 admin]$ lsnrlsnrctl status
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 06-APR-2010 12:40:46
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vmlnx01.vmdomain)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    Start Date                06-APR-2010 08:34:59
    Uptime                    0 days 4 hr. 5 min. 47 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /ora00/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File         /ora00/app/oracle/product/10.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vmlnx01.vmdomain)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vmlnx01.vmdomain)(PORT=1523)))
    Services Summary...
    Service "vlnxora1" has 1 instance(s).
      Instance "vlnxora1", status READY, has 1 handler(s) for this service...
    Service "vlnxora1XDB" has 1 instance(s).
      Instance "vlnxora1", status READY, has 1 handler(s) for this service...
    Service "vlnxora1_XPT" has 1 instance(s).
      Instance "vlnxora1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@vmlnx01 admin]$ cat tnsnames.oraNote the HOST, PORT and SERVICE names in my tnsnames.ora
    # tnsnames.ora Network Configuration File: $ORACLE_HOME/network/admin
    vlnxora1 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = vmlnx01.vmdomain)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = vlnxora1)
    #the listener doesn't know about fubar
    fubar =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = vmlnx01.vmdomain)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = fubar)
      )But see the successful tnsping
    [oracle@vmlnx01 admin]$ tnsping fubar
    TNS Ping Utility for Linux: Version 10.2.0.4.0 - Production on 06-APR-2010 12:41:08
    Copyright (c) 1997,  2007, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = vmlnx01.vmdomain)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = fubar)))
    OK (10 msec)
    [oracle@vmlnx01 admin]$

  • ORA-12564: TNS:connection refused

    C# code:
    private Oracle.DataAccess.Client.OracleConnection objConn;
    objConn.ConnectionString = "User Id=tst;Data Source=CZETEST;Password=1234;"
    objConn.Open();
    tnsnames.ora
    CZETEST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = XXX.NET)(PORT = 1621))
    (CONNECT_DATA =
    (SERVICE_NAME = XXX.CZ)
    I'm trying to connect to an Oracle 10g server.
    objConn.Open(); always ends with "ORA-12564: TNS:connection refused"
    I've even tried to let the connection build by ODT connection wizzard ('Test connection' button displays 'Connection was successfull', but when the code is run the result is unfortunately the same :(
    Anybody knows where the problem should be?

    This is often a malformed tnsnames.ora. Is what you posted a snippet, because it looks to me that you a closing ) too many. You can turn on tracing which should help you find the problem. It's odd that odt says the connection works, though.

  • Linux Error: 104: Connection reset by peer TNS-12547: TNS:lost contact

    My system seems to be hanged , so I restarted my RHEL 4 linux with ORACLE 10.2.0.4.
    but i can't able to start the listener.
    please help me out.
    [oracle@localhost log]$ lsnrctl start LISTENER_LIMCAMP
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 09:02:09
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Starting /ora10gsoft/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    System parameter file is /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log messages written to /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener_limcamp.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Linux Error: 104: Connection reset by peer

    [oracle@localhost admin]$ cat listener.ora
    # listener.ora Network Configuration File: /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER_LIMCAMP =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1521))
    CLONE =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1523))
    PROD1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1522))
    SID_LIST_CLONE =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /ora10gsoft/oracle/product/10.2.0/db_1)
    (SID_NAME = CLONE)
    SID_LIST_PROD1 =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /ora10gsoft/oracle/product/10.2.0/db_1)
    (SID_NAME = PROD1)
    SID_LIST_LISTENER_LIMCAMP =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /ora10gsoft/oracle/product/10.2.0/db_1)
    (SID_NAME = LIMCAMP)
    [oracle@localhost admin]$ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    DEV =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dev)
    LIMCAMP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = LIMCAMP)
    # tnsnames.ora Network Confi72uration File: /ora1072soft/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
    LISTENER_DEV =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1522))
    LIMCADEV =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = LIMCADEV)
    LIMCASP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.119.221)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = LIMCASP)
    TOCLONE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1523))
    (CONNECT_DATA =
    (SERVICE_NAME = CLONE)
    TOPROD1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1522))
    (CONNECT_DATA =
    (SERVICE_NAME = PROD1)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    [oracle@localhost admin]$ lsnrctl start
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 13:07:55
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Starting /ora10gsoft/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    System parameter file is /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log messages written to /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Linux Error: 104: Connection reset by peer
    [oracle@localhost admin]$ lsnrctl services
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 13:08:02
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 111: Connection refused
    [oracle@localhost admin]$ lsnrctl start LISTENER_LIMCAMP
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 13:08:13
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Starting /ora10gsoft/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    System parameter file is /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log messages written to /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener_limcamp.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.106.72)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.106.72)(PORT=1521)))
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Linux Error: 104: Connection reset by peer
    [oracle@localhost log]$ tail -100 listener.log
    TNSLSNR for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 13:00:22
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    System parameter file is /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log messages written to /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener.log
    Trace information written to /ora10gsoft/oracle/product/10.2.0/db_1/network/trace/listener.trc
    Trace level is currently 0
    Started with pid=6230
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1522)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    TNSLSNR for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 13:02:15
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    System parameter file is /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log messages written to /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener.log
    Trace information written to /ora10gsoft/oracle/product/10.2.0/db_1/network/trace/listener.trc
    Trace level is currently 0
    Started with pid=6295
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    TNSLSNR for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 13:07:55
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    System parameter file is /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log messages written to /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener.log
    Trace information written to /ora10gsoft/oracle/product/10.2.0/db_1/network/trace/listener.trc
    Trace level is currently 0
    Started with pid=6429
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    [oracle@localhost log]$ pwd
    /ora10gsoft/oracle/product/10.2.0/db_1/network/log
    Please find the above inputs.
    Regards,
    Sakthivel

  • TNS-12537: TNS:connection closed

    Hi,
    I have done system copy on AIX/oracle. On new server if start the listner. it starts normally. Oracle also starts normal. Then if i starts sap with sidadm, listner stops with following error. There is no error In listner.log file.
    orascp 11> lsnrctl status
    LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.2.0 - Production on 28-SEP-2008 12:11:15
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=SCP.WORLD))
    TNS-12537: TNS:connection closed
    TNS-12560: TNS:protocol adapter error
      TNS-00507: Connection closed
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=SCP))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       IBM/AIX RISC System/6000 Error: 79: Connection refused
    Connecting to (ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=sppprd)(PORT=1527))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       IBM/AIX RISC System/6000 Error: 79: Connection refused

    Hi Sanjay,
    check below notes
    Note 1182020
    Note 441518
    Regards
    Ashok

  • Ora-12203:TNS:unable to connect to destination

    Dear All
    Plz help me regarding this issue i got since many time and still i am unable to solve this problem properly
    problem is when i connect my form builder with oracle following error come and stop my working .
    ora-12203:TNS:unable to connect to destination
    i am using following oralce and form
    oracle 10.2.0.3.0 enterprise edition release
    form builder 6.0.8.11.3 32 bit
    and operating system is windows vista home premium 32 bit operating sytem.
    ash

    hi
    it should be something like this
    tnsnames.ora
    # tnsnames.ora Network Configuration File: d:\DevSuiteHome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
    )

  • Fatal NI connect error 12170 and TNS-12535: TNS:operation timed out

    We are getting intermittently following error.
    TNS for Solaris: Version 10.2.0.3.0 - Production
    Oracle Bequeath NT Protocol Adapter for Solaris: Version 10.2.0.3.0 - Production
    TCP/IP NT Protocol Adapter for Solaris: Version 10.2.0.3.0 - Production
    Time: 26-FEB-2008 07:17:25
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12606
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    sql net ora file
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    # NAMES.DEFAULT_DOMAIN = world
    SQLNET.EXPIRE_TIME = 10
    Out of 10,000 sucessful connections, some 10 connections are getting the 12170 and 12535 error. It is due to firewall connection time out ?
    Appreciate advanced help
    Prasad

    Hi ,
    Even I am facing similar issue. Please let me know if you have any resolutions for this

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

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

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

  • Not able to connect from linux client. Get TNS-12560: TNS:protocol adapter

    Hi,
    Details of the configuration :
    Server:
    RHEL4: 10.2.0.3 Oracle Enterprise Database installed.
    SID = orcl, port 1521.
    Client:
    RHEL4 : 10.2.0.x client installed.
    Whenever, I try to connect from Client to server, I get following error:
    For tnsping orcl I get following error :
    TNS-12560: TNS:protocol adapter error
    I get the same error even, If I do a sqlplus "scott/tiger@orcl" with TNS_ADMIN, ORACLE_HOME everything set correctly.
    On the server, I am able to connect to the same db without any problem. I have following env set ORACLE_HOME, TNS_ADMIN and PATH. Here, I am trying to make sure that the sqlplus goes through the listner.
    Any help is appreciated. Please let me know if you need more information.
    Thanks much.
    V.Chandrashekar

    Ensure your listener is properly configured and started. Check the listener's address and verify you can tnsping it with the tnsping command:
    tnsping orcl
    On the other side, make sure your tnsnames.ora file on the client side has properly configured the address where the listener is located.
    ~ Madrid

  • Report connection error ORA-12203 : TNS : unable to connect to destination

    hi
    when in open report and go to query builder then show me this error
    REP-0501 : Unable to connect to the specified database.
    ORA-12203 : TNS : unable to connect to destination
    how i connect report and form with oracle8i which two file in copy into developer folder
    please give he solution
    thanking your

    $ oerr ora 12203
    12203, 00000, "TNS:unable to connect to destination"
    // *Cause: Invalid address specified or destination is not listening.
    // This error can also occur because of underlying network or network
    // transport problems.
    // *Action: Verify that the net service name you entered was correct.
    // Verify that the ADDRESS portion of the connect descriptor which
    // corresponds to the net service name is correct.  Ensure that the
    // destination process (for example the listener) is running at the
    // remote node.
    $In Developer Home check that TNS alias in tnsnames.ora has no errors. Are you able to connect from Sql*Plus from Developer Home, using same alias ?
    Also check that the listener is running on DB machine.
    how i connect report and form with oracle8i which two file in copy into developer folder What does it mean exactly ?

  • Report connting error  (ORA-12203: TNS: unable to connect to destination)

    hi;
    when i open report and connect with oracle then not accept my id and password
    and show this error
    REP-0501 : Unable to connect to the specified database.
    ORA-12203: TNS: unable to connect to destination
    how i connect oracle with report and form which files i copy in developer folder
    please give me solution
    thanking you

    Hi!
    Does this happen when you are on another machine? Maybe there is a firewall present?
    When you are on the machine itself, can you connect?
    cu
    Andreas

  • Intermittent of error "ORA-12203: TNS:unable to connect to destination"

    Hi,
    One of my application (run 24 hours each day) face intermittent of error "ORA-12203: TNS:unable to connect to destination", any one face the same issue ? any solution for this ? The error may occur weekly, some time monthly, occur randomly.
    My Oracle is 8i. Application and 8i run on different SUN machines.
    Checked with my network engr and db admin, network traffic was not congested and db was not overloaded at the time of this error. CPU and memory also not overloaded.
    regards,
    johnvun98

    This error generally occurs when you listener at server is not working properly or at client you sqlnet.ora,tnsnames.ora (if using local names) file is not configured properly check both the files

  • Connectin error ORA-12203: TNS: unable to connect to destination

    hi;
    when i open report and connect with oracle then not accept my id and password
    and show this error
    REP-0501 : Unable to connect to the specified database.
    ORA-12203: TNS: unable to connect to destination
    how i connect oracle with report and form which files i copy in developer folder
    please give me solution
    thanking you

    You have to enter the database you want to connect to in the tnsnames.ora file.

  • ERROR ORA-12203: TNS: unable to connect to destination

    Hello All,
    I have installed Oracle 8i and forms 6i on my computer running on Windows NT 4.0 with service pack 4.0. The order of my installation was Oracle 8i and then Forms 6i. I have also used Net8 Easy Config to configure the tnsnames.ora file. I tested the connection on the Net8 Easy Config wizzard and I got the connection successful message. However I still get the ERROR ORA-12203: TNS: unable to connect to destination message when I tried to connect from forms 6i.
    I have below my tnsnames.ora file:
    # C:\FORMS6I\NET80\ADMIN\TNSNAMES.ORA Configuration File:C:\forms6i\net80\admin\tnsnames.ora
    # Generated by Oracle Net8 Assistant
    LISTENER1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = austin)(PORT = 1521))
    (CONNECT_DATA = (SID = SUN))
    Rep60_AUSTIN-Forms6i,Rep60_AUSTIN-Forms6i.world=(ADDRESS=(PROTOCOL=tcp)(HOST=AUSTIN)(PORT=1949))
    I have created database objects, but forms will not connect. What else should do?
    Thanks for your anticipated response.

    Hi
    Your oracle database and forms are installed on different oracle home so when you configurate your sql net that time you are configurating only your oracle database. So for form you must be having different oracle home. you cand change thid from start/oracle inatallation products/home selecter. so change our home and run the form. and if still having problem than check for tnsnames.ora file you must be having two files and both must be having right configuration.
    thanks

Maybe you are looking for

  • External Hard Drives - how to stop LR3.3 wanting to import.

    I have 3 external hard drives which I use for backing up pictures and other folders. Whenever I plug one of them in, LR opens the Import dialog, even though I have auto import switched off. It's not serious, but it is annoying! Can anyone tell me how

  • Sender file channel issue

    Hello All, Here I have a problem with sender file communication channel. THe channel is not able to pick a file as the file format is not correct andf throwing exception in the channel which is expected. But Its not allowing to go and pick the other

  • Outputting DVD Player to Television

    My home DVD player is dying slowly-about half of my collection no longer plays on it, but everything plays fine on my PowerBook. I was wondering if it's possible to plug my PB into my TV, and then output whatever is showing in DVD Player.app to the t

  • What is the SAP best practise

    we are planning for new co.code, does it suggestable of using existing document types for various  business processes like purchases, returns and stock transfers..etc or creating new document types. plz suggest the best practise

  • RemoteFX hardships

    I am trying to get RemoteFX working. The Hyper-V host server is an HP DL380 G6 server with Intel E5540 cpu's. I have already verified that Intel VT-x with EPT is supported on the CPU. http://ark.intel.com/products/37104/Intel-Xeon-Processor-E5540-%28