SQLNET.LOG reporting "Fatal NI connect error 12560" error

Posted on 2004-12-01
Last Modified: 2008-01-09
I am getting the following errors intermitently reported in the SQLNET.log file,

Fatal NI connect error 12560, connecting to:

        TNS for IBM/AIX RISC System/6000: Version - Production
        TCP/IP NT Protocol Adapter for IBM/AIX RISC System/6000: Version - Production
  Time: 01-DEC-2004 16:24:23
  Tracing not turned on.
  Tns error struct:
    nr err code: 0
    ns main err code: 12560
    TNS-12547: TNS:lost contact
    ns secondary err code: 12560
    nt main err code: 517
    TNS-00517: Lost contact
    nt secondary err code: 32
    TNS-12560: TNS:protocol adapter error
    ns secondary err code: 0
    nt main err code: 530
    TNS-00530: Protocol adapter error
    nt secondary err code: 73
    nt OS err code: 0

An application that's running is trying to connect via SQL*PLUS and is failing to do so after three attempts.  Has anyone experienced this problem before?  Oracle think that it is a file sharing problem based on the nt secondary err ocde: 32 message.  I'm running on AIX 5.2, DB is
Question by:DLyall
    LVL 5

    Expert Comment

    any networking problems ?
    Cab you ping the database server while this happens ?
    LVL 6

    Expert Comment



    This seems to be a batch job of some kind?

    What is the time during which u get this error.

    Verify if u have any cron jobs scheduled at this time. If yes also verify that ur database or listener is running (accepting connections) at this time.

    Check with
    tnsping <database>


    LVL 6

    Author Comment


    The scenario in which this problem occurs is as follows,

    I issue a request that results in about a two hundred individual jobs being queued on our scheduler.  Each job extracts data for a particular user and runs identically except that the parameters to each one will be slightly different (i.e. user id).  There may be 2 or three jobs that fail with the error I have shown above out of the two hundred.  Jobs are run in parallel (which is configurable 1 to nn), but normally up to 2 at a time, and I have observed that the more jobs that are run in parallel, the more that fail.  When jobs are run one at a time, the problem occurs much less frequently.
    LVL 6

    Accepted Solution

    Some more thoughts

    1. there may be limitation of how much connections one listener handles.
    2. How your database is configured ( Parallel Server or Multi Threaded).

    You can try out this...

    Configure listener to listen on additional ports 1526 along with 1521 and then check out if it goes.

    Also change the db configuration if possible.


    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    Join & Write a Comment

    Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
    Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
    This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now