freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Stephan Jakoubek <stephan AT jakoubek.de>
- To: freetds AT lists.ibiblio.org
- Cc: sj AT fww.de
- Subject: [freetds] tdspool: Segmentation fault on connect
- Date: Thu, 05 Jun 2003 23:19:22 +0200
Hi,
I've got the following problem when trying to use tdspool for
connection pooling:
1) I set up the 'real' SQL Server and the 'local/virtual' Server
in the freetds.conf:
-- freetds.conf --
[MSSSQLCT2]
host = <ip>
port = 1433
tds version = 4.2
[localPool]
host = 127.0.0.1
port = 1433
tds version = 4.2
2) I set up the Pool in the pool.conf:
-- pool.conf --
[global]
min pool conn = 5
max pool conn = 5
max member age = 120
[myPool]
user = <user>
password = <pass>
database = <db>
server = MSSSQLCT2
port = 1433
--------------
3) I start up tdspool
$: /usr/local/freetds-0.61/bin/tdspool myPool
which works (i can see it's connections on the SQL-Server)
Now, when i try to connect to the pool (either by using PHP on the
same machine, or by Query Analyzer from a Windows machine) tdspool
segfaults:
--
Found conf file in /usr/local/freetds-0.61/etc/pool.conf reading
sections
Listening on port 1433
waiting for a connect
accepting connection
waiting for a connect
<trying to connect>
Segmentation fault
--
$SYBASE and $TDSVER are correctly set. Freetds-Version is 0.61.
Any ideas? Thank you all for your help,
Greetings,
-Stephan.
- [freetds] tdspool: Segmentation fault on connect, Stephan Jakoubek, 06/05/2003
Archive powered by MHonArc 2.6.24.