Ora-12535 error message

Posted on 2006-11-03
Medium Priority
Last Modified: 2012-08-13
I am getting and ora-12535 error message while I trying to connect to or server out side the  our domain  we tried to ping the machine and was  successful  but we tried tnsping  is give me the same error message listed above.
Question by:Perveen
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1
LVL 35

Accepted Solution

Raynard7 earned 336 total points
ID: 17870964

This error is ORA-12535:    TNS:operation timed out

Which means effectivley what it says, the requested operation could not be completed within the time out period.
If you read the SQLNET.LOG it should show you what errors were occuring on the server if they were not mentioned in the error message.  If you enable tracing you may also get more information.

This seems to be a server error and you will need to go there to find the cause of the problem.

Assisted Solution

Tayger earned 332 total points
ID: 17875236
Look at the documentation on the secondary errors for possible remedy. See SQLNET.LOG to find secondary error if not provided explicitly. Turn on tracing to gather more information.

If the ping is working fine then possibile causes are ip address conflicts, virtual ip addresses that can be resolved anymore, failed cluster groups or veritas cluster packages, DNS outages, ...

The best way to solve this timeout is to look for any network issues.

Author Comment

ID: 17881250
Hi RayNard7 and Tayger,
Thank you for your quick response.
I have checked on sqlnet.log and the error message I am getting is below.

Fatal NI connect error 12638, connecting to:

      TNS for 32-bit Windows: Version - Production
      Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version - Production
  Time: 02-NOV-2006 12:05:22
  Tracing not turned on.
  Tns error struct:
    ns main err code: 12638
    TNS-12638: Credential retrieval failed
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0

I am pretty new in the oracle please advice.
Any help will be appreciate
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.


Assisted Solution

btutt earned 332 total points
ID: 17881740
Remember that if you are outside the domain it is possible that some ports are being blocked. Although normally Oracle will communicate on port 1521 (1526 also) there is a dynamic choosing of the port to initially connect on via the oracle engine, essentially a "handshake" that occurs on any number of WellKnown Ports, and then communication is finally initiated on port 1521.


Expert Comment

ID: 17884553
Was thinking abou tthe same. Any firewall up blocking Oracle services in background?

Expert Comment

ID: 17884671
It is possible to force the Oracle engine to communicate strictly on port 1521. Look at Note:124140.1 and
http://oracle.ukrsat.com/faq1.txt to verify this.

Of course, this would assume that your instance is running on a Windows machine.

LVL 35

Expert Comment

ID: 18040869
I'd suggest a split RayNard7 and Tayger,

Featured Post

Technology Partners: 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

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

771 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