AnsweredAssumed Answered

Scheduled Solr4 Backup

Question asked by marcio on May 12, 2015
Hello…
Im getting this error at catalina.out and I dont have idea whats wrong:
Thank you any reply.

2015-05-12 04:00:01,054  ERROR [solr.servlet.SolrDispatchFilter] [http-bio-8443-exec-3] null:org.apache.solr.common.SolrException: SolrCore 'archive' is not available due to init failure: Error opening new searcher
   at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:753)
   at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:299)
   at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
   at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
   at org.apache.solr.core.SolrCore.<init>(SolrCore.java:868)
   at org.apache.solr.core.SolrCore.<init>(SolrCore.java:643)
   at org.apache.solr.core.CoreContainer.create(CoreContainer.java:556)
   at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:261)
   at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:253)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   … 3 more
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
   at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1560)
   at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1672)
   at org.apache.solr.core.SolrCore.<init>(SolrCore.java:840)
   … 10 more
Caused by: java.nio.file.NoSuchFileException: /data/alf_data/solr4/index/archive/SpacesStore/index/segments_tu
   at sun.nio.fs.UnixException.translateToIOException(Unknown Source)
   at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
   at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
   at sun.nio.fs.UnixFileSystemProvider.newFileChannel(Unknown Source)
   at java.nio.channels.FileChannel.open(Unknown Source)
   at java.nio.channels.FileChannel.open(Unknown Source)
   at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:196)
   at org.apache.lucene.store.NRTCachingDirectory.openInput(NRTCachingDirectory.java:232)
   at org.apache.lucene.store.Directory.openChecksumInput(Directory.java:113)
   at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:344)
   at org.apache.lucene.index.SegmentInfos$1.doBody(SegmentInfos.java:457)
   at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:912)
   at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:758)
   at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:453)
   at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:795)
   at org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:77)
   at org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:64)
   at org.apache.solr.update.DefaultSolrCoreState.createMainIndexWriter(DefaultSolrCoreState.java:279)
   at org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:111)
   at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1523)
   … 12 more

2015-05-12 04:00:01,068  ERROR [quartz.core.JobRunShell] [SearchScheduler_Worker-8] Job DEFAULT.search.archiveCoreBackupJobDetail threw an unhandled Exception:
org.alfresco.error.AlfrescoRuntimeException: 04124312 Backup for core archive failed ….
   at org.alfresco.repo.search.impl.solr.SolrBackupClient.executeImpl(SolrBackupClient.java:187)
   at org.alfresco.repo.search.impl.solr.SolrBackupClient.execute(SolrBackupClient.java:124)
   at org.alfresco.repo.search.impl.solr.SolrBackupJob.execute(SolrBackupJob.java:58)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Caused by: org.apache.solr.client.solrj.SolrServerException: Error executing query
   at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
   at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
   at org.alfresco.repo.solr.SOLRAdminClient.query(SOLRAdminClient.java:196)
   at org.alfresco.repo.search.impl.solr.SolrBackupClient.executeImpl(SolrBackupClient.java:176)
   … 4 more
Caused by: org.apache.solr.common.SolrException: Internal Server Error

Internal Server Error

Outcomes