Hi Sinh, Here is the relevant error message: "unable to locate `java` on the PATH, shutting down"
Please install a Java runtime if you'd like to use search. Basho recommends the official runtime from Oracle. http://docs.basho.com/riak/latest/ops/building/installing/jvm/ -- Luke Bakken Engineer / CSE lbak...@basho.com On Sat, Nov 15, 2014 at 8:29 PM, sinh nguyen <sin...@gmail.com> wrote: > Hello, > > I am new to Riak. I installed riak 2.0 and it works fine if i don't turn > riak search on. If riak search is turned on (from the config file), riak > failed to start. Here is the message from the error log: > > 2014-11-15 20:27:12.736 [error] <0.538.0>@yz_solr_proc:init:91 unable to > locate `java` on the PATH, shutting down > 2014-11-15 20:27:12.736 [error] <0.538.0> CRASH REPORT Process <0.538.0> > with 0 neighbours exited with reason: "unable to locate `java` on the PATH" > in gen_server:init_it/6 line 320 > 2014-11-15 20:27:12.737 [error] <0.536.0> Supervisor yz_solr_sup had child > yz_solr_proc started with yz_solr_proc:start_link("/var/lib/riak/yz", 8093, > 8985) at undefined exit with reason "unable to locate `java` on the PATH" in > context start_error > 2014-11-15 20:27:12.737 [error] <0.535.0> Supervisor yz_sup had child > yz_solr_sup started with yz_solr_sup:start_link() at undefined exit with > reason {shutdown,{failed_to_start_child,yz_solr_proc,"unable to locate > `java` on the PATH"}} in context start_error > 2014-11-15 20:27:12.737 [error] <0.533.0> CRASH REPORT Process <0.533.0> > with 0 neighbours exited with reason: > {{shutdown,{failed_to_start_child,yz_solr_sup,{shutdown,{failed_to_start_child,yz_solr_proc,"unable > to locate `java` on the PATH"}}}},{yz_app,start,[normal,[]]}} in > application_master:init/4 line 133 > > > _______________________________________________ > 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