cannot start solr, no logs

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

cannot start solr, no logs

王昊
I couldn't start riak and I think it's because solr failed to start. There is no logs in /var/log/riak/solr.log

What can I do?

Attached is some logs I can see. (CentOS). Please help.

log/riak/error.log

log/riak/crash.log

log/riak/console.log

 




--

王 昊
Hao WANG
86 186 0086 9737
为学日益 为道日损
http://blog.jusfeel.cn


  

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: cannot start solr, no logs

Bryan Hunt-2
Hao,

The Solr process is crashing because the JVM cannot allocate enough heap memory. You need to provide more RAM. The message is: ‎

2015-12-28 16:34:41.735 [info] <0.573.0>@yz_solr_proc:handle_info:135solr stdout/err: Error occurred during initialization of VM
Could not reserve enough space for object heap‎

The configuration is made through riak.conf. 

The setting for JVM heap is : ‎‎ "-d64","-Xms1g","-Xmx1g",‎

The setting in use gives 1Gb minimum and max, i.e fixed sized of 1Gb.

You will need to increase the max heap size setting ( ‎-Xmx1g‎ ).

Bryan

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: cannot start solr, no logs

saran
In reply to this post by 王昊
Hello,

I have same problem.
I increased -d64 -Xms2.5g -Xmx2.5g still having same problem.
My ulimit is also good.
ulimit -Sn 4096
ulimit -Hn 65536

Please assist.

Thanks

Reply | Threaded
Open this post in threaded view
|

Re: cannot start solr, no logs

Vitaly
Hi,

Could you give some more details? Which version of Riak? Your subject line suggests that you cannot start Solr, but what do you mean by this? Can you start Riak successfully? Where are you looking for logs?

Do you have search enabled in riak.conf (search = on)?

Regards,
Vitaly

On Tue, Apr 5, 2016 at 7:32 AM, saran <[hidden email]> wrote:
Hello,

I have same problem.
I increased -d64 -Xms2.5g -Xmx2.5g still having same problem.
My ulimit is also good.
ulimit -Sn 4096
ulimit -Hn 65536

Please assist.

Thanks





--
View this message in context: http://riak-users.197444.n3.nabble.com/cannot-start-solr-no-logs-tp4033816p4034114.html
Sent from the Riak Users mailing list archive at Nabble.com.

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: cannot start solr, no logs

Vitaly
Hi Saran,

Just noticed the link at the bottom. You should have given the context in your message.

In any case, I would check the total memory your machine has and how much of it is utilized by other processes.
 Try DECREASING the heap allocation for Solr, just to see it it starts - it looks like the requested memory just is not available.

Regards,
Vitaly

On Tue, Apr 5, 2016 at 7:45 AM, Vitaly E <[hidden email]> wrote:
Hi,

Could you give some more details? Which version of Riak? Your subject line suggests that you cannot start Solr, but what do you mean by this? Can you start Riak successfully? Where are you looking for logs?

Do you have search enabled in riak.conf (search = on)?

Regards,
Vitaly

On Tue, Apr 5, 2016 at 7:32 AM, saran <[hidden email]> wrote:
Hello,

I have same problem.
I increased -d64 -Xms2.5g -Xmx2.5g still having same problem.
My ulimit is also good.
ulimit -Sn 4096
ulimit -Hn 65536

Please assist.

Thanks





--
View this message in context: http://riak-users.197444.n3.nabble.com/cannot-start-solr-no-logs-tp4033816p4034114.html
Sent from the Riak Users mailing list archive at Nabble.com.

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com



_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: cannot start solr, no logs

Robert Latko
Hi Saran,

I have a  5 node AWS c3.2xlarge instance cluster  running ubuntu 14.04lts and I have my solr set to the below (yeah I know, but -Xmx will never get the full 16g's!) ;

search.solr.jvm_options = -d64 -Xms1g -Xmx16g -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:G1HeapRegionSize=8m -XX:MaxGCPauseMillis=200
    -XX:+UseLargePages -XX:+AggressiveOpts

I changed out the default Java and load  1.8.45  (jdk-8u45-linux-x64.tar.gz)

Solr will spin up just find and process heavy queries under load like a champ.

Maybe on a smaller instances changing out the the default Java to 1.8.45+ and setting -Xms and -Xmx accordingly would work for you?

Also, check console.log for errors regarding solr.

Lastly, make sure the proper ports are open for solr to communicate across your nodes. ( search.solr.jmx_port = 8985 )


Robert





On 04/04/2016 09:52 PM, Vitaly E wrote:
Hi Saran,

Just noticed the link at the bottom. You should have given the context in your message.

In any case, I would check the total memory your machine has and how much of it is utilized by other processes.
 Try DECREASING the heap allocation for Solr, just to see it it starts - it looks like the requested memory just is not available.

Regards,
Vitaly

On Tue, Apr 5, 2016 at 7:45 AM, Vitaly E <[hidden email]> wrote:
Hi,

Could you give some more details? Which version of Riak? Your subject line suggests that you cannot start Solr, but what do you mean by this? Can you start Riak successfully? Where are you looking for logs?

Do you have search enabled in riak.conf (search = on)?

Regards,
Vitaly

On Tue, Apr 5, 2016 at 7:32 AM, saran <[hidden email]> wrote:
Hello,

I have same problem.
I increased -d64 -Xms2.5g -Xmx2.5g still having same problem.
My ulimit is also good.
ulimit -Sn 4096
ulimit -Hn 65536

Please assist.

Thanks





--
View this message in context: http://riak-users.197444.n3.nabble.com/cannot-start-solr-no-logs-tp4033816p4034114.html
Sent from the Riak Users mailing list archive at Nabble.com.

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com




_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: cannot start solr, no logs

saran
In reply to this post by Vitaly
Hello,

Raik version : 2.1.3

error.log

016-04-05 04:28:30.666 [error] <0.533.0> Supervisor yz_solr_sup had child yz_solr_proc started with yz_solr_proc:start_link("/var/lib/riak/yz", "/var/lib/riak/yz_temp", 8093, 8985) at <0.534.0> exit with reason {"solr OS process exited",1} in context child_terminated
2016-04-05 04:28:30.728 [error] <0.540.0> gen_server yz_solr_proc terminated with reason: {"solr OS process exited",1}
2016-04-05 04:28:30.728 [error] <0.540.0> CRASH REPORT Process yz_solr_proc with 0 neighbours exited with reason: {"solr OS process exited",1} in gen_server:terminate/6 line 744
2016-04-05 04:28:30.728 [error] <0.533.0> Supervisor yz_solr_sup had child yz_solr_proc started with yz_solr_proc:start_link("/var/lib/riak/yz", "/var/lib/riak/yz_temp", 8093, 8985) at <0.540.0> exit with reason {"solr OS process exited",1} in context child_terminated
2016-04-05 04:28:30.729 [error] <0.533.0> Supervisor yz_solr_sup had child yz_solr_proc started with yz_solr_proc:start_link("/var/lib/riak/yz", "/var/lib/riak/yz_temp", 8093, 8985) at <0.540.0> exit with reason reached_max_restart_intensity in context shutdown
2016-04-05 04:28:30.729 [error] <0.532.0> Supervisor yz_sup had child yz_solr_sup started with yz_solr_sup:start_link() at <0.533.0> exit with reason shutdown in context child_terminated
2016-04-05 04:28:30.729 [error] <0.532.0> Supervisor yz_sup had child yz_solr_sup started with yz_solr_sup:start_link() at <0.533.0> exit with reason reached_max_restart_intensity in context shutdown



crash.log

2016-04-05 04:28:30 =CRASH REPORT====
  crasher:
    initial call: yz_solr_proc:init/1
    pid: <0.540.0>
    registered_name: yz_solr_proc
    exception exit: {{"solr OS process exited",1},[{gen_server,terminate,6,[{file,"gen_server.erl"},{line,744}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
    ancestors: [yz_solr_sup,yz_sup,<0.531.0>]
    messages: [{'EXIT',#Port<0.9564>,normal}]
    links: [<0.533.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 376
    stack_size: 27
    reductions: 6445
  neighbours:
2016-04-05 04:28:30 =SUPERVISOR REPORT====
     Supervisor: {local,yz_solr_sup}
     Context:    child_terminated
     Reason:     {"solr OS process exited",1}
     Offender:   [{pid,<0.540.0>},{name,yz_solr_proc},{mfargs,{yz_solr_proc,start_link,["/var/lib/riak/yz","/var/lib/riak/yz_temp",8093,8985]}},{restart_type,permanent},{shutdown,5000},{child_type,worker}]

2016-04-05 04:28:30 =SUPERVISOR REPORT====
     Supervisor: {local,yz_solr_sup}
     Context:    shutdown
     Reason:     reached_max_restart_intensity
     Offender:   [{pid,<0.540.0>},{name,yz_solr_proc},{mfargs,{yz_solr_proc,start_link,["/var/lib/riak/yz","/var/lib/riak/yz_temp",8093,8985]}},{restart_type,permanent},{shutdown,5000},{child_type,worker}]

2016-04-05 04:28:30 =SUPERVISOR REPORT====
     Supervisor: {local,yz_sup}
     Context:    child_terminated
     Reason:     shutdown
     Offender:   [{pid,<0.533.0>},{name,yz_solr_sup},{mfargs,{yz_solr_sup,start_link,[]}},{restart_type,permanent},{shutdown,5000},{child_type,supervisor}]

2016-04-05 04:28:30 =SUPERVISOR REPORT====
     Supervisor: {local,yz_sup}
     Context:    shutdown
     Reason:     reached_max_restart_intensity
     Offender:   [{pid,<0.533.0>},{name,yz_solr_sup},{mfargs,{yz_solr_sup,start_link,[]}},{restart_type,permanent},{shutdown,5000},{child_type,supervisor}]

Please help.

Reply | Threaded
Open this post in threaded view
|

Re: cannot start solr, no logs

saran
Hello,

If I am not enabling search its starting successfully.
I am running m3.meedium ec2 instance(1vCPU,3.75GB RAM).

I changed values now :  search.solr.jvm_options = -d64 -Xms1g -Xmx3g -XX:+UseStringCache -XX:+UseCompressedOops

Please find below console.log

2016-04-05 06:01:37.502 [info] <0.7.0> Application yokozuna exited with reason: shutdown
2016-04-05 06:01:37.536 [info] <0.307.0>@riak_kv_app:prep_stop:232 Stopping application riak_kv - marked service down.
2016-04-05 06:01:37.537 [info] <0.307.0>@riak_kv_app:prep_stop:236 Unregistered pb services
2016-04-05 06:01:37.537 [info] <0.307.0>@riak_kv_app:prep_stop:241 unregistered webmachine routes
2016-04-05 06:01:37.541 [info] <0.307.0>@riak_kv_app:prep_stop:243 all active put FSMs completed
2016-04-05 06:01:37.541 [info] <0.371.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_hook) host stopping (<0.371.0>)
2016-04-05 06:01:37.541 [info] <0.372.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_hook) host stopping (<0.372.0>)
2016-04-05 06:01:37.542 [info] <0.364.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_reduce) host stopping (<0.364.0>)
2016-04-05 06:01:37.542 [info] <0.366.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_reduce) host stopping (<0.366.0>)
2016-04-05 06:01:37.542 [info] <0.365.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_reduce) host stopping (<0.365.0>)
2016-04-05 06:01:37.542 [info] <0.368.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_reduce) host stopping (<0.368.0>)
2016-04-05 06:01:37.542 [info] <0.369.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_reduce) host stopping (<0.369.0>)
2016-04-05 06:01:37.542 [info] <0.367.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_reduce) host stopping (<0.367.0>)
2016-04-05 06:01:37.543 [info] <0.357.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_map) host stopping (<0.357.0>)
2016-04-05 06:01:37.543 [info] <0.358.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_map) host stopping (<0.358.0>)
2016-04-05 06:01:37.543 [info] <0.360.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_map) host stopping (<0.360.0>)
2016-04-05 06:01:37.543 [info] <0.361.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_map) host stopping (<0.361.0>)
2016-04-05 06:01:37.543 [info] <0.359.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_map) host stopping (<0.359.0>)
2016-04-05 06:01:37.551 [info] <0.356.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_map) host stopping (<0.356.0>)
2016-04-05 06:01:37.555 [info] <0.355.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_map) host stopping (<0.355.0>)
2016-04-05 06:01:37.555 [info] <0.362.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_map) host stopping (<0.362.0>)
2016-04-05 06:01:37.558 [info] <0.307.0>@riak_kv_app:stop:254 Stopped  application riak_kv.
2016-04-05 06:01:37.602 [info] <0.159.0>@riak_core_app:stop:114 Stopped  application riak_core.

Please help.
Reply | Threaded
Open this post in threaded view
|

Re: cannot start solr, no logs

saran
Hello,

I am trying to run Riak on single node.

java version :
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)

Reply | Threaded
Open this post in threaded view
|

Re: cannot start solr, no logs

saran
Hello,

Yes, I am trying with search = on and its not starting. (search = off starting fine)
Os is debian 8 .

crash.log

** Generic server riak_core_capability terminating
** Last message in was {register,{riak_core,vnode_routing},{capability,[proxy,legacy],legacy,{riak_core,legacy_vnode_routing,[{true,legacy},{false,proxy}]}}}
** When Server state == {state,[],undefined,[],[],[]}
** Reason for termination ==
** {function_clause,[{orddict,fetch,['riak@192.168.0.88',[]],[{file,"orddict.erl"},{line,72}]},{riak_core_capability,renegotiate_capabilities,1,[{file,"src/riak_core_capability.erl"},
{line,441}]},{riak_core_capability,handle_call,3,[{file,"src/riak_core_capability.erl"},{line,213}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,585}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
2016-04-05 07:56:33 =CRASH REPORT====
  crasher:
    initial call: riak_core_capability:init/1
    pid: <0.203.0>
    registered_name: riak_core_capability
    exception exit: {{function_clause,[{orddict,fetch,['riak@192.168.0.88',[]],[{file,"orddict.erl"},{line,72}]},{riak_core_capability,renegotiate_capabilities,1,[{file,"src/riak_core_capability.erl"},{line,441}]},{riak_core_capability,handle_call,3,[{file,"src/riak_core_capability.erl"},{line,213}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,585}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]},[{gen_server,terminate,6,[{file,"gen_server.erl"},{line,744}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
    ancestors: [riak_core_sup,<0.160.0>]
    messages: []
    links: [<0.161.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 987
    stack_size: 27
    reductions: 921
  neighbours:
2016-04-05 07:56:33 =SUPERVISOR REPORT====
     Supervisor: {local,riak_core_sup}
     Context:    child_terminated
     Reason:     {function_clause,[{orddict,fetch,['riak@192.168.0.88',[]],[{file,"orddict.erl"},{line,72}]},{riak_core_capability,renegotiate_capabilities,1,[{file,"src/riak_core_capability.erl"},{line,441}]},{riak_core_capability,handle_call,3,[{file,"src/riak_core_capability.erl"},{line,213}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,585}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
     Offender:   [{pid,<0.203.0>},{name,riak_core_capability},{mfargs,{riak_core_capability,start_link,[]}},{restart_type,permanent},{shutdown,5000},{child_type,worker}]
016-04-05 07:56:33 =CRASH REPORT====
  crasher:
    initial call: application_master:init/4
    pid: <0.159.0>
    registered_name: []
    exception exit: {{bad_return,{{riak_core_app,start,[normal,[]]},{'EXIT',{{function_clause,[{orddict,fetch,['riak@192.168.0.88',[]],[{file,"orddict.erl"},{line,72}]},{riak_core_capability,renegotiate_capabilities,1,[{file,"src/riak_core_capability.erl"},{line,441}]},{riak_core_capability,handle_call,3,[{file,"src/riak_core_capability.erl"},{line,213}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,585}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]},{gen_server,call,[riak_core_capability,{register,{riak_core,vnode_routing},{capability,[proxy,legacy],legacy,{riak_core,legacy_vnode_routing,[{true,legacy},{false,proxy}]}}},infinity]}}}}},[{application_master,init,4,[{file,"application_master.erl"},{line,133}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
    ancestors: [<0.158.0>]
    messages: [{'EXIT',<0.160.0>,normal}]
    links: [<0.158.0>,<0.7.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 987
    stack_size: 27
    reductions: 197
  neighbours:


error.log

2016-04-05 07:56:21.658 [error] <0.161.0> Supervisor riak_core_sup had child riak_core_capability started with riak_core_capability:start_link() at <0.198.0> exit with reason no function clause matching orddict:fetch('riak@192.168.0.88', []) line 72 in context child_terminated
2016-04-05 07:56:21.659 [error] <0.159.0> CRASH REPORT Process <0.159.0> with 0 neighbours exited with reason: {{function_clause,[{orddict,fetch,['riak@192.168.0.88',[]],[{file,"orddict.erl"},{line,72}]},{riak_core_capability,renegotiate_capabilities,1,[{file,"src/riak_core_capability.erl"},{line,441}]},{riak_core_capability,handle_call,3,[{file,"src/riak_core_capability.erl"},{line,213}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,585}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]},{gen_server,call,[riak_core_capability,{register,{riak_core,vnode_routing},{capability,...}},...]}} in application_master:init/4 line 133
2016-04-05 07:56:33.488 [error] <0.203.0> gen_server riak_core_capability terminated with reason: no function clause matching orddict:fetch('riak@192.168.0.88', []) line 72
2016-04-05 07:56:33.488 [error] <0.203.0> CRASH REPORT Process riak_core_capability with 0 neighbours exited with reason: no function clause matching orddict:fetch('riak@192.168.0.88', []) line 72 in gen_server:terminate/6 line 744
2016-04-05 07:56:33.488 [error] <0.161.0> Supervisor riak_core_sup had child riak_core_capability started with riak_core_capability:start_link() at <0.203.0> exit with reason no function clause matching orddict:fetch('riak@192.168.0.88', []) line 72 in context child_terminated
2016-04-05 07:56:33.489 [error] <0.159.0> CRASH REPORT Process <0.159.0> with 0 neighbours exited with reason: {{function_clause,[{orddict,fetch,['riak@192.168.0.88',[]],[{file,"orddict.erl"},{line,72}]},{riak_core_capability,renegotiate_capabilities,1,[{file,"src/riak_core_capability.erl"},{line,441}]},{riak_core_capability,handle_call,3,[{file,"src/riak_core_capability.erl"},{line,213}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,585}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]},{gen_server,call,[riak_core_capability,{register,{riak_core,vnode_routing},{capability,...}},...]}} in application_master:init/4 line 133

console.log

016-04-05 07:56:32.402 [info] <0.7.0> Application exometer_core started on node 'riak@192.168.0.88'
2016-04-05 07:56:33.488 [error] <0.203.0> gen_server riak_core_capability terminated with reason: no function clause matching orddict:fetch('riak@192.168.0.88', []) line 72
2016-04-05 07:56:33.488 [error] <0.203.0> CRASH REPORT Process riak_core_capability with 0 neighbours exited with reason: no function clause matching orddict:fetch('riak@192.168.0.88', []) line 72 in gen_server:terminate/6 line 744
2016-04-05 07:56:33.488 [error] <0.161.0> Supervisor riak_core_sup had child riak_core_capability started with riak_core_capability:start_link() at <0.203.0> exit with reason no function clause matching orddict:fetch('riak@192.168.0.88', []) line 72 in context child_terminated
2016-04-05 07:56:33.489 [error] <0.159.0> CRASH REPORT Process <0.159.0> with 0 neighbours exited with reason: {{function_clause,[{orddict,fetch,['riak@192.168.0.88',[]],[{file,"orddict.erl"},{line,72}]},{riak_core_capability,renegotiate_capabilities,1,[{file,"src/riak_core_capability.erl"},{line,441}]},{riak_core_capability,handle_call,3,[{file,"src/riak_core_capability.erl"},{line,213}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,585}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]},{gen_server,call,[riak_core_capability,{register,{riak_core,vnode_routing},{capability,...}},...]}} in application_master:init/4 line 133
2016-04-05 07:56:33.490 [info] <0.7.0> Application riak_core exited with reason: {{function_clause,[{orddict,fetch,['riak@192.168.0.88',[]],[{file,"orddict.erl"},{line,72}]},{riak_core_capability,renegotiate_capabilities,1,[{file,"src/riak_core_capability.erl"},{line,441}]},{riak_core_capability,handle_call,3,[{file,"src/riak_core_capability.erl"},{line,213}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,585}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]},{gen_server,call,[riak_core_capability,{register,{riak_core,vnode_routing},{capability,...}},...]}}

Reply | Threaded
Open this post in threaded view
|

Re: cannot start solr, no logs

saran
Hello,

I tried below steps but no luck.

#rm -rf /var/lib/riak/ring/*
#riak start

error.log

2016-04-05 08:03:11.845 [error] <0.538.0> gen_server yz_solr_proc terminated with reason: {"solr OS process exited",1}
2016-04-05 08:03:11.845 [error] <0.538.0> CRASH REPORT Process yz_solr_proc with 0 neighbours exited with reason: {"solr OS process exited",1} in gen_server:terminate/6 line 744
2016-04-05 08:03:11.845 [error] <0.537.0> Supervisor yz_solr_sup had child yz_solr_proc started with yz_solr_proc:start_link("/var/lib/riak/yz", "/var/lib/riak/yz_temp", 8093, 8985) at <0.538.0> exit with reason {"solr OS process exited",1} in context child_terminated
2016-04-05 08:03:12.269 [error] <0.573.0> gen_server yz_solr_proc terminated with reason: {"solr OS process exited",1}
2016-04-05 08:03:12.269 [error] <0.573.0> CRASH REPORT Process yz_solr_proc with 0 neighbours exited with reason: {"solr OS process exited",1} in gen_server:terminate/6 line 744
2016-04-05 08:03:12.270 [error] <0.537.0> Supervisor yz_solr_sup had child yz_solr_proc started with yz_solr_proc:start_link("/var/lib/riak/yz", "/var/lib/riak/yz_temp", 8093, 8985) at <0.573.0> exit with reason {"solr OS process exited",1} in context child_terminated
2016-04-05 08:03:12.270 [error] <0.537.0> Supervisor yz_solr_sup had child yz_solr_proc started with yz_solr_proc:start_link("/var/lib/riak/yz", "/var/lib/riak/yz_temp", 8093, 8985) at <0.573.0> exit with reason reached_max_restart_intensity in context shutdown
2016-04-05 08:03:12.270 [error] <0.536.0> Supervisor yz_sup had child yz_solr_sup started with yz_solr_sup:start_link() at <0.537.0> exit with reason shutdown in context child_terminated
2016-04-05 08:03:12.270 [error] <0.536.0> Supervisor yz_sup had child yz_solr_sup started with yz_solr_sup:start_link() at <0.537.0> exit with reason reached_max_restart_intensity in context shutdown


crash.log

2016-04-05 08:03:12 =CRASH REPORT====
  crasher:
    initial call: yz_solr_proc:init/1
    pid: <0.573.0>
    registered_name: yz_solr_proc
    exception exit: {{"solr OS process exited",1},[{gen_server,terminate,6,[{file,"gen_server.erl"},{line,744}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
    ancestors: [yz_solr_sup,yz_sup,<0.535.0>]
    messages: [{'EXIT',#Port<0.10192>,normal}]
    links: [<0.537.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 376
    stack_size: 27
    reductions: 7926
  neighbours:
2016-04-05 08:03:12 =SUPERVISOR REPORT====
     Supervisor: {local,yz_solr_sup}
     Context:    child_terminated
     Reason:     {"solr OS process exited",1}
     Offender:   [{pid,<0.573.0>},{name,yz_solr_proc},{mfargs,{yz_solr_proc,start_link,["/var/lib/riak/yz","/var/lib/riak/yz_temp",8093,8985]}},{restart_type,permanent},{shutdown,5000},{child_type,worker}]

2016-04-05 08:03:12 =SUPERVISOR REPORT====
     Supervisor: {local,yz_solr_sup}
     Context:    shutdown
     Reason:     reached_max_restart_intensity
     Offender:   [{pid,<0.573.0>},{name,yz_solr_proc},{mfargs,{yz_solr_proc,start_link,["/var/lib/riak/yz","/var/lib/riak/yz_temp",8093,8985]}},{restart_type,permanent},{shutdown,5000},{child_type,worker}]

2016-04-05 08:03:12 =SUPERVISOR REPORT====
     Supervisor: {local,yz_sup}
     Context:    child_terminated
     Reason:     shutdown
     Offender:   [{pid,<0.537.0>},{name,yz_solr_sup},{mfargs,{yz_solr_sup,start_link,[]}},{restart_type,permanent},{shutdown,5000},{child_type,supervisor}]

2016-04-05 08:03:12 =SUPERVISOR REPORT====
     Supervisor: {local,yz_sup}
     Context:    shutdown
     Reason:     reached_max_restart_intensity
     Offender:   [{pid,<0.537.0>},{name,yz_solr_sup},{mfargs,{yz_solr_sup,start_link,[]}},{restart_type,permanent},{shutdown,5000},{child_type,supervisor}]


console.log

2016-04-05 08:03:12.271 [info] <0.7.0> Application yokozuna exited with reason: shutdown
2016-04-05 08:03:12.274 [info] <0.311.0>@riak_kv_app:prep_stop:232 Stopping application riak_kv - marked service down.
2016-04-05 08:03:12.274 [info] <0.311.0>@riak_kv_app:prep_stop:236 Unregistered pb services
2016-04-05 08:03:12.275 [info] <0.311.0>@riak_kv_app:prep_stop:241 unregistered webmachine routes
2016-04-05 08:03:12.287 [info] <0.311.0>@riak_kv_app:prep_stop:243 all active put FSMs completed
2016-04-05 08:03:12.287 [info] <0.375.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_hook) host stopping (<0.375.0>)
2016-04-05 08:03:12.288 [info] <0.376.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_hook) host stopping (<0.376.0>)
2016-04-05 08:03:12.288 [info] <0.368.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_reduce) host stopping (<0.368.0>)
2016-04-05 08:03:12.288 [info] <0.370.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_reduce) host stopping (<0.370.0>)
2016-04-05 08:03:12.288 [info] <0.369.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_reduce) host stopping (<0.369.0>)
2016-04-05 08:03:12.288 [info] <0.372.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_reduce) host stopping (<0.372.0>)
2016-04-05 08:03:12.288 [info] <0.373.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_reduce) host stopping (<0.373.0>)
2016-04-05 08:03:12.289 [info] <0.371.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_reduce) host stopping (<0.371.0>)
2016-04-05 08:03:12.289 [info] <0.360.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_map) host stopping (<0.360.0>)
2016-04-05 08:03:12.289 [info] <0.361.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_map) host stopping (<0.361.0>)
2016-04-05 08:03:12.289 [info] <0.363.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_map) host stopping (<0.363.0>)
2016-04-05 08:03:12.289 [info] <0.364.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_map) host stopping (<0.364.0>)
2016-04-05 08:03:12.289 [info] <0.362.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_map) host stopping (<0.362.0>)
2016-04-05 08:03:12.290 [info] <0.366.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_map) host stopping (<0.366.0>)
2016-04-05 08:03:12.290 [info] <0.359.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_map) host stopping (<0.359.0>)
2016-04-05 08:03:12.290 [info] <0.365.0>@riak_kv_js_vm:terminate:237 Spidermonkey VM (pool: riak_kv_js_map) host stopping (<0.365.0>)
2016-04-05 08:03:12.290 [info] <0.311.0>@riak_kv_app:stop:254 Stopped  application riak_kv.
2016-04-05 08:03:12.302 [info] <0.160.0>@riak_core_app:stop:114 Stopped  application riak_core.

Please help.
Reply | Threaded
Open this post in threaded view
|

Re: cannot start solr, no logs

saran
Hello,

I  have fixed it.

Issue was instance private ip.
I have changed below variable :
listener.protobuf.internal = <private-ip>:8087

It fixed the issue.