<html><body bgcolor="#FFFFFF"><div><a href="http://www.google.com/search?q=cannot+restore+segment+prot+after+reloc:+Permission+denied">http://www.google.com/search?q=cannot+restore+segment+prot+after+reloc:+Permission+denied</a></div><div><br></div><div>Google says this is selinux configured to enforcing without setting it up properly to allow what your trying to do. &nbsp;Try disabling selinux, and if that works and you want selinux enabled, you will need to come up with the propper config.</div><div><br></div><div>Mike</div><div><br>On Jan 27, 2010, at 11:47 PM, Adam Wilt &lt;<a href="mailto:wiltingtree@gmail.com">wiltingtree@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>I tried running ldconfig on the directory containing mysql.so, but it did not help.&nbsp;<div>So it sounds like there could be a bug in the latter versions?</div><div><br><br><div class="gmail_quote">On Wed, Jan 27, 2010 at 8:09 PM, David Villasmil <span dir="ltr">&lt;<a href="mailto:david.villasmil.work@gmail.com"><a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</a></a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I got the same error, my script was working with no problems before an<br>
update to trunk.<br>
<font color="#888888"><br>
David<br>
</font><div><div></div><div class="h5"><br>
On Thu, Jan 28, 2010 at 1:15 AM, Adam Wilt &lt;<a href="mailto:wiltingtree@gmail.com"><a href="mailto:wiltingtree@gmail.com">wiltingtree@gmail.com</a></a>&gt; wrote:<br>
&gt; Hi, I followed the instructions in the Lua documentation for setting up<br>
&gt; luasql, but when I try to run my script I get:<br>
&gt; 2010-01-27 19:08:14.799250 [ERR] mod_lua.cpp:182 error loading module<br>
&gt; 'luasql.mysql' from file '/usr/local/lib/lua/5.1/luasql/mysql.so':<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;/usr/local/lib/lua/5.1/luasql/mysql.so: cannot restore segment prot<br>
&gt; after reloc: Permission denied<br>
&gt; stack traceback:<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;[C]: ?<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;[C]: in function 'require'<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;/usr/local/freeswitch/scripts/l.lua:2: in main chunk<br>
&gt; I'm running FreeSWITCH version 1.4 and luasql version 2.1.1.<br>
&gt; I changed the permissions for mysql.so and for my script to 777, so I'm not<br>
&gt; sure where the permission problem could be.<br>
&gt; I'd appreciate any suggestions.<br>
&gt; Thanks,<br>
&gt; Adam<br>
&gt;<br>
</div></div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>
<a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
</div></div></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>