[Freeswitch-users] Error Mod_lua.
Steven Ayre
steveayre at gmail.com
Tue Mar 31 23:35:12 MSD 2015
It's probably a file permission problem. Linux returns the same 'no such
file' error for both missing files and permission errors.
Does the 'freeswitch' user have +r on the file and +rx on every directory
component in the path - either through user (u), group (g) or other (o)?
On 31 March 2015 at 20:21, Antony Aguirre Morales <ing.antonyam at gmail.com>
wrote:
> Hi,
>
> Install fusionpbx to manage freeswitch, perform the configuration of lua
> module enable these lines in lua.conf.xml
>
> <param name = "xml-handler-script" value = "app.lua xml_handler" />
> <param name = "xml-handler-bindings" value = "dialplan | directory |
> configuration" />
>
> I am using the script for the configuration that comes in the pbx in the
> following path:
>
> / var / www / html / fusionpbx / resources / install / scripts
>
> copy them to the following path freeswitch:
>
> / usr / local / freeswitch / scripts /
>
> but when you start freeswitch shows me the following errors have some idea:
>
> 2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:203 cannot open
> /usr/local/freeswitch/scripts/resources/config.lua: No such file or
> directory
> stack traceback:
> [C]: in function 'dofile'
> /usr/local/freeswitch/scripts/app.lua:30: in main chunk
> 2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:269 LUA script parse/execute
> error!
> 2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:203 cannot open
> /usr/local/freeswitch/scripts/resources/config.lua: No such file or
> directory
> stack traceback:
> [C]: in function 'dofile'
> /usr/local/freeswitch/scripts/app.lua:30: in main chunk
> 2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:269 LUA script parse/execute
> error!
> 2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:203 cannot open
> /usr/local/freeswitch/scripts/resources/config.lua: No such file or
> directory
> stack traceback:
> [C]: in function 'dofile'
> /usr/local/freeswitch/scripts/app.lua:30: in main chunk
> 2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:269 LUA script parse/execute
> error!
>
> Regards.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150331/7e9dd352/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list