[Freeswitch-users] Problem connecting to Spidermonkey ODBC

Adam Wilt wiltingtree at gmail.com
Sat Oct 17 17:13:59 PDT 2009


Hi, I know there are a lot of answered questions about this already, but I
think I read all of the answers and I'm still stuck.
* I'm using FreeSWITCH Version 1.0.trunk (14961).
* I installed UnixODBC
* My odbc.ini and odbcinst.ini files are in /usr/local/etc/
* I have symlinks to /usr/local/etc from /usr/etc and from
/usr/local/freeswitch/etc/
* Im running freeswitch as root, and I copied odbc.ini to /root/.odbc.ini
* I have mod_spidermonkey_odbc uncommented in spidermonkey.conf.xml
* When I run "isql dbname" from the command prompt it works fine.

But when I try to run my script, I get:

2009-10-17 23:56:21.848930 [ERR] switch_odbc.c:188 STATE: IM002 CODE 0
ERROR: [unixODBC][Driver Manager]Data source name not found, and no default
driver specified

2009-10-17 23:56:21.848930 [ERR] mod_spidermonkey_odbc.c:245 Database is not
connected!


Please help!
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091017/9a45bf87/attachment-0002.html 


More information about the FreeSWITCH-users mailing list