|
| Hi,
i can help you?
I have installed:
- freetds-stable.tgz.gz
and
- DBD-Sybase-1.07.tar.gz
When i run my script, i have a problem into connection.
I have configured freetds whith this command:
../configure --prefix=/usr/local/freetds --with-tdsver=7.0
--enable-msdblib --enable-dbmfix --with-gnu-ld
make; make install
and DBD:Sybase with:
[CONFIG]
SYBASE=/usr/local/freetds
EXTRA_LIBS=-linsck
perl Makefile.PL; make; make install
The strange thing is that my script once it work and five it doesn't
work!
any ideas??
i have found into network (google etc..), but i haven't found nothing.
Any help would be greatly appreciated.
I'm getting the following error:
[log's freetds.log]
util.c:288:Starting log file for FreeTDS 0.64
on 2006-09-18 15:56:35 with debug flags 0x4fff.
iconv.c:195:names for ISO-8859-1: ISO-8859-1
iconv.c:195:names for UTF-8: UTF-8
iconv.c:195:names for UCS-2LE: UCS-2LE
iconv.c:195:names for UCS-2BE: UCS-2BE
iconv.c:361:iconv to convert client-side data to the "ISO-8859-1"
character set
iconv. c:514:tds_iconv_info
_init: converting "ISO-8859-1"->"UCS-2LE"
iconv. c:514:tds_iconv_info
_init: converting "ISO-8859-1"->"UCS-2LE"
net.c:168:Connecting to 192.168.XX.XX port 1433.
net.c:256:connect error: Connection refused
util.c:119:Changing query state from IDLE to DEAD
ct. c:333:ct_con_props()
action = CS_GET property = 9108
ct.c:475:fetching userdata 0xa194e48
token. c:2252:tds_client_ms
g: #20009: "Server is unavailable or does not
exist.". Connection state is now 4.
mem. c:519:tds_free_all_r
esults()
ct.c:587:leaving ct_connect() returning 0
ct. c:1834:ct_con_drop()
[log's apache]
[Mon Sep 18 15:46:24 2006] [error] [client 10.139.245.248] DBI
connect('database=MY
DB;host=192.168.xx. xx;port=1433','user'
,...)
failed: OpenClient message: LAYER = (0) ORIGIN = (0) SEVERITY = (78)
NUMBER = (41)
[Mon Sep 18 15:46:24 2006] [error] [client 10.139.245.248] Server ,
database
[Mon Sep 18 15:46:24 2006] [error] [client 10.139.245.248] Message
String: Server is unavailable or does not exist.
[Mon Sep 18 15:46:24 2006] [error] [client 10.139.245.248] at
/usr/local/apache2/cgi-bin/AccDB.pm line 13
|
|