[freetds] FreeTDS problem

Victor Gamov vit at lipetsk.ru
Wed Apr 9 09:06:18 EDT 2003


I have problem with FreeTDS-0.60 and DBD-Sybase-1.91 on FreeBSD box.
Sometimes connection us dead (network or other problem) and I see the 
following message in freetds dump file:

TDS: Write failed in tds_write_packet
Error: 9 (Bad file descriptor)
2003-04-09 16:34:29.914383 inside ct_con_props() action = CS_GET 
property = 13
2003-04-09 16:34:29.914407 fetching userdata 140690736
2003-04-09 16:34:29.914475 ct_send() succeeded
2003-04-09 16:34:29.914500 inside ct_results()
2003-04-09 16:34:29.914521 processing result tokens.  marker is  0
2003-04-09 16:34:29.914544 inside tds_process_default_tokens() marker is 0
2003-04-09 16:34:29.914565 leaving tds_process_default_tokens() 
connection dead
2003-04-09 16:34:29.914640 inside ct_cmd_drop()
2003-04-09 16:35:29.923092 inside ct_cmd_alloc()
2003-04-09 16:35:29.923168 inside ct_command()
2003-04-09 16:35:29.923194 inside ct_send()
2003-04-09 16:35:29.923226 ct_send() succeeded

and so on. But I cann't catch this error in my Perl program even if I 
connect with {RaiseError=>1, PrintError=>1}

Any suggestions?

Thanks!





More information about the FreeTDS mailing list