ORA-12170: TNS:Connect timeout occurred


ORA-12170: TNS:Connect timeout occurred

点击(此处)折叠或打开

  1. ORA-12170: TNS:Connect timeout occurred
  2. Cause: The client failed to establish a connection and complete authentication in the time specified by the SQLNET.INBOUND_CONNECT_TIMEOUT parameter in the sqlnet.ora file. This error may be a result of network or system delays, or it may indicate that a malicious client is trying to cause a denial-of-service attack on the database server.
  3. See Also:
  4. \"Configuring the Listener and the Oracle Database To Limit Resource Consumption By Unauthorized Users\" further information about setting the SQLNET.INBOUND_CONNECT_TIMEOUT parameter
  5. Action: If the error occurred due to system or network delays that are normal for the particular environment, then perform these steps:
  6. Turn on tracing to determine where clients are timing out.
  7. See Also:
  8. \"Tracing Error Information for Oracle Net Services\"
  9. Reconfigure the SQLNET.INBOUND_CONNECT_TIMEOUT parameter in sqlnet.ora to a larger value.
  10. If you suspect a malicious client, then perform these steps:
  11. Locate the IP address of the client in the sqlnet.log file on the database server to identify the source.
  12. For example, the following sqlnet.log excerpt shows a client IP address of 10.10.150.35.
  13. Fatal NI connect error 12170.
  14. VERSION INFORMATION:
  15. TNS for Solaris: Version 10.1.0.2.0
  16. Oracle Bequeath NT Protocol Adapter for Solaris: Version 10.1.0.2.0
  17. TCP/IP NT Protocol Adapter for Solaris: Version 10.1.0.2.0
  18. Time: 03-JUL-2002 13:51:12
  19. Tracing to file: /ora/trace/svr_13279.trc
  20. Tns error struct:
  21. nr err code: 0
  22. ns main err code: 12637
  23. TNS-12637: Packet receive failed
  24. ns secondary err code: 12604
  25. nt main err code: 0
  26. nt secondary err code: 0
  27. nt OS err code: 0
  28. Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.150.35)(PORT=52996))
  29. Beware that an IP address can be forged.
  30. If the time out occurs before the IP address can be retrieved by the database server, then enable listener tracing to determine the client that made the request.
  31. See Also:
  32. Tracing Error Information for Oracle Net Services
  33. Restrict access to the client. For example, you can configure parameters for access rights in the sqlnet.ora file.
  34. See Also:
  35. \"Configuring Database Access Control\"
  36. TNS-12500/ORA-12500: TNS: listener failed to start a dedicated server process
  37. Cause: The listener failed to start the oracle program. Possible reasons include:
  38. The maximum number of processes allowed for a single user was exceeded
  39. The listener does not have execute permission on the oracle program
  40. The associated Windows service is not started
  41. In some cases, these errors can be caused by the same conditions which cause TNS-12549/ORA-12549, TNS-00519, TNS-12540/ORA-12540, TNS-00510, and TNS-12560/ORA-12560 errors.
  42. Action: Perform the appropriate action:
  43. Increase the number of processes by setting the PROCESSES parameter in the database initialization file to a larger value.
  44. Check the listener.log file for detailed error stack information.
  45. ORA-12514: TNS:listener does not currently know of service requested in connectdescriptor
  46. Cause: The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that has either not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
  47. Action: Perform these steps:
  48. Wait a moment and try to connect a second time.
  49. Check which services are currently known by the listener by executing the Listener Control utility STATUS or SERVICES command.

请使用浏览器的分享功能分享到微信等