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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 376 views
  • 0 likes
  • 2 in conversation