![]() | |
![]() |
| | Thread Tools | Display Modes |
#41
| |||
| |||
|
|
Hello, More info: [odbc.ini] [dsn_test] ServerName = server_name DatabaseName = mydb UserId = dba Password = sql CommLinks = tcpip(host=192.168.1.37;port=2638) Driver = AdaptiveServer9 [odbcinst.ini] [AdaptiveServer9] Description = Aprasas Driver = /opt/sybase/SYBSsa9/lib/libdbodbc9.so Setup = /opt/sybase/SYBSsa9/lib/libdbodbc9.so FileUsage = 1 CPTimeout = CPReuse = Paulius Jonikas |
#42
| |||
| |||
|
|
Thanks for your reply Ray, I used standard CentOS 4.5 unixODBC package 2.2.11. I have compiled 2.2.14 from souces, but I don`t know if the constant was SQL_WCHART_CONVERT defined. Where i can check this? Now I have tried to use Sybase ASA 9.0.1 odbc driver to connect ASA 10.0.1 network server (I have tried connect to ASA 10 with ASA 9 ODBC driver on Windows - everything worked correctly). But on linux (CentOS 4.5/CentOS 5.2) i had a problem - everything works correctly using ISQL. I can connect to DB and make some queries. But when I try to use unixODBC with PHP 5.1.6-20 and httpd-2.2.3-11 on CentOS 5.2 I get an error into httpd error log - SEGMENTATION FAULT. My PHP script: $odbc_link = odbc_connect('dsn_test', 'dba', 'sql'); I have set these variables in httpd.conf: SetEnv ODBCINI=/etc/odbc.ini SetEnv ODBCSYSINI=/etc Sybase ASA 9 variables from file /opt/sybase/SYBSsa9/bin/asa_config.sh are set in file /etc/profile Paulius On 8 Gruo, 22:28, Ray Ruvinskiy <first.l... (AT) sybase (DOT) com> wrote: Hi Paulius, Did you compile unixODBC yourself? Do you know if SQL_WCHART_CONVERT was defined in your build? Ray |
#43
| |||
| |||
|
|
Thanks for your reply Ray, I used standard CentOS 4.5 unixODBC package 2.2.11. I have compiled 2.2.14 from souces, but I don`t know if the constant was SQL_WCHART_CONVERT defined. Where i can check this? Now I have tried to use Sybase ASA 9.0.1 odbc driver to connect ASA 10.0.1 network server (I have tried connect to ASA 10 with ASA 9 ODBC driver on Windows - everything worked correctly). But on linux (CentOS 4.5/CentOS 5.2) i had a problem - everything works correctly using ISQL. I can connect to DB and make some queries. But when I try to use unixODBC with PHP 5.1.6-20 and httpd-2.2.3-11 on CentOS 5.2 I get an error into httpd error log - SEGMENTATION FAULT. My PHP script: $odbc_link = odbc_connect('dsn_test', 'dba', 'sql'); I have set these variables in httpd.conf: SetEnv ODBCINI=/etc/odbc.ini SetEnv ODBCSYSINI=/etc Sybase ASA 9 variables from file /opt/sybase/SYBSsa9/bin/asa_config.sh are set in file /etc/profile Paulius On 8 Gruo, 22:28, Ray Ruvinskiy <first.l... (AT) sybase (DOT) com> wrote: Hi Paulius, Did you compile unixODBC yourself? Do you know if SQL_WCHART_CONVERT was defined in your build? Ray |
#44
| |||
| |||
|
|
Thanks for your reply Ray, I used standard CentOS 4.5 unixODBC package 2.2.11. I have compiled 2.2.14 from souces, but I don`t know if the constant was SQL_WCHART_CONVERT defined. Where i can check this? Now I have tried to use Sybase ASA 9.0.1 odbc driver to connect ASA 10.0.1 network server (I have tried connect to ASA 10 with ASA 9 ODBC driver on Windows - everything worked correctly). But on linux (CentOS 4.5/CentOS 5.2) i had a problem - everything works correctly using ISQL. I can connect to DB and make some queries. But when I try to use unixODBC with PHP 5.1.6-20 and httpd-2.2.3-11 on CentOS 5.2 I get an error into httpd error log - SEGMENTATION FAULT. My PHP script: $odbc_link = odbc_connect('dsn_test', 'dba', 'sql'); I have set these variables in httpd.conf: SetEnv ODBCINI=/etc/odbc.ini SetEnv ODBCSYSINI=/etc Sybase ASA 9 variables from file /opt/sybase/SYBSsa9/bin/asa_config.sh are set in file /etc/profile Paulius On 8 Gruo, 22:28, Ray Ruvinskiy <first.l... (AT) sybase (DOT) com> wrote: Hi Paulius, Did you compile unixODBC yourself? Do you know if SQL_WCHART_CONVERT was defined in your build? Ray |
#45
| |||
| |||
|
|
Thanks for your reply Ray, I used standard CentOS 4.5 unixODBC package 2.2.11. I have compiled 2.2.14 from souces, but I don`t know if the constant was SQL_WCHART_CONVERT defined. Where i can check this? Now I have tried to use Sybase ASA 9.0.1 odbc driver to connect ASA 10.0.1 network server (I have tried connect to ASA 10 with ASA 9 ODBC driver on Windows - everything worked correctly). But on linux (CentOS 4.5/CentOS 5.2) i had a problem - everything works correctly using ISQL. I can connect to DB and make some queries. But when I try to use unixODBC with PHP 5.1.6-20 and httpd-2.2.3-11 on CentOS 5.2 I get an error into httpd error log - SEGMENTATION FAULT. My PHP script: $odbc_link = odbc_connect('dsn_test', 'dba', 'sql'); I have set these variables in httpd.conf: SetEnv ODBCINI=/etc/odbc.ini SetEnv ODBCSYSINI=/etc Sybase ASA 9 variables from file /opt/sybase/SYBSsa9/bin/asa_config.sh are set in file /etc/profile Paulius On 8 Gruo, 22:28, Ray Ruvinskiy <first.l... (AT) sybase (DOT) com> wrote: Hi Paulius, Did you compile unixODBC yourself? Do you know if SQL_WCHART_CONVERT was defined in your build? Ray |
#46
| |||
| |||
|
|
Thanks for your reply Ray, I used standard CentOS 4.5 unixODBC package 2.2.11. I have compiled 2.2.14 from souces, but I don`t know if the constant was SQL_WCHART_CONVERT defined. Where i can check this? Now I have tried to use Sybase ASA 9.0.1 odbc driver to connect ASA 10.0.1 network server (I have tried connect to ASA 10 with ASA 9 ODBC driver on Windows - everything worked correctly). But on linux (CentOS 4.5/CentOS 5.2) i had a problem - everything works correctly using ISQL. I can connect to DB and make some queries. But when I try to use unixODBC with PHP 5.1.6-20 and httpd-2.2.3-11 on CentOS 5.2 I get an error into httpd error log - SEGMENTATION FAULT. My PHP script: $odbc_link = odbc_connect('dsn_test', 'dba', 'sql'); I have set these variables in httpd.conf: SetEnv ODBCINI=/etc/odbc.ini SetEnv ODBCSYSINI=/etc Sybase ASA 9 variables from file /opt/sybase/SYBSsa9/bin/asa_config.sh are set in file /etc/profile Paulius On 8 Gruo, 22:28, Ray Ruvinskiy <first.l... (AT) sybase (DOT) com> wrote: Hi Paulius, Did you compile unixODBC yourself? Do you know if SQL_WCHART_CONVERT was defined in your build? Ray |
#47
| |||
| |||
|
|
Thanks for your reply Ray, I used standard CentOS 4.5 unixODBC package 2.2.11. I have compiled 2.2.14 from souces, but I don`t know if the constant was SQL_WCHART_CONVERT defined. Where i can check this? Now I have tried to use Sybase ASA 9.0.1 odbc driver to connect ASA 10.0.1 network server (I have tried connect to ASA 10 with ASA 9 ODBC driver on Windows - everything worked correctly). But on linux (CentOS 4.5/CentOS 5.2) i had a problem - everything works correctly using ISQL. I can connect to DB and make some queries. But when I try to use unixODBC with PHP 5.1.6-20 and httpd-2.2.3-11 on CentOS 5.2 I get an error into httpd error log - SEGMENTATION FAULT. My PHP script: $odbc_link = odbc_connect('dsn_test', 'dba', 'sql'); I have set these variables in httpd.conf: SetEnv ODBCINI=/etc/odbc.ini SetEnv ODBCSYSINI=/etc Sybase ASA 9 variables from file /opt/sybase/SYBSsa9/bin/asa_config.sh are set in file /etc/profile Paulius On 8 Gruo, 22:28, Ray Ruvinskiy <first.l... (AT) sybase (DOT) com> wrote: Hi Paulius, Did you compile unixODBC yourself? Do you know if SQL_WCHART_CONVERT was defined in your build? Ray |
#48
| |||
| |||
|
|
Thanks for your reply Ray, I used standard CentOS 4.5 unixODBC package 2.2.11. I have compiled 2.2.14 from souces, but I don`t know if the constant was SQL_WCHART_CONVERT defined. Where i can check this? Now I have tried to use Sybase ASA 9.0.1 odbc driver to connect ASA 10.0.1 network server (I have tried connect to ASA 10 with ASA 9 ODBC driver on Windows - everything worked correctly). But on linux (CentOS 4.5/CentOS 5.2) i had a problem - everything works correctly using ISQL. I can connect to DB and make some queries. But when I try to use unixODBC with PHP 5.1.6-20 and httpd-2.2.3-11 on CentOS 5.2 I get an error into httpd error log - SEGMENTATION FAULT. My PHP script: $odbc_link = odbc_connect('dsn_test', 'dba', 'sql'); I have set these variables in httpd.conf: SetEnv ODBCINI=/etc/odbc.ini SetEnv ODBCSYSINI=/etc Sybase ASA 9 variables from file /opt/sybase/SYBSsa9/bin/asa_config.sh are set in file /etc/profile Paulius On 8 Gruo, 22:28, Ray Ruvinskiy <first.l... (AT) sybase (DOT) com> wrote: Hi Paulius, Did you compile unixODBC yourself? Do you know if SQL_WCHART_CONVERT was defined in your build? Ray |
#49
| |||
| |||
|
|
Thanks for your reply Ray, I used standard CentOS 4.5 unixODBC package 2.2.11. I have compiled 2.2.14 from souces, but I don`t know if the constant was SQL_WCHART_CONVERT defined. Where i can check this? Now I have tried to use Sybase ASA 9.0.1 odbc driver to connect ASA 10.0.1 network server (I have tried connect to ASA 10 with ASA 9 ODBC driver on Windows - everything worked correctly). But on linux (CentOS 4.5/CentOS 5.2) i had a problem - everything works correctly using ISQL. I can connect to DB and make some queries. But when I try to use unixODBC with PHP 5.1.6-20 and httpd-2.2.3-11 on CentOS 5.2 I get an error into httpd error log - SEGMENTATION FAULT. My PHP script: $odbc_link = odbc_connect('dsn_test', 'dba', 'sql'); I have set these variables in httpd.conf: SetEnv ODBCINI=/etc/odbc.ini SetEnv ODBCSYSINI=/etc Sybase ASA 9 variables from file /opt/sybase/SYBSsa9/bin/asa_config.sh are set in file /etc/profile Paulius On 8 Gruo, 22:28, Ray Ruvinskiy <first.l... (AT) sybase (DOT) com> wrote: Hi Paulius, Did you compile unixODBC yourself? Do you know if SQL_WCHART_CONVERT was defined in your build? Ray |
#50
| |||
| |||
|
|
Thanks for your reply Ray, I used standard CentOS 4.5 unixODBC package 2.2.11. I have compiled 2.2.14 from souces, but I don`t know if the constant was SQL_WCHART_CONVERT defined. Where i can check this? Now I have tried to use Sybase ASA 9.0.1 odbc driver to connect ASA 10.0.1 network server (I have tried connect to ASA 10 with ASA 9 ODBC driver on Windows - everything worked correctly). But on linux (CentOS 4.5/CentOS 5.2) i had a problem - everything works correctly using ISQL. I can connect to DB and make some queries. But when I try to use unixODBC with PHP 5.1.6-20 and httpd-2.2.3-11 on CentOS 5.2 I get an error into httpd error log - SEGMENTATION FAULT. My PHP script: $odbc_link = odbc_connect('dsn_test', 'dba', 'sql'); I have set these variables in httpd.conf: SetEnv ODBCINI=/etc/odbc.ini SetEnv ODBCSYSINI=/etc Sybase ASA 9 variables from file /opt/sybase/SYBSsa9/bin/asa_config.sh are set in file /etc/profile Paulius On 8 Gruo, 22:28, Ray Ruvinskiy <first.l... (AT) sybase (DOT) com> wrote: Hi Paulius, Did you compile unixODBC yourself? Do you know if SQL_WCHART_CONVERT was defined in your build? Ray |
![]() |
| Thread Tools | |
| Display Modes | |
| |