[Freeswitch-users] problems LuaSql in FreeSwitch

Sardor Tukhtaev sardor.tukhtaev at gmail.com
Mon Apr 2 11:07:20 MSD 2012


Hello everybody,

The problem arises from connecting to the database (Oracle). In the console
[fs_cli]
this error: >>>
2012-03-28 17:21:57.558786 [ERR] mod_lua.cpp: 198 C: \ Program Files
\ FreeSWITCH \ scr
ipts / db_connect.lua: 4: module 'luasql.oci8' not found:
         no field package.preload ['luasql.oci8']
         no file '. \ luasql \ oci8.lua'
         no file 'C: \ Program Files \ FreeSWITCH \ lua \ luasql \ oci8.lua'
         no file 'C: \ Program Files \ FreeSWITCH \ lua \ luasql \ oci8 \
init.lua'
         no file 'C: \ Program Files \ FreeSWITCH \ luasql \ oci8.lua'
         no file 'C: \ Program Files \ FreeSWITCH \ luasql \ oci8 \
init.lua'
         no file 'C: \ Program Files \ Lua \ 5.1 \ lua \ luasql \ oci8.luac'
         no file '. \ luasql \ oci8.dll'
         no file '. \ luasql \ oci851.dll'
         no file 'C: \ Program Files \ FreeSWITCH \ luasql \ oci8.dll'
         no file 'C: \ Program Files \ FreeSWITCH \ luasql \ oci851.dll'
         no file 'C: \ Program Files \ FreeSWITCH \ clibs \ luasql \
oci8.dll'
         no file 'C: \ Program Files \ FreeSWITCH \ clibs \ luasql \
oci851.dll'
         no file 'C: \ Program Files \ FreeSWITCH \ loadall.dll'
         no file 'C: \ Program Files \ FreeSWITCH \ clibs \ loadall.dll'
         no file '. \ luasql.dll'
         no file '. \ luasql51.dll'
         no file 'C: \ Program Files \ FreeSWITCH \ luasql.dll'
         no file 'C: \ Program Files \ FreeSWITCH \ luasql51.dll'
         no file 'C: \ Program Files \ FreeSWITCH \ clibs \ luasql.dll'
         no file 'C: \ Program Files \ FreeSWITCH \ clibs \ luasql51.dll'
         no file 'C: \ Program Files \ FreeSWITCH \ loadall.dll'
         no file 'C: \ Program Files \ FreeSWITCH \ clibs \ loadall.dll'
stack traceback:
         [C]: in function 'require'
         C: \ Program Files \ FreeSWITCH \ scripts / db_connect.lua: 4: in
main chunk

These files I didn't find. Set version LuaForWindows_v5.1.4-45
There was written, that it supports Oracle. However,the files with the
extension[oci8] I haven't found.
Could you help me with this problem.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120402/9781e2ae/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list