http://www.google.com/search?q=cannot+restore+segment+prot+after+reloc:+Permission+denied

Google says this is selinux configured to enforcing without setting it up properly to allow what your trying to do.  Try disabling selinux, and if that works and you want selinux enabled, you will need to come up with the propper config.

Mike

On Jan 27, 2010, at 11:47 PM, Adam Wilt <wiltingtree@gmail.com> wrote:

I tried running ldconfig on the directory containing mysql.so, but it did not help. 
So it sounds like there could be a bug in the latter versions?


On Wed, Jan 27, 2010 at 8:09 PM, David Villasmil <david.villasmil.work@gmail.com> wrote:
I got the same error, my script was working with no problems before an
update to trunk.

David

On Thu, Jan 28, 2010 at 1:15 AM, Adam Wilt <wiltingtree@gmail.com> wrote:
> Hi, I followed the instructions in the Lua documentation for setting up
> luasql, but when I try to run my script I get:
> 2010-01-27 19:08:14.799250 [ERR] mod_lua.cpp:182 error loading module
> 'luasql.mysql' from file '/usr/local/lib/lua/5.1/luasql/mysql.so':
>         /usr/local/lib/lua/5.1/luasql/mysql.so: cannot restore segment prot
> after reloc: Permission denied
> stack traceback:
>         [C]: ?
>         [C]: in function 'require'
>         /usr/local/freeswitch/scripts/l.lua:2: in main chunk
> I'm running FreeSWITCH version 1.4 and luasql version 2.1.1.
> I changed the permissions for mysql.so and for my script to 777, so I'm not
> sure where the permission problem could be.
> I'd appreciate any suggestions.
> Thanks,
> Adam
>

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org