Usually a message like "SolrCore 'corexxx' is not available due to init failure" means that you had a syntax error in your schema.xml or solrconfig.xml so that it could not be successfully processed by Solr (which is done in the "init" method.)

Do a diff between your schema and config files before and after your change to see what your mistake might be. Feel free to post the two diffs here if your mistake is not obvious.

The message "s XML file does not appear to have any style information associated with it" suggests that you mangled some of the XML elements. It appears that you mangled that message as well! Feel free to post the complete message here as well.

-- Jack Krupansky

-----Original Message----- From: Manikandan Saravanan
Sent: Monday, May 26, 2014 1:52 AM
To: solr-user@lucene.apache.org
Cc: Varuna Venkatesh
Subject: Solr - Cores not initialised

Hi,

I’m running Solr 4.6.0 on an Ubuntu box. I recently made the following changes:

1. I edited Schema.xml to index my data by a column called timestamp.
2. I then ran the reload procedure as mentioned here https://wiki.apache.org/solr/CoreAdmin#RELOAD

After that, when I restarted Solr, I get a big red alert saying the following: core0: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: No such core: core0 core1: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: No such core: core1 If I try to visit http://<IP Address>:8983/solr/core0/admin or http://<IP Address>:8983/solr/core1/admin, I get this

s XML file does not appear to have any style information associated with it. The document tree is shown below.
<response>
<lst name="error">
<str name="msg">
SolrCore 'core0' is not available due to init failure: No such core: core0
</str>
<str name="trace">
org.apache.solr.common.SolrException: SolrCore 'core0' is not available due to init failure: No such core: core0 at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:818) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:289) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:197) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:368) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72) at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:744) Caused by: org.apache.solr.common.SolrException: No such core: core0 at org.apache.solr.core.CoreContainer.reload(CoreContainer.java:675) at org.apache.solr.handler.admin.CoreAdminHandler.handleReloadAction(CoreAdminHandler.java:717) at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:178) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135) at org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDispatchFilter.java:662) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:248) ... 26 more
</str>
<int name="code">500</int>
</lst>
</response>

--
Manikandan Saravanan
Architect - Technology
TheSocialPeople

Reply via email to