<div dir="ltr">It's probably a file permission problem. Linux returns the same 'no such file' error for both missing files and permission errors.<div><br></div><div>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)?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 31 March 2015 at 20:21, Antony Aguirre Morales <span dir="ltr"><<a href="mailto:ing.antonyam@gmail.com" target="_blank">ing.antonyam@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div><div>Install fusionpbx to manage freeswitch, perform the configuration of lua module enable these lines in lua.conf.xml</div><div><br></div><div><param name = "xml-handler-script" value = "app.lua xml_handler" /></div><div> <param name = "xml-handler-bindings" value = "dialplan | directory | configuration" /></div><div><br></div><div>I am using the script for the configuration that comes in the pbx in the following path:</div><div><br></div><div>/ var / www / html / fusionpbx / resources / install / scripts</div><div><br></div><div>copy them to the following path freeswitch:</div><div><br></div><div>/ usr / local / freeswitch / scripts /</div><div><br></div><div>but when you start freeswitch shows me the following errors have some idea:</div><div><br></div><div><div>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</div><div>stack traceback:</div><div><span style="white-space:pre-wrap">        </span>[C]: in function 'dofile'</div><div><span style="white-space:pre-wrap">        </span>/usr/local/freeswitch/scripts/app.lua:30: in main chunk</div><div>2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:269 LUA script parse/execute error!</div><div>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</div><div>stack traceback:</div><div><span style="white-space:pre-wrap">        </span>[C]: in function 'dofile'</div><div><span style="white-space:pre-wrap">        </span>/usr/local/freeswitch/scripts/app.lua:30: in main chunk</div><div>2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:269 LUA script parse/execute error!</div><div>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</div><div>stack traceback:</div><div><span style="white-space:pre-wrap">        </span>[C]: in function 'dofile'</div><div><span style="white-space:pre-wrap">        </span>/usr/local/freeswitch/scripts/app.lua:30: in main chunk</div><div>2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:269 LUA script parse/execute error!</div></div><div><br></div><div>Regards.</div>
</div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></blockquote></div><br></div>