I can connect with isql to the database but as soon as I run a query I get a 
segmentation fault error in isql.

When using  Apache with php_mod I also get a segmentation fault error (using Redhat 9):

[Mon Mar 22 22:19:47 2004] [notice] child pid 23458 exit signal Segmentation fault (11)
[Mon Mar 22 22:19:47 2004] [notice] child pid 23457 exit signal Segmentation fault (11)
[Mon Mar 22 22:19:48 2004] [notice] child pid 23459 exit signal Segmentation fault (11)

My odbcinst.ini looks like this:

[ODBC]
Trace=no
Tracefile=/tmp/sql.log
Forcetrace=no
Pooling=yes

[MaxDB]
Description=MaxDB
Driver=/opt/sdb/programs/lib/libsqlod.so
Setup=/usr/lib/libsapdbS.so.1.0.0
Fileusage=1

odbc.ini:

[GC]
Description=MaxDB
Driver=MaxDB
ServerNode=localhost
ServerDB=GC
DSN=localhost:GC

I have odbc.ini all over the place (/etc/odbc.ini, /home/apache/.odbc.ini, 
/etc/php.d/odbc.ini)
The problem is in 'Driver=/opt/sdb/programs/lib/libsqlod.so', since removing this line 
prevents the server from crashing, but also makes MaxDB inaccessible...

Any ideas? I saw others having similar problems, but none of the solutions in the 
archives worked for me...

-Zavier

Reply via email to