Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3510

unixODBC driver connection timeout

$
0
0

Hello,

 

Since I'm programming a Perl script to monitor the SAP HANA database, I'm experiencing problems with the connection timeout. I don't know how to set the timeout.


I don't find the way to change the timeout, it hangs, and after 63 seconds shows the following message: [unixODBC][SAP AG][LIBODBCHDB SO][HDBODBC] Communication link failure;-10709 Connection failed (RTE:[89006] System call 'connect' failed, rc=110:Expiró el tiempo de conexión) (SQL-08S01)


This is my dsn configured on etc/odbc.ini:


[TIMEOUTTEST]

Driver=/usr/sap/hdbclient/libodbcHDB.so

ServerNode=100.251.30.10:30015

DMConnAttr = SQL_ATTR_CONNECTION_TIMEOUT = 10

 

I'm pretty sure the issue has to be with unixODBC and not with the ODBC module of Perl. But, I don't understand why unixODBC doesn't recognize the parameter SQL_ATT_CONNECTION_TIMEOUT. Why does it always take 60-63 seconds? Where is that value set?

 

¿Could anyone help me?


Viewing all articles
Browse latest Browse all 3510

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>