[Freeswitch-users] Error loading ODBC

Michael Jerris mike at jerris.com
Mon Sep 29 03:31:56 EDT 2008


On Sep 29, 2008, at 3:14 AM, preetha Ayyappan wrote:

> Thanks.I have uncommented the line yoy specified and run the program  
> sample.js from the freeswitch console.It shows the following error:
> freeswitch at localhost> 2008-09-29 18:13:03 [ERR] switch_odbc.c:160  
> switch_odbc_handle_connect() STATE: IM002 CODE 0 ERROR: [unixODBC] 
> [Driver Manager]Data source name not found, and no default driver  
> specified

The error above is from odbc your specifying a data source that is not  
configured in odbc.


> 2008-09-29 18:13:03 [ERR] mod_spidermonkey_odbc.c:235 odbc_exec()  
> Database is not connected!
> 2008-09-29 18:13:03 [ERR] mod_spidermonkey_odbc.c:235 odbc_exec()  
> Database is not connected!
> 2008-09-29 18:13:03 [ERR] mod_spidermonkey_odbc.c:235 odbc_exec()  
> Database is not connected!
> 2008-09-29 18:13:03 [ERR] mod_spidermonkey_odbc.c:235 odbc_exec()  
> Database is not connected!
> 2008-09-29 18:13:03 [ERR] mod_spidermonkey_odbc.c:235 odbc_exec()  
> Database is not connected!
> 2008-09-29 18:13:03 [ERR] mod_spidermonkey_odbc.c:235 odbc_exec()  
> Database is not connected!
> 2008-09-29 18:13:03 [NOTICE] sample.js:1 console_log()  
> ==============================
> 2008-09-29 18:13:03 [ERR] mod_spidermonkey_odbc.c:235 odbc_exec()  
> Database is not connected!
> 2008-09-29 18:13:03 [ERR] mod_spidermonkey_odbc.c:266  
> odbc_num_rows() Database is not connected!
> 2008-09-29 18:13:03 [ERR] mod_spidermonkey_odbc.c:314  
> odbc_next_row() Database is not connected!
> 2008-09-29 18:13:03 [NOTICE] sample.js:1 console_log()  
> ==============================
> 2008-09-29 18:13:03 [ERR] mod_spidermonkey_odbc.c:235 odbc_exec()  
> Database is not connected!



More information about the Freeswitch-users mailing list