Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Problem in spidermonkey_odbc


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
thangappan143 at gmail...
Guest





PostPosted: Mon Aug 03, 2009 12:17 am    Post subject: [Freeswitch-users] Problem in spidermonkey_odbc Reply with quote

Dear all,

 I am not yet installed odbc in my machine for accessing the psql database. I have got the following error while tried to load the mod_lcr command.

2009-08-03 15:45:47 [ERR] switch_odbc.c:164 switch_odbc_handle_connect() STATE: IM002 CODE 0 ERROR: [unixODBC][Driver Manager]Data source name not found, and no default driver specified

2009-08-03 15:45:47 [CRIT] mod_lcr.c:546 lcr_load_config() Cannot Open ODBC Database!
2009-08-03 15:45:47 [ERR] mod_lcr.c:985 mod_lcr_load() Unable to load lcr config file
2009-08-03 15:45:47 [CRIT] switch_loadable_module.c:839 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_lcr.so
**Module load routine returned an error**

I have set the correct driver informations in the odbc.ini(/etc and /home) and odbcinst.ini(/etc).
I have create the symbolic links in the /usr/loca/freeswitch/etc/

Where I made a problem?

After some time I found that there is no spidermonket_odbc.so file.This has been found while executing the freeswitch command. The error is,

2009-08-03 15:26:06 [ERR] mod_spidermonkey.c:931 sm_load_file() Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey_odbc.so
**/usr/local/freeswitch/mod/mod_spidermonkey_odbc.so: cannot open shared object file: No such file or directory**

So please help me?
I am doing this for more than 8 hours.




--
Regards,
Thangappan.M
Back to top
mike at jerris.com
Guest





PostPosted: Mon Aug 03, 2009 1:20 am    Post subject: [Freeswitch-users] Problem in spidermonkey_odbc Reply with quote

You need to first install unixodbc and it's related devel packages and
then run configure and re build freeswitch.

On Aug 3, 2009, at 12:09 AM, "Thangappan.M" <thangappan143@gmail.com>
wrote:

Quote:
Dear all,

I am not yet installed odbc in my machine for accessing the psql
database. I have got the following error while tried to load the
mod_lcr command.

2009-08-03 15:45:47 [ERR] switch_odbc.c:164
switch_odbc_handle_connect() STATE: IM002 CODE 0 ERROR: [unixODBC]
[Driver Manager]Data source name not found, and no default driver
specified

2009-08-03 15:45:47 [CRIT] mod_lcr.c:546 lcr_load_config() Cannot
Open ODBC Database!
2009-08-03 15:45:47 [ERR] mod_lcr.c:985 mod_lcr_load() Unable to
load lcr config file
2009-08-03 15:45:47 [CRIT] switch_loadable_module.c:839
switch_loadable_module_load_file() Error Loading module /usr/local/
freeswitch/mod/mod_lcr.so
**Module load routine returned an error**

I have set the correct driver informations in the odbc.ini(/etc and /
home) and odbcinst.ini(/etc).
I have create the symbolic links in the /usr/loca/freeswitch/etc/

Where I made a problem?

After some time I found that there is no spidermonket_odbc.so
file.This has been found while executing the freeswitch command. The
error is,

2009-08-03 15:26:06 [ERR] mod_spidermonkey.c:931 sm_load_file()
Error Loading module /usr/local/freeswitch/mod/
mod_spidermonkey_odbc.so
**/usr/local/freeswitch/mod/mod_spidermonkey_odbc.so: cannot open
shared object file: No such file or directory**

So please help me?
I am doing this for more than 8 hours.





--
Regards,
Thangappan.M
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
thangappan143 at gmail...
Guest





PostPosted: Mon Aug 03, 2009 2:14 am    Post subject: [Freeswitch-users] Problem in spidermonkey_odbc Reply with quote

I have installed unixodbc at first.But I am getting the same error.

On Mon, Aug 3, 2009 at 10:39 AM, Thangappan.M <thangappan143@gmail.com (thangappan143@gmail.com)> wrote:
Quote:
Dear all,

 I am not yet installed odbc in my machine for accessing the psql database. I have got the following error while tried to load the mod_lcr command.

2009-08-03 15:45:47 [ERR] switch_odbc.c:164 switch_odbc_handle_connect() STATE: IM002 CODE 0 ERROR: [unixODBC][Driver Manager]Data source name not found, and no default driver specified

2009-08-03 15:45:47 [CRIT] mod_lcr.c:546 lcr_load_config() Cannot Open ODBC Database!
2009-08-03 15:45:47 [ERR] mod_lcr.c:985 mod_lcr_load() Unable to load lcr config file
2009-08-03 15:45:47 [CRIT] switch_loadable_module.c:839 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_lcr.so
**Module load routine returned an error**

I have set the correct driver informations in the odbc.ini(/etc and /home) and odbcinst.ini(/etc).
I have create the symbolic links in the /usr/loca/freeswitch/etc/

Where I made a problem?

After some time I found that there is no spidermonket_odbc.so file.This has been found while executing the freeswitch command. The error is,

2009-08-03 15:26:06 [ERR] mod_spidermonkey.c:931 sm_load_file() Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey_odbc.so
**/usr/local/freeswitch/mod/mod_spidermonkey_odbc.so: cannot open shared object file: No such file or directory**

So please help me?
I am doing this for more than 8 hours.




--
Regards,
Thangappan.M



--
Regards,
Thangappan.M
Back to top
asannucci at gmail.com
Guest





PostPosted: Mon Aug 03, 2009 8:05 am    Post subject: [Freeswitch-users] Problem in spidermonkey_odbc Reply with quote

If your linux distribution is Centos you have to install unixODBC-devel postgresql-odbc unixODBC then compile freeswitch. Look at this wiki page: http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc BR
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services