Thanks Jon! That seems to have done the trick and I do get the location of the beam file as a response.
But unfortunately, not off to the races yet. Another noob error that I hope list members will bear with. I have set up a Riak cluster based on the Fast Track doc. Then based on the Erlang Client Introduction ( https://wiki.basho.com/display/RIAK/Erlang+Client+PBC ) I set up a client connection > {ok, Pid} = riakc_pb_socket:start_link("127.0.0.1", 8091). {ok, <0.35.0>} But then I get an error when trying a ping: > riakc_pb_socket:ping(Pid). **exception exit: {timeout, {gen_server, call, [<0.35.0>, {req, rpbpingreq}]}} in function gen_server:call/2 Do I need to set up Riak differently (i.e. not in a cluster)? Have I missed some install steps? Do I need to .... I can almost taste the riak soup... On Mon, Jun 7, 2010 at 3:41 PM, Jon Meredith <jmered...@basho.com> wrote: > Hi Ted, > > You should just need the riak-erlang-client/ebin and the protobuffs library. > Here's an example on my local machine. I just checked the docs and there's > a mistake in there. The module you can test to see if you have it all set > up correctly is riakc_pb_socket. > > jons-macpro:systest jmeredith$ erl -pa ~/basho/riak-erlang-client/ebin > ~/basho/riak-erlang-client/deps/protobuffs/ebin > Erlang R13B04 (erts-5.7.5) [source] [smp:8:8] [rq:8] [async-threads:0] > [hipe] [kernel-poll:false] > > Eshell V5.7.5 (abort with ^G) > 1> code:which(riakc_pb_socket). > "/Users/jmeredith/basho/riak-erlang-client/ebin/riakc_pb_socket.beam" > > Sorry for any confusion. Hopefully you'll be off to the races, Jon. > > On 6/7/10 7:33 AM, Ted Karmel wrote: >> >> I have a similar problem to an earlier mailing list post : >> >> http://lists.basho.com/pipermail/riak-users_lists.basho.com/2010-May/001094.html >> >> I tried following >> riak/client_lib/riak-erlang-client/docs/pb-client.txt plus the >> suggestions in that post all to no avail. >> >> But, here is in detail what I attempted: >> >> >>> >>> erl -pa $PATHTORIAKC/ebin >>> >> >> I naturally replaced PATHTORIAKC : >> /home/tedkarmel/riak/client-libs/riak-erlang-client >> >> It seems to work but then I get 'non_existing' when I tried to enter >> >> >>> >>> code:which(riak_pb_client). >>> >> >> I then tried the suggested alternative installation >> >> >>> >>> cd riak-erlang-client >>> >> >> >>> >>> ./rebar install >>> >> >> I get the following error message: >> >> Error: One or more modules listed in riackc.app are not present in >> ebin/*.beam >> *riackc_obj >> *riackc_pb >> *riackc_pb_socket >> *riackclient_pb >> >> I then tried the following which was suggested in the previous mailing >> post about installation errors: >> >> >>> >>> make clean&& make all >>> >> >> Then I try again >> >> >>> >>> ./rebar install >>> >> >> which works this time >> >> But when I try again >> >> >>> >>> code:which(riak_pb_client). >>> >> >> I get >> >> >>> >>> non_existing >>> >> >> I then tried as suggested in the previous mailing list post about the >> error >> >> >>> >>> erl -pa ebin/ deps/*/ebin >>> >> >> But still get the non_existing error >> >> help... :( >> >> _______________________________________________ >> riak-users mailing list >> riak-users@lists.basho.com >> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >> > > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com