Re: Unable to connect: Adaptive Server is unavailable or does not exist

Chris Adams <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <0B03FE68E0E760478D413F045B39A02822AAB7@OSLEXCHANGE.osl.state.or.us.local>
I ran it again using port 1433 and here is the log:

log.c:190:Starting log file for FreeTDS 0.82
   on 2010-06-09 10:25:47 with debug flags 0x4fff.
iconv.c:197:names for ISO-8859-1: ISO-8859-1
iconv.c:197:names for UTF-8: UTF-8
iconv.c:197:names for UCS-2LE: UCS-2LE
iconv.c:197:names for UCS-2BE: UCS-2BE
iconv.c:363:iconv to convert client-side data to the "UTF-8" character set
iconv.c:516:tds_iconv_info_init: converting "UTF-8"->"UCS-2LE"
iconv.c:516:tds_iconv_info_init: converting "ISO-8859-1"->"UCS-2LE"
net.c:210:Connecting to 159.121.122.6 port 1433 (TDS version 8.0)
net.c:264:tds_open_socket: connect(2) returned "Operation now in progress"
net.c:303:tds_open_socket() succeeded
util.c:162:Changed query state from DEAD to IDLE
login.c:735:quietly sending TDS 7+ login packet
token.c:312:tds_process_login_tokens()
net.c:592:Received header
0000 04 01 00 6e 00 3a 01 00-                        |...n.:..|

net.c:671:Received packet
0000 aa 5a 00 18 48 00 00 01-0e 24 00 4c 00 6f 00 67 |.Z..H... .$.L.o.g|
0010 00 69 00 6e 00 20 00 66-00 61 00 69 00 6c 00 65 |.i.n. .f .a.i.l.e|
0020 00 64 00 20 00 66 00 6f-00 72 00 20 00 75 00 73 |.d. .f.o .r. .u.s|
0030 00 65 00 72 00 20 00 27-00 75 00 6e 00 69 00 78 |.e.r. .' .u.n.i.x|
0040 00 63 00 6f 00 6e 00 6e-00 65 00 63 00 74 00 27 |.c.o.n.n .e.c.t.'|
0050 00 2e 00 03 43 00 55 00-4c 00 00 01 00 fd 02 00 |....C.U. L.......|
0060 00 00 00 00 00 00      -                        |......|

token.c:316:looking for login token, got  aa(ERROR)
token.c:108:tds_process_default_tokens() marker is aa(ERROR)
token.c:2451:tds_process_msg() reading message from server
token.c:2516:tds_process_msg() calling client msg handler
token.c:2529:tds_process_msg() returning TDS_SUCCEED
token.c:316:looking for login token, got  fd(DONE)
token.c:108:tds_process_default_tokens() marker is fd(DONE)
token.c:2201:tds_process_end: more_results = 0
      was_cancelled = 0
      error = 1
      done_count_valid = 0
token.c:2217:tds_process_end() state set to TDS_IDLE
token.c:2232:                rows_affected = 0
token.c:393:leaving tds_process_login_tokens() returning 0
util.c:162:Changed query state from IDLE to DEAD
util.c:334:tdserror(0x8bfc0a8, 0x8bfca60, 20002, 0)
util.c:368:tdserror: client library returned TDS_INT_CANCEL(2)
util.c:389:tdserror: returning TDS_INT_CANCEL(2)
mem.c:563:tds_free_all_results()
~


> -----Original Message-----
> From: [email protected] [mailto:freetds-
> [email protected]] On Behalf Of Daniel Fazekas
> Sent: Wednesday, June 09, 2010 9:32 AM
> To: FreeTDS Development Group
> Subject: Re: [freetds] Unable to connect: Adaptive Server is
> unavailable or does not exist
> 
> On Jun 9, 2010, at 18:27, Chris Adams wrote:
> 
> > I do believe that this indicates a successful telnet connection via
> port 1433. Is that correct. If so, what do I need to do next to get
> freetds talking to this server?
> 
> Use the same port? :)
> Are you really sure you are asking FreeTDS to connect to the same port
> 1433?
> 
> Because your log said otherwise:
> >>> net.c:210:Connecting to 159.121.122.6 port 1443 (TDS version 8.0)
> 
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.