search-cmd set-schema issue

John D. Rowell me at jdrowell.com
Tue Apr 19 10:08:16 EDT 2011


It seems that the 'riak' user you're using with sudo doesn't have read
access to /home/yousaf.
Em 18/04/2011 22:04, "Muhammad Yousaf" <muhammad.yousaf at live.com> escreveu:
>
>
> Hi,
> I dont know why i am getting that error while setting my schema
> $ search-cmd set_schema player /home/yousaf/index/p.txt Attempting to
restart script through sudo -u riak
> :: Updating schema for 'player'... :: ERROR: Could not read
'/home/yousaf/index/p.txt'.RPC to 'riak at 127.0.0.1' failed: {'EXIT',-1}
>
> and i checked everything its working like
> (client at 127.0.0.1)1> {ok, Pid} = riakc_pb_socket:start_link("127.0.0.1",
8087).{ok,<0.39.0>}(client at 127.0.0.1)2> riakc_pb_socket:ping(Pid). pong(
client at 127.0.0.1)3> RiakNode='riak at 127.0.0.1'.'riak at 127.0.0.1'(
client at 127.0.0.1)4> net_adm:ping(RiakNode).pong
>
> why cannot i set my schema any idea how can i fix this error ??
>
>
>
>
> Regards,
> Muhammad Yousaf
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20110419/d1aaa1c9/attachment.html>


More information about the riak-users mailing list