[freetds] Could not load localization information

Michael Eales m.eales at ims.telstra.com.au
Wed Aug 20 14:55:27 EDT 2003


I have just upgraded a working installation to freetds v0.61 but now get the
following error:

root at labncisw1[44] /opt/freetds/bin/tsql -S MIKE -U username -P password
locale is "C"
charset is "646"
Msg 16323, Level 10, State 0, Server MIKE, Line 0
Could not load localization information for character set 646 language
us_english

Msg 5555, Level 0, State 0, Server MIKE, Line 0
parse error at line 1

Segmentation Fault (core dumped)

The freetds.conf file is the same as is the locales.conf file

Any thoughts anybody ?

The trace log shows:
 root at labncisw1[45] cat /tmp/freetds.log
Starting log file for FreeTDS 0.61.2 with debug level 99.
2003-08-20 05:37:42.732386 iconv will convert client-side data to the ""
character set
2003-08-20 05:37:42.732836 Connecting addr xxx.xx.xx.xxx port 4100 with TDS
version 5.0
Sending packet @ 2003-08-20 05:37:42.733189
0000  02 00 02 00 00 00 00 00  6c 61 62 6e 63 69 73 77   |........ labncisw|
0010  31 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |1....... ........|
0020  00 00 00 00 00 00 09 xx  xx xx xx xx xx 00 00 00   |.......x xxxxx...|
0030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
0040  00 00 00 00 00 06 xx xx  xx xx xx xx 00 00 00 00   |......xx xxxx....|
0050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
0060  00 00 00 00 06 33 37 38  37 36 00 00 00 00 00 00   |.....378 76......|
0070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
0080  00 00 00 05 02 00 06 04  08 01 00 00 00 00 00 00   |........ ........|
0090  00 00 00 00 54 53 51 4c  00 00 00 00 00 00 00 00   |....TSQL ........|
00a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
00b0  00 00 04 4d 49 4b 45 00  00 00 00 00 00 00 00 00   |...MIKE. ........|
00c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
00d0  00 04 00 06 xx xx xx xx  xx xx 00 00 00 00 00 00   |....xxxx xx......|
00e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
00f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
0100  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
0110  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
0120  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
0130  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
0140  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
0150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
0160  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
0170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
0180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
0190  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
01a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
01b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
01c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
01d0  00 08 05 00 00 00 54 44  53 2d 4c 69 62 72 61 72   |......TD S-Librar|
01e0  0a 05 00 00 00 00 0c 10  75 73 5f 65 6e 67 6c 69   |........ us_engli|
01f0  73 68 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |sh...... ........|


Sending packet @ 2003-08-20 05:37:42.733759
0000  02 01 00 61 00 00 00 00  00 00 00 00 00 00 0a 00   |...a.... ........|
0010  00 00 00 00 00 00 00 00  00 00 00 00 00 36 34 36   |........ .....646|
0020  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |........ ........|
0030  00 00 00 00 00 00 00 00  00 00 00 03 01 35 31 32   |........ .....512|
0040  00 00 00 03 00 00 00 00  e2 00 16 01 09 00 00 06   |........ ........|
0050  6d 7f ff ff ff fe 02 09  00 00 00 00 0a 68 00 00   |m....... .....h..|
0060  00                                                 |.|


2003-08-20 05:37:42.733902 inside tds_process_login_tokens()
Received header @ 2003-08-20 05:37:42.735825
0000  0f 01 00 aa 00 00 01 00                            |........|


Received packet @ 2003-08-20 05:37:42.735885
0000  e5 00 66 00 00 3f c3 00  0a 00 00 00 00 00 52 43   |..f..?.. ......RC|
0010  6f 75 6c 64 20 6e 6f 74  20 6c 6f 61 64 20 6c 6f   |ould not  load lo|
0020  63 61 6c 69 7a 61 74 69  6f 6e 20 69 6e 66 6f 72   |calizati on infor|
0030  6d 61 74 69 6f 6e 20 66  6f 72 20 63 68 61 72 61   |mation f or chara|
0040  63 74 65 72 20 73 65 74  20 36 34 36 20 6c 61 6e   |cter set  646 lan|
0050  67 75 61 67 65 20 75 73  5f 65 6e 67 6c 69 73 68   |guage us _english|
0060  0a 04 4d 49 4b 45 00 00  00 ad 00 14 05 05 00 00   |..MIKE.. ........|
0070  00 0a 4f 70 65 6e 53 65  72 76 65 72 05 00 00 00   |..OpenSe rver....|
0080  e2 00 16 01 09 00 00 02  61 7f ff ff ff fe 02 09   |........ a.......|
0090  00 00 00 00 0a 68 00 00  00 fd 00 00 00 00 00 00   |.....h.. ........|
00a0  00 00                                              |..|


2003-08-20 05:37:42.736034 inside tds_process_default_tokens() marker is
e5(EED)
2003-08-20 05:37:42.736286 inside tds_process_default_tokens() marker is
e2(CAPABILITY)
2003-08-20 05:37:42.736317 inside tds_process_default_tokens() marker is
fd(DONE)
2003-08-20 05:37:42.736345 inside tds_process_end() more_results = 0,
was_cancelled = 0
2003-08-20 05:37:42.736371 inside tds_process_default_tokens() setting state
to COMPLETED
Sending packet @ 2003-08-20 05:37:42.736421
0000  0f 01 00 1b 00 00 00 00  21 00 00 00 0e 00 73 65   |........ !.....se|
0010  6c 65 63 74 20 40 40 73  70 69 64                  |lect @@s pid|


Received header @ 2003-08-20 05:37:42.737035
0000  0f 01 00 3e 00 00 01 00                            |...>....|


Received packet @ 2003-08-20 05:37:42.737092
0000  e5 00 2a 00 00 15 b3 00  00 00 00 00 00 00 16 70   |..*..... .......p|
0010  61 72 73 65 20 65 72 72  6f 72 20 61 74 20 6c 69   |arse err or at li|
0020  6e 65 20 31 0a 04 4d 49  4b 45 00 00 00 fd 00 10   |ne 1..MI KE......|
0030  00 02 00 00 00 00                                  |......|


2003-08-20 05:37:42.737158 processing result tokens.  marker is  e5(EED)
2003-08-20 05:37:42.737181 inside tds_process_default_tokens() marker is
e5(EED)
2003-08-20 05:37:42.737354 processing result tokens.  marker is  fd(DONE)
2003-08-20 05:37:42.737381 inside tds_process_end() more_results = 0,
was_cancelled = 0


Thanks
Michael Eales



More information about the FreeTDS mailing list