<div dir="ltr"><br><a href="mailto:freeswitch@hp30094686650.optimus.co.in" target="_blank">freeswitch@hp30094686650.optimus.co.in</a>>
2008-10-20 19:34:29 [ERR] switch_odbc.c:160
switch_odbc_handle_connect() STATE: 01000 CODE 0 ERROR:
[unixODBC][Driver Manager]Can't open lib '/usr/local/lib/libmyodbc3.so'
: /usr/local/lib/libmyodbc3.so: file too short<br>
<br>check if your .so has read permissions<br>i recoomend re-installing unixODBC or get some other drivers, i.e. if any provided by MySQL for ODBC<br><br><div class="gmail_quote">On Mon, Oct 20, 2008 at 8:39 PM, Baskar <span dir="ltr"><<a href="mailto:yudha2008@gmail.com">yudha2008@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hi,<br><br>I have done all the changes but i cant able to run jsrun odbc.js<br>
<br><a href="mailto:freeswitch@hp30094686650.optimus.co.in" target="_blank">freeswitch@hp30094686650.optimus.co.in</a>> 2008-10-20 19:34:29 [ERR] switch_odbc.c:160 switch_odbc_handle_connect() STATE: 01000 CODE 0 ERROR: [unixODBC][Driver Manager]Can't open lib '/usr/local/lib/libmyodbc3.so' : /usr/local/lib/libmyodbc3.so: file too short<br>
<br>2008-10-20 19:34:29 [ERR] mod_spidermonkey_odbc.c:235 odbc_exec() Database is not connected!<br>2008-10-20 19:34:29 [ERR] odbc.js:9 mod_spidermonkey() TypeError: session.hangup is not a function<br><br>Some one correct me where i am wrong<div class="Ih2E3d">
<br>
<br><u><b>odbc ini:</b></u><br>[ODBC Data Sources]<br><br></div>myodbc = MySQL ODBC 2.50 Driver DSN <br>myodbc3 = MySQL ODBC 3.51 Driver DSN <br><br><br>[myodbc]<br>Driver = /usr/local/lib/libmyodbc.so<br>
Description = MySQL ODBC 2.50 Driver DSN<br>
SERVER = localhost<br>PORT = 3306<br>USER = optimus<br>Password = optimus<br>Database = test<br>OPTION = 3<br>SOCKET = <br><br><br>[myodbc3]<div class="Ih2E3d"><br>Driver = /usr/local/lib/libmyodbc3.so<br>
</div>
Description = MySQL ODBC 3.51 Driver DSN<br>SERVER = localhost<br>PORT = 3306<br>USER = optimus<br>Password = optimus<br>Database = test<br>OPTION = 3 <br>SOCKET = <br><br><br>
[Default]<br>Driver = /usr/local/lib/libmyodbc3.so<br>Description = MySQL ODBC 3.51 Driver DSN<br>SERVER = localhost<br>PORT = 3306<br>USER = optimus<br>Password = optimus<br><br><br>-- <br>
Warm Regards,<br>N.Baskar<br><br>
</div>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Gayatri Kulkarni<br>
</div>