Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on start up #137

Open
prdanelli opened this issue Dec 17, 2020 · 0 comments
Open

Crash on start up #137

prdanelli opened this issue Dec 17, 2020 · 0 comments

Comments

@prdanelli
Copy link

Hello,

I'm getting this error on start up and totally no idea why.

gem version 2.20

solr_wrapper -v
Loading configuration from /home/paul/app/.solr_wrapper
Starting Solr 8.7.0 on port 8983 ... /home/paul/.rvm/gems/ruby-2.7.2@app/gems/solr_wrapper-2.2.0/lib/solr_wrapper/configuration.rb:105: warning: calling URI.open via Kernel#open is deprecated, call URI.open directly or use URI#open
/home/paul/.rvm/gems/ruby-2.7.2@app/gems/json-2.1.0/lib/json/common.rb:156: warning: Using the last argument as keyword parameters is deprecated
Traceback (most recent call last):
	9: from /home/paul/.rvm/gems/ruby-2.7.2@app/bin/ruby_executable_hooks:24:in `<main>'
	8: from /home/paul/.rvm/gems/ruby-2.7.2@app/bin/ruby_executable_hooks:24:in `eval'
	7: from /home/paul/.rvm/gems/ruby-2.7.2@app/bin/solr_wrapper:23:in `<main>'
	6: from /home/paul/.rvm/gems/ruby-2.7.2@app/bin/solr_wrapper:23:in `load'
	5: from /home/paul/.rvm/gems/ruby-2.7.2@app/gems/solr_wrapper-2.2.0/exe/solr_wrapper:113:in `<top (required)>'
	4: from /home/paul/.rvm/gems/ruby-2.7.2@app/gems/solr_wrapper-2.2.0/lib/solr_wrapper/instance.rb:64:in `wrap'
	3: from /home/paul/.rvm/gems/ruby-2.7.2@app/gems/solr_wrapper-2.2.0/exe/solr_wrapper:114:in `block in <top (required)>'
	2: from /home/paul/.rvm/gems/ruby-2.7.2@app/gems/solr_wrapper-2.2.0/lib/solr_wrapper/instance.rb:215:in `with_collection'
	1: from /home/paul/.rvm/gems/ruby-2.7.2@app/gems/solr_wrapper-2.2.0/lib/solr_wrapper/instance.rb:158:in `create'
/home/paul/.rvm/gems/ruby-2.7.2@app/gems/solr_wrapper-2.2.0/lib/solr_wrapper/instance.rb:321:in `exec': Failed to execute solr create:  (RuntimeError)
ERROR: Failed to create collection 'hydra-development' due to: Underlying core creation failed while creating collection: hydra-development

The related log entries are:

2020-12-17 11:35:25.878 ERROR (OverseerThreadFactory-18-thread-1-processing-n:127.0.1.1:8983_solr) [   ] o.a.s.c.a.c.OverseerCollectionMessageHandler Collection: hydra-development operation: create failed:org.apache.solr.common.SolrException: Underlying core creation failed while creating collection: hydra-development
        at org.apache.solr.cloud.api.collections.CreateCollectionCmd.call(CreateCollectionCmd.java:310)
        at org.apache.solr.cloud.api.collections.OverseerCollectionMessageHandler.processMessage(OverseerCollectionMessageHandler.java:264)
        at org.apache.solr.cloud.OverseerTaskProcessor$Runner.run(OverseerTaskProcessor.java:517)
        at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:218)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
java -version
openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.10)
OpenJDK 64-Bit Server VM (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.10, mixed mode, sharing)

During the boot process I ran ps aux | grep [s]olr in another window and got this. Then the crash happens and no Solr could be found.

paul       17384 13.2  0.5 181288 44956 pts/1    Sl+  11:45   0:00 ruby /home/paul/.rvm/gems/ruby-2.7.2/bin/solr_wrapper -v
paul       17405  1.0  0.0  19924  3916 pts/1    S+   11:45   0:00 bash /tmp/solr-8.7.0/bin/solr start -p 8983 -c
paul       17453  283  3.6 5618012 285208 pts/1  Sl+  11:45   0:05 java -server -Xms512m -Xmx512m -XX:+UseG1GC -XX:+PerfDisableSharedMem -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=250 -XX:+UseLargePages -XX:+AlwaysPreTouch -XX:+ExplicitGCInvokesConcurrent -Xlog:gc*:file=/tmp/solr-8.7.0/server/logs/solr_gc.log:time,uptime:filecount=9,filesize=20M -Dsolr.jetty.inetaccess.includes= -Dsolr.jetty.inetaccess.excludes= -DzkClientTimeout=30000 -DzkRun -Dsolr.log.dir=/tmp/solr-8.7.0/server/logs -Djetty.port=8983 -DSTOP.PORT=7983 -DSTOP.KEY=solrrocks -Duser.timezone=UTC -XX:-OmitStackTraceInFastThrow -Djetty.home=/tmp/solr-8.7.0/server -Dsolr.solr.home=/tmp/solr-8.7.0/server/solr -Dsolr.data.home= -Dsolr.install.dir=/tmp/solr-8.7.0 -Dsolr.default.confdir=/tmp/solr-8.7.0/server/solr/configsets/_default/conf -Xss256k -Dsolr.jetty.https.port=8983 -Dsolr.log.muteconsole -XX:OnOutOfMemoryError=/tmp/solr-8.7.0/bin/oom_solr.sh 8983 /tmp/solr-8.7.0/server/logs -jar start.jar --module=http
paul       17457  0.0  0.0  19792  2500 pts/1    S+   11:45   0:00 bash /tmp/solr-8.7.0/bin/solr start -p 8983 -c

Any help woud be much appreciated.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant