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

Posted on 2004-12-01
Medium Priority
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
  • 2

Expert Comment

ID: 12720742
any networking problems ?
Cab you ping the database server while this happens ?

Expert Comment

ID: 12724319


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>



Author Comment

ID: 12724630

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.

Accepted Solution

makhan earned 165 total points
ID: 12725686
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
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
This video shows how to recover a database from a user managed backup
Suggested Courses
Course of the Month17 days, 6 hours left to enroll

864 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