search-cmd set-schema issue

John D. Rowell me at
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> 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' failed: {'EXIT',-1}
> and i checked everything its working like
> (client at> {ok, Pid} = riakc_pb_socket:start_link("",
8087).{ok,<0.39.0>}(client at> riakc_pb_socket:ping(Pid). pong(
client at> RiakNode='riak at'.'riak at'(
client at> 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: <>

More information about the riak-users mailing list