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" <[email protected]> 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 '[email protected]' failed: {'EXIT',-1} > > and i checked everything its working like > ([email protected])1> {ok, Pid} = riakc_pb_socket:start_link("127.0.0.1", 8087).{ok,<0.39.0>}([email protected])2> riakc_pb_socket:ping(Pid). pong( [email protected])3> RiakNode='[email protected]'.'[email protected]'( [email protected])4> net_adm:ping(RiakNode).pong > > why cannot i set my schema any idea how can i fix this error ?? > > > > > Regards, > Muhammad Yousaf > >
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
