BookmarkSubscribeRSS Feed
raxit143
Calcite | Level 5

Hello Mates,

 

I am getting attached error in DI job in oracle libname statement. Sometimes the job runs successfully but most of the times we are getting connection timeout.

 

The problem is at the same time - Oracle database in running fine and we can connect through toad.

 

What can be the possible cause and solution ?

 

Regards,

Rak**bleep** Shah

1 REPLY 1
ChrisLysholm
SAS Employee

Hello,

 

The ORA-12170 error can occur for a number of reasons such as database down, listener down, bad sqlnet.ora parameter, network issues and firewall issues among others.

 

Please see: http://www.dba-oracle.com/t_ora_12170_tns_connect_timeout.htm

 

If the error occurred because of a slow network or system, reconfigure one or all of the parameters SQLNET.INBOUND_CONNECT_TIMEOUT, SQLNET.SEND_TIMEOUT, SQLNET.RECV_TIMEOUT in sqlnet.ora to larger values.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 764 views
  • 0 likes
  • 2 in conversation