Thanks for reply.

I googled this error message:
*"cannot restore segment prot after reloc: Permission denied"*

Found this trick from here:
http://www.appistry.com/community/forums/content/cannot-restore-segment-prot-after-reloc-permission-denied

Where it said that CentOS 5 has the SE Linux feature set to "enforcing"

Riak is started successfully after running /usr/sbin/setenforce 0

Thanks again!

On Wed, Sep 1, 2010 at 4:48 PM, Dan Reverri <[email protected]> wrote:

> You might consider installing a later release. The most recent version
> available is 0.12:
> https://downloads.basho.com/riak/
>
> Thanks,
> Dan
>
> Daniel Reverri
> Developer Advocate
> Basho Technologies, Inc.
> [email protected]
>
>
> On Tue, Aug 31, 2010 at 9:16 AM, 朱轩印 <[email protected]> wrote:
>
>> Dear users,
>>
>> I'm trying to install Riak on my centos 5.5 (i386).
>>
>> I installed riak 0.10 in rpm, but can't start riak. When I ran ./riak
>> start, it happens to me that nothing printed out in the console, but a dump
>> file under the riak directory.
>> Then I reviewed the erlang.log.1 and found the following report:
>>
>> =====
>> ===== LOGGING STARTED Tue Aug 31 15:28:27 CST 2010
>> =====
>> Exec: /usr/lib/riak/erts-5.7.5/bin/erlexec -boot
>> /usr/lib/riak/releases/0.10.1/riak -embedded -config /etc/riak/app.config
>> -args_file /etc/riak/vm.args -- console
>> Root: /usr/lib/riak
>> Erlang R13B04 (erts-5.7.5) [source] [smp:1:1] [rq:1] [async-threads:5]
>> [hipe] [kernel-poll:true]
>>
>>
>> =ERROR REPORT==== 31-Aug-2010::15:28:28 ===
>> Error loading "erlang_js_drv": "cannot restore segment prot after reloc:
>> Permission denied"
>>
>> =INFO REPORT==== 31-Aug-2010::15:28:28 ===
>>     application: erlang_js
>>     exited: {{bad_return_value,
>>                  {error,{load_error,"*Failed to load spidermonkey_drv.so*
>> "}}},
>>              {erlang_js,start,[normal,[]]}}
>>     type: permanent
>> {"Kernel pid
>> terminated",application_controller,"{application_start_failure,erlang_js,{{bad_return_value,{error,{load_error,[70,97,105,108,101,100,32,116,111,32,108,111,97,100,32,115,112,105,100,101,114,109,111,110,107,101,121,95,100,114,118,46,115,111]}}},{erlang_js,start,[normal,[]]}}}"}
>> Kernel pid terminated (application_controller)
>> ({application_start_failure,erlang_js,{{bad_return_value,{error,{load_error,[70,97,105,108,101,100,32,116,111,32,108,111,97,100,32,115,112,105,100,101,
>>
>> Can anyone of you help me to figure out what the issue is? Thanks very
>> much!
>>
>> --
>>
>>
>> _______________________________________________
>> riak-users mailing list
>> [email protected]
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>
>>
>


-- 
朱可
http://www.netvibes.com/shawnzhu
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to