VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
fidibus83 at aol.com Guest
|
Posted: Wed Jan 07, 2009 8:20 am Post subject: [Freeswitch-users] no file mod_spidermonkey_odbc.so |
|
|
Hello,
Quote: | I have problems with mod_spidermonkey_odbc. Mod_spidermonkey_odbc.so does not exist. Following the instructions, I have created the ODBC environment and compiled it after running./configure --without-libcurl --enable-core-odbc-supportmakemake install I have to configure FS without libcurl because I use Fedora Core 8 and I want to use mod_xml_cdr. |
I uncomment:
conf/autoload_configs/spidermonkey.conf.xml Quote: | <load module="mod_spidermonkey_odbc"/> | 01
languages/mod_spidermonkey_odbc
2
Thanks, fidibus |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Wed Jan 07, 2009 9:24 am Post subject: [Freeswitch-users] no file mod_spidermonkey_odbc.so |
|
|
you would need to modify the modules.conf in the root of the source dir, not in the build dir.
On Jan 7, 2009, at 8:14 AM, fidibus83 wrote:
|
|
Back to top |
|
|
fidibus83 at aol.com Guest
|
Posted: Wed Jan 07, 2009 9:57 am Post subject: [Freeswitch-users] no file mod_spidermonkey_odbc.so |
|
|
Oh, I’m sorry.
Should I comment mod_spidermonkey_odbc in root/freeswitch/build/modules.conf again?
Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Michael Jerris
Gesendet: Mittwoch, 7. Januar 2009 15:15
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
you would need to modify the modules.conf in the root of the source dir, not in the build dir.
On Jan 7, 2009, at 8:14 AM, fidibus83 wrote:
Hello,
Quote: | I have problems with mod_spidermonkey_odbc. Mod_spidermonkey_odbc.so does not exist. Following the instructions, I have created the ODBC environment and compiled it after running./configure --without-libcurl --enable-core-odbc-supportmakemake install I have to configure FS without libcurl because I use Fedora Core 8 and I want to use mod_xml_cdr. |
I uncomment:
conf/autoload_configs/spidermonkey.conf.xml
Quote: | <load module="mod_spidermonkey_odbc"/> | 01
languages/mod_spidermonkey_odbc
2
Thanks, fidibus
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 |
|
|
chris at maxpowersoft.com Guest
|
|
Back to top |
|
|
fidibus83 at aol.com Guest
|
Posted: Wed Jan 07, 2009 10:37 am Post subject: [Freeswitch-users] no file mod_spidermonkey_odbc.so |
|
|
Sorry Chris, my mistake. Mod_spidermonkey_odbc.so does exist now.
I wanted to said that I’m sorry for my stupid mistake that I uncomment the wrong thing.
But thank you very much for your help!
Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Chris Danielson
Gesendet: Mittwoch, 7. Januar 2009 16:17
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
Fidibus,
Make sure that you also have installed unixodbc. As shown here: http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc#unixodbc
Kind Regards,
Chris
fidibus83 wrote:
Oh, I’m sorry.
Should I comment mod_spidermonkey_odbc in root/freeswitch/build/modules.conf again?
Von: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] Im Auftrag von Michael Jerris
Gesendet: Mittwoch, 7. Januar 2009 15:15
An: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
you would need to modify the modules.conf in the root of the source dir, not in the build dir.
On Jan 7, 2009, at 8:14 AM, fidibus83 wrote:
Hello,
Quote: | I have problems with mod_spidermonkey_odbc. Mod_spidermonkey_odbc.so does not exist. |
Quote: | Following the instructions, I have created the ODBC environment and compiled it after running |
Quote: | ./configure --without-libcurl --enable-core-odbc-support |
Quote: | I have to configure FS without libcurl because I use Fedora Core 8 and I want to use mod_xml_cdr. |
I uncomment:
conf/autoload_configs/spidermonkey.conf.xml
Quote: | <load module="mod_spidermonkey_odbc"/> | 01
languages/mod_spidermonkey_odbc
2
Thanks, fidibus
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
= 3456789 Quote: | Following the instructions, I have created the ODBC environment and compiled it after running | 0 Quote: | Following the instructions, I have created the ODBC environment and compiled it after running | 1 Quote: | Following the instructions, I have created the ODBC environment and compiled it after running | 2 |
|
Back to top |
|
|
chris at maxpowersoft.com Guest
|
Posted: Wed Jan 07, 2009 10:48 am Post subject: [Freeswitch-users] no file mod_spidermonkey_odbc.so |
|
|
Anytime. Good luck.
fidibus83 wrote: Quote: | v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} <![endif]--> <![endif]--> <![endif]-->
Sorry Chris, my mistake. Mod_spidermonkey_odbc.so does exist now.
I wanted to said that I’m sorry for my stupid mistake that I uncomment the wrong thing.
But thank you very much for your help!
Von: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lis ([email]freeswitch-users-bounces@lis[/email])ts.freeswitch.org] Im Auftrag von Chris Danielson
Gesendet: Mittwoch, 7. Januar 2009 16:17
An: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
Fidibus,
Make sure that you also have installed unixodbc. As shown here: http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc#unixodbc
Kind Regards,
Chris
fidibus83 wrote:
Oh, I’m sorry.
Should I comment mod_spidermonkey_odbc in root/freeswitch/build/modules.conf again?
Von: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] Im Auftrag von Michael Jerris
Gesendet: Mittwoch, 7. Januar 2009 15:15
An: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
you would need to modify the modules.conf in the root of the source dir, not in the build dir.
On Jan 7, 2009, at 8:14 AM, fidibus83 wrote:
Hello,
Quote: | I have problems with mod_spidermonkey_odbc. Mod_spidermonkey_odbc.so does not exist. | Quote: | Following the instructions, I have created the ODBC environment and compiled it after running | Quote: | ./configure --without-libcurl --enable-core-odbc-support | Quote: | I have to configure FS without libcurl because I use Fedora Core 8 and I want to use mod_xml_cdr. |
I uncomment:
conf/autoload_configs/spidermonkey.conf.xml
Quote: | <load module="mod_spidermonkey_odbc"/> | 0 1
languages/mod_spidermonkey_odbc
2
Thanks, fidibus
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
= 3 4 5 6 7 8 9 Quote: | Following the instructions, I have created the ODBC environment and compiled it after running | 0 Quote: | Following the instructions, I have created the ODBC environment and compiled it after running | 1 Quote: | Following the instructions, I have created the ODBC environment and compiled it after running | 2
Quote: | Following the instructions, I have created the ODBC environment and compiled it after running | 3 |
|
|
Back to top |
|
|
fidibus83 at aol.com Guest
|
Posted: Wed Jan 07, 2009 11:35 am Post subject: [Freeswitch-users] no file mod_spidermonkey_odbc.so |
|
|
I have another problem!
I want to connect to a mysql database through javascript.
I get this error:
[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
[ERR] mod_spidermonkey_odbc.c:233 odbc_exec() Database is not connected!
[ERR] mod_spidermonkey_odbc.c:289 odbc_next_row() database is not connected!
But when I test by running the utility isql the database is connected!
What’s going wrong?
Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Chris Danielson
Gesendet: Mittwoch, 7. Januar 2009 16:39
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
Anytime. Good luck.
fidibus83 wrote:
<![endif]--> <![endif]-->Sorry Chris, my mistake. Mod_spidermonkey_odbc.so does exist now.
I wanted to said that I’m sorry for my stupid mistake that I uncomment the wrong thing.
But thank you very much for your help!
Von: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lis ([email]freeswitch-users-bounces@lis[/email])ts.freeswitch.org] Im Auftrag von Chris Danielson
Gesendet: Mittwoch, 7. Januar 2009 16:17
An: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
Fidibus,
Make sure that you also have installed unixodbc. As shown here: http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc#unixodbc
Kind Regards,
Chris
fidibus83 wrote:
Oh, I’m sorry.
Should I comment mod_spidermonkey_odbc in root/freeswitch/build/modules.conf again?
Von: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] Im Auftrag von Michael Jerris
Gesendet: Mittwoch, 7. Januar 2009 15:15
An: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
you would need to modify the modules.conf in the root of the source dir, not in the build dir.
On Jan 7, 2009, at 8:14 AM, fidibus83 wrote:
Hello,
Quote: | I have problems with mod_spidermonkey_odbc. Mod_spidermonkey_odbc.so does not exist. |
Quote: | Following the instructions, I have created the ODBC environment and compiled it after running |
Quote: | ./configure --without-libcurl --enable-core-odbc-support |
Quote: | I have to configure FS without libcurl because I use Fedora Core 8 and I want to use mod_xml_cdr. |
I uncomment:
conf/autoload_configs/spidermonkey.conf.xml
Quote: | <load module="mod_spidermonkey_odbc"/> | 01
languages/mod_spidermonkey_odbc
2
Thanks, fidibus
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
= 3456789 Quote: | Following the instructions, I have created the ODBC environment and compiled it after running | 0 Quote: | Following the instructions, I have created the ODBC environment and compiled it after running | 1 Quote: | Following the instructions, I have created the ODBC environment and compiled it after running | 2 Quote: | Following the instructions, I have created the ODBC environment and compiled it after running | 3 Quote: | Following the instructions, I have created the ODBC environment and compiled it after running | 4 Quote: | Following the instructions, I have created the ODBC environment and compiled it after running | 5 Quote: | Following the instructions, I have created the ODBC environment and compiled it after running | 6 Quote: | Following the instructions, I have created the ODBC environment and compiled it after running | 7 Quote: | Following the instructions, I have created the ODBC environment and compiled it after running | 8 Quote: | Following the instructions, I have created the ODBC environment and compiled it after running | 9 Quote: | ./configure --without-libcurl --enable-core-odbc-support | 0 Quote: | ./configure --without-libcurl --enable-core-odbc-support | 1 Quote: | ./configure --without-libcurl --enable-core-odbc-support | 2 Quote: | ./configure --without-libcurl --enable-core-odbc-support | 3 Quote: | ./configure --without-libcurl --enable-core-odbc-support | 4 Quote: | ./configure --without-libcurl --enable-core-odbc-support | 5 Quote: | ./configure --without-libcurl --enable-core-odbc-support | 6 |
|
Back to top |
|
|
krice at suspicious.org Guest
|
Posted: Wed Jan 07, 2009 11:47 am Post subject: [Freeswitch-users] no file mod_spidermonkey_odbc.so |
|
|
Well your error tells you explicity DSN not found...
From: fidibus83 <fidibus83@aol.com>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Wed, 7 Jan 2009 17:31:54 +0100
To: <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
I have another problem!
I want to connect to a mysql database through javascript.
I get this error:
[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
[ERR] mod_spidermonkey_odbc.c:233 odbc_exec() Database is not connected!
[ERR] mod_spidermonkey_odbc.c:289 odbc_next_row() database is not connected!
But when I test by running the utility isql the database is connected!
What’s going wrong?
Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] ([email]freeswitch-users-bounces@lists.freeswitch.org][/email]) Im Auftrag von Chris Danielson
Gesendet: Mittwoch, 7. Januar 2009 16:39
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
Anytime. Good luck.
fidibus83 wrote:
Sorry Chris, my mistake. Mod_spidermonkey_odbc.so does exist now.
I wanted to said that I’m sorry for my stupid mistake that I uncomment the wrong thing.
But thank you very much for your help!
Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] ([email]freeswitch-users-bounces@lists.freeswitch.org][/email]) Im Auftrag von Chris Danielson
Gesendet: Mittwoch, 7. Januar 2009 16:17
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
Fidibus,
Make sure that you also have installed unixodbc. As shown here: http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc#unixodbc
Kind Regards,
Chris
fidibus83 wrote:
Oh, I’m sorry.
Should I comment mod_spidermonkey_odbc in root/freeswitch/build/modules.conf again?
Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] ([email]freeswitch-users-bounces@lists.freeswitch.org][/email]) Im Auftrag von Michael Jerris
Gesendet: Mittwoch, 7. Januar 2009 15:15
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
you would need to modify the modules.conf in the root of the source dir, not in the build dir. |
|
Back to top |
|
|
fidibus83 at aol.com Guest
|
Posted: Wed Jan 07, 2009 11:57 am Post subject: [Freeswitch-users] no file mod_spidermonkey_odbc.so |
|
|
Yes, but why isn’t it found?
My odbc.ini configuration:
[fs01_odbc]
Driver=MySQL
SERVER=localhost
PORT=3306
DATABASE=freeswitch
Socket = /var/lib/mysql/mysql.sock
Javascript:
… Quote: | use("ODBC"); var DSN="fs01_odbc"; var DB_USER="XXXXX"; var DB_PASS="YYYYY"; var db = new ODBC(DSN, DB_USER, DB_PASS); db.connect(); |
…..
Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Ken Rice
Gesendet: Mittwoch, 7. Januar 2009 17:42
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
Well your error tells you explicity DSN not found...
From: fidibus83 <fidibus83@aol.com>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Wed, 7 Jan 2009 17:31:54 +0100
To: <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
I have another problem!
I want to connect to a mysql database through javascript.
I get this error:
[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
[ERR] mod_spidermonkey_odbc.c:233 odbc_exec() Database is not connected!
[ERR] mod_spidermonkey_odbc.c:289 odbc_next_row() database is not connected!
But when I test by running the utility isql the database is connected!
What’s going wrong?
Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] ([email]freeswitch-users-bounces@lists.freeswitch.org%5d[/email]) Im Auftrag von Chris Danielson
Gesendet: Mittwoch, 7. Januar 2009 16:39
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
Anytime. Good luck.
fidibus83 wrote:
Sorry Chris, my mistake. Mod_spidermonkey_odbc.so does exist now.
I wanted to said that I’m sorry for my stupid mistake that I uncomment the wrong thing.
But thank you very much for your help!
Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] ([email]freeswitch-users-bounces@lists.freeswitch.org%5d[/email]) Im Auftrag von Chris Danielson
Gesendet: Mittwoch, 7. Januar 2009 16:17
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
Fidibus,
Make sure that you also have installed unixodbc. As shown here: http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc#unixodbc
Kind Regards,
Chris
fidibus83 wrote:
Oh, I’m sorry.
Should I comment mod_spidermonkey_odbc in root/freeswitch/build/modules.conf again?
Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] ([email]freeswitch-users-bounces@lists.freeswitch.org%5d[/email]) Im Auftrag von Michael Jerris
Gesendet: Mittwoch, 7. Januar 2009 15:15
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
you would need to modify the modules.conf in the root of the source dir, not in the build dir. |
|
Back to top |
|
|
stevecrozz at gmail.com Guest
|
Posted: Wed Jan 07, 2009 12:38 pm Post subject: [Freeswitch-users] no file mod_spidermonkey_odbc.so |
|
|
I'm assuming you have your driver set up properly since you left that
part out, but I got mine working a few weeks ago and I'll show you
what I've got if it helps:
odbc.ini:
[freeswitch_ph]
Driver = /usr/lib/odbc/libmyodbc.so
Description = MyODBC 3.51 Driver DSN
SERVER = localhost
PORT =
USER = freeswitch_ph
Password =
Database = freeswitch_ph
OPTION = 3
SOCKET =
somescript.js
use("ODBC");
var DSN = 'freeswitch_ph';
var DB_USER = 'freeswitch_ph';
var DB_PASS = '';
var db = new ODBC(DSN, DB_USER, DB_PASS);
db.connect();
On Wed, Jan 7, 2009 at 8:53 AM, fidibus83 <fidibus83@aol.com> wrote:
Quote: | Yes, but why isn't it found?
My odbc.ini configuration:
[fs01_odbc]
Driver=MySQL
SERVER=localhost
PORT=3306
DATABASE=freeswitch
Socket = /var/lib/mysql/mysql.sock
Javascript:
…
use("ODBC");
var DSN="fs01_odbc";
var DB_USER="XXXXX";
var DB_PASS="YYYYY";
var db = new ODBC(DSN, DB_USER, DB_PASS);
db.connect();
…..
________________________________
Von: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Ken
Rice
Gesendet: Mittwoch, 7. Januar 2009 17:42
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
Well your error tells you explicity DSN not found...
________________________________
From: fidibus83 <fidibus83@aol.com>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Wed, 7 Jan 2009 17:31:54 +0100
To: <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
I have another problem!
I want to connect to a mysql database through javascript.
I get this error:
[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
[ERR] mod_spidermonkey_odbc.c:233 odbc_exec() Database is not connected!
[ERR] mod_spidermonkey_odbc.c:289 odbc_next_row() database is not connected!
But when I test by running the utility isql the database is connected!
What's going wrong?
________________________________
Von: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Chris
Danielson
Gesendet: Mittwoch, 7. Januar 2009 16:39
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
Anytime. Good luck.
fidibus83 wrote:
Sorry Chris, my mistake. Mod_spidermonkey_odbc.so does exist now.
I wanted to said that I'm sorry for my stupid mistake that I uncomment the
wrong thing.
But thank you very much for your help!
________________________________
Von: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Chris
Danielson
Gesendet: Mittwoch, 7. Januar 2009 16:17
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
Fidibus,
Make sure that you also have installed unixodbc. As shown here:
http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc#unixodbc
Kind Regards,
Chris
fidibus83 wrote:
Oh, I'm sorry.
Should I comment mod_spidermonkey_odbc in root/freeswitch/build/modules.conf
again?
________________________________
Von: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von
Michael Jerris
Gesendet: Mittwoch, 7. Januar 2009 15:15
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
you would need to modify the modules.conf in the root of the source dir, not
in the build dir.
_______________________________________________
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 |
|
|
chris at maxpowersoft.com Guest
|
Posted: Wed Jan 07, 2009 1:32 pm Post subject: [Freeswitch-users] no file mod_spidermonkey_odbc.so |
|
|
Make sure to follow this example:Â http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc#General_Configuration
Remember to use the isql client to test your DSN connection. When that passes you'll be home free.
Regards,
Chris
Stephen Crosby wrote: Quote: | Quote: | I'm assuming you have your driver set up properly since you left that
part out, but I got mine working a few weeks ago and I'll show you
what I've got if it helps:
odbc.ini:
[freeswitch_ph]
Driver = /usr/lib/odbc/libmyodbc.so
Description = MyODBC 3.51 Driver DSN
SERVER = localhost
PORT =
USER = freeswitch_ph
Password =
Database = freeswitch_ph
OPTION = 3
SOCKET =
somescript.js
use("ODBC");
var DSN = 'freeswitch_ph';
var DB_USER = 'freeswitch_ph';
var DB_PASS = '';
var db = new ODBC(DSN, DB_USER, DB_PASS);
db.connect();
On Wed, Jan 7, 2009 at 8:53 AM, fidibus83 <fidibus83@aol.com> (fidibus83@aol.com) wrote:
Quote: | Yes, but why isn't it found?
My odbc.ini configuration:
[fs01_odbc]
Driver=MySQL
SERVER=localhost
PORT=3306
DATABASE=freeswitch
Socket = /var/lib/mysql/mysql.sock
Javascript:
…
use("ODBC");
var DSN="fs01_odbc";
var DB_USER="XXXXX";
var DB_PASS="YYYYY";
var db = new ODBC(DSN, DB_USER, DB_PASS);
db.connect();
…..
________________________________
Von: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)
[mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] Im Auftrag von Ken
Rice
Gesendet: Mittwoch, 7. Januar 2009 17:42
An: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
Well your error tells you explicity DSN not found...
________________________________
From: fidibus83 <fidibus83@aol.com> (fidibus83@aol.com)
Reply-To: <freeswitch-users@lists.freeswitch.org> (freeswitch-users@lists.freeswitch.org)
Date: Wed, 7 Jan 2009 17:31:54 +0100
To: <freeswitch-users@lists.freeswitch.org> (freeswitch-users@lists.freeswitch.org)
Subject: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
I have another problem!
I want to connect to a mysql database through javascript.
I get this error:
[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
[ERR] mod_spidermonkey_odbc.c:233 odbc_exec() Database is not connected!
[ERR] mod_spidermonkey_odbc.c:289 odbc_next_row() database is not connected!
But when I test by running the utility isql the database is connected!
What's going wrong?
________________________________
Von: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)
[mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] Im Auftrag von Chris
Danielson
Gesendet: Mittwoch, 7. Januar 2009 16:39
An: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
Anytime. Good luck.
fidibus83 wrote:
Sorry Chris, my mistake. Mod_spidermonkey_odbc.so does exist now.
I wanted to said that I'm sorry for my stupid mistake that I uncomment the
wrong thing.
But thank you very much for your help!
________________________________
Von: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)
[mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] Im Auftrag von Chris
Danielson
Gesendet: Mittwoch, 7. Januar 2009 16:17
An: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
Fidibus,
Make sure that you also have installed unixodbc. As shown here:
http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc#unixodbc
Kind Regards,
Chris
fidibus83 wrote:
Oh, I'm sorry.
Should I comment mod_spidermonkey_odbc in root/freeswitch/build/modules.conf
again?
________________________________
Von: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)
[mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] Im Auftrag von
Michael Jerris
Gesendet: Mittwoch, 7. Januar 2009 15:15
An: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
you would need to modify the modules.conf in the root of the source dir, not
in the build dir.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 |
|
|
fidibus83 at aol.com Guest
|
Posted: Thu Jan 08, 2009 5:34 am Post subject: [Freeswitch-users] no file mod_spidermonkey_odbc.so |
|
|
Thanks for your help! It’s working! I insert the user and the password in odbc.ini.
Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Chris Danielson
Gesendet: Mittwoch, 7. Januar 2009 19:32
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] no file mod_spidermonkey_odbc.so
Make sure to follow this example: http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc#General_Configuration
Remember to use the isql client to test your DSN connection. When that passes you'll be home free.
Regards,
Chris
Stephen Crosby wrote: Quote: | I'm assuming you have your driver set up properly since you left thatpart out, but I got mine working a few weeks ago and I'll show youwhat I've got if it helps: odbc.ini:[freeswitch_ph]Driver = /usr/lib/odbc/libmyodbc.soDescription = MyODBC 3.51 Driver DSNSERVER = localhostPORT =part out, but I got mine working a few weeks ago and I'll show you | 0 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 1 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 2 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 3 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 4 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 5 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 6 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 7 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 8 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 9 Quote: | what I've got if it helps: | 0 Quote: | what I've got if it helps: | 1 Quote: | what I've got if it helps: | 2 Quote: | what I've got if it helps: | 3 Quote: | what I've got if it helps: | 4 Quote: | what I've got if it helps: | 5 Quote: | what I've got if it helps: | 6 Quote: | what I've got if it helps: | 7 Quote: | Quote: | what I've got if it helps: | 8 Quote: | what I've got if it helps: | 9012345678901234567890123456789 Quote: | Driver = /usr/lib/odbc/libmyodbc.so | 0 Quote: | Driver = /usr/lib/odbc/libmyodbc.so | 1 Quote: | Driver = /usr/lib/odbc/libmyodbc.so | 2 Quote: | Driver = /usr/lib/odbc/libmyodbc.so | 3 Quote: | Driver = /usr/lib/odbc/libmyodbc.so | 4 Quote: | Driver = /usr/lib/odbc/libmyodbc.so | 5 Quote: | Driver = /usr/lib/odbc/libmyodbc.so | 6 Quote: | Driver = /usr/lib/odbc/libmyodbc.so | 7 Quote: | Driver = /usr/lib/odbc/libmyodbc.so | 8 Quote: | Driver = /usr/lib/odbc/libmyodbc.so | 9 Quote: | Description = MyODBC 3.51 Driver DSN | 0 Quote: | Description = MyODBC 3.51 Driver DSN | 1 Quote: | Description = MyODBC 3.51 Driver DSN | 2 Quote: | Description = MyODBC 3.51 Driver DSN | 3 Quote: | Description = MyODBC 3.51 Driver DSN | 4 Quote: | Description = MyODBC 3.51 Driver DSN | 5 Quote: | Description = MyODBC 3.51 Driver DSN | 6 Quote: | Description = MyODBC 3.51 Driver DSN | 7 Quote: | Description = MyODBC 3.51 Driver DSN | 8 Quote: | Description = MyODBC 3.51 Driver DSN | 9 Quote: | SERVER = localhost | 0 Quote: | SERVER = localhost | 1 Quote: | SERVER = localhost | 2 Quote: | SERVER = localhost | 3 Quote: | SERVER = localhost | 4 Quote: | SERVER = localhost | 5 Quote: | SERVER = localhost | 6 Quote: | SERVER = localhost | 7 Quote: | SERVER = localhost | 8 Quote: | SERVER = localhost | 90123456789 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 00 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 01 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 02 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 03 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 04 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 05 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 06 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 07 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 08 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 09 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 10 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 11 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 12 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 13 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 14 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 15 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 16 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 17 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 18 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 19 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 20 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 21 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 22 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 23 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 24 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 25 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 26 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 27 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 28 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 29 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 30 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 31 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 32 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 33 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 34 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 35 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 36 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 37 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 38 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 39 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 40 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 41 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 42 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 43 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 44 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 45 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 46 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 47 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 48 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 49 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 50 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 51 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 52 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 53 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 54 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 55 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 56 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 57 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 58 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 59 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 60 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 61 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 62 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 63 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 64 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 65 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 66 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 67 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 68 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 69 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 70 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 71 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 72 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 73 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 74 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 75 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 76 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 77 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 78 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 79part out, but I got mine working a few weeks ago and I'll show you | 80 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 81 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 82 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 83 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 84 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 85 Quote: | part out, but I got mine working a few weeks ago and I'll show you | 86 |
|
Back to top |
|
|
|
|
|
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
|