Created
January 9, 2021 15:03
-
-
Save chatman/8abdb541c5c603bf249537d200ee07c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ishan@computadora code] $ tar -xf solr-8.7.0.tgz | |
[ishan@computadora code] $ cd solr-8.7.0/ | |
[ishan@computadora solr-8.7.0] $ bin/solr -c | |
*** [WARN] *** Your open file limit is currently 1024. | |
It should be set to 65000 to avoid operational disruption. | |
If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh | |
Waiting up to 180 seconds to see Solr running on port 8983 [\] | |
Started Solr server on port 8983 (pid=723496). Happy searching! | |
[ishan@computadora solr-8.7.0] $ curl http://localhost:8983/api/node/health | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> | |
<title>Error 404 javax.servlet.UnavailableException: Error processing the request. CoreContainer is either not initialized or shutting down.</title> | |
</head> | |
<body><h2>HTTP ERROR 404 javax.servlet.UnavailableException: Error processing the request. CoreContainer is either not initialized or shutting down.</h2> | |
<table> | |
<tr><th>URI:</th><td>/solr/____v2/node/health</td></tr> | |
<tr><th>STATUS:</th><td>404</td></tr> | |
<tr><th>MESSAGE:</th><td>javax.servlet.UnavailableException: Error processing the request. CoreContainer is either not initialized or shutting down.</td></tr> | |
<tr><th>SERVLET:</th><td>default</td></tr> | |
<tr><th>CAUSED BY:</th><td>javax.servlet.ServletException: javax.servlet.UnavailableException: Error processing the request. CoreContainer is either not initialized or shutting down.</td></tr> | |
<tr><th>CAUSED BY:</th><td>javax.servlet.UnavailableException: Error processing the request. CoreContainer is either not initialized or shutting down.</td></tr> | |
</table> | |
<h3>Caused by:</h3><pre>javax.servlet.ServletException: javax.servlet.UnavailableException: Error processing the request. CoreContainer is either not initialized or shutting down. | |
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:162) | |
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) | |
at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322) | |
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) | |
at org.eclipse.jetty.server.Server.handle(Server.java:500) | |
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) | |
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547) | |
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) | |
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273) | |
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) | |
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) | |
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) | |
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) | |
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) | |
at java.base/java.lang.Thread.run(Thread.java:834) | |
Caused by: javax.servlet.UnavailableException: Error processing the request. CoreContainer is either not initialized or shutting down. | |
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:364) | |
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:345) | |
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1596) | |
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545) | |
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) | |
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:590) | |
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) | |
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) | |
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610) | |
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) | |
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1300) | |
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) | |
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485) | |
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580) | |
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) | |
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1215) | |
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) | |
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:221) | |
at org.eclipse.jetty.server.handler.InetAccessHandler.handle(InetAccessHandler.java:177) | |
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146) | |
... 14 more | |
</pre> | |
</body> | |
</html> | |
[ishan@computadora solr-8.7.0] $ bin/solr stop | |
Sending stop command to Solr running on port 8983 ... waiting up to 180 seconds to allow Jetty process 723496 to stop gracefully. | |
[ishan@computadora solr-8.7.0] $ cd ..; tar -xf solr-8.6.3.tgz; cd solr-8.6.3 | |
[ishan@computadora solr-8.6.3] $ bin/solr -c | |
*** [WARN] *** Your open file limit is currently 1024. | |
It should be set to 65000 to avoid operational disruption. | |
If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh | |
Waiting up to 180 seconds to see Solr running on port 8983 [\] | |
Started Solr server on port 8983 (pid=724541). Happy searching! | |
[ishan@computadora solr-8.6.3] $ curl http://localhost:8983/api/node/health | |
{ | |
"responseHeader":{ | |
"status":0, | |
"QTime":0}, | |
"status":"OK"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment