"cannot start: SolrCore 'collection1' is not available"

Hier finden YaCy User Hilfe wenn was nicht funktioniert oder anders funktioniert als man dachte. Bei offensichtlichen Fehlern diese bitte gleich in die Bugs (http://bugs.yacy.net) eintragen.
Forumsregeln
In diesem Forum geht es um Benutzungsprobleme und Anfragen für Hilfe. Wird dabei ein Bug identifiziert, wird der thread zur Bearbeitung in die Bug-Sektion verschoben. Wer hier also einen Thread eingestellt hat und ihn vermisst, wird ihn sicherlich in der Bug-Sektion wiederfinden.

"cannot start: SolrCore 'collection1' is not available"

Beitragvon 140#gast » Do Mär 13, 2014 4:59 pm

Während des Starts lädt er Daten in den RAM und fertigt folgendes Logfile an.
Danach beendet sich Yacy automatisch.

Da ich mit den Fehlermeldungen nichts richtiges gefunden habe, kopiere ich einfach mal das gesamte Logfile hier rein, in der Hoffnung das Leute mit dem gleichen Problem diesen Thread mithilfe von Suchmaschinen auffinden können.

S 2014/03/13 16:37:51 STARTUP YaCy version: 1.69/9141
S 2014/03/13 16:37:51 STARTUP Java version: 1.7.0_51
S 2014/03/13 16:37:51 STARTUP Operation system: Linux
S 2014/03/13 16:37:51 STARTUP Application root-path: /usr/share/yacy
S 2014/03/13 16:37:51 STARTUP Data root-path: /usr/share/yacy
S 2014/03/13 16:37:51 STARTUP Time zone: UTC+0100; UTC+0000 is 1394725071704
S 2014/03/13 16:37:51 STARTUP Maximum file system path length: 65535
S 2014/03/13 16:37:51 SWITCHBOARD Index Primary Path: /usr/share/yacy/DATA/INDEX
S 2014/03/13 16:37:51 SWITCHBOARD Index Archive Path: /usr/share/yacy/DATA/ARCHIVE
S 2014/03/13 16:37:51 SWITCHBOARD Lists Path: /usr/share/yacy/DATA/LISTS
S 2014/03/13 16:37:51 SWITCHBOARD HTDOCS Path: /usr/share/yacy/DATA/HTDOCS
S 2014/03/13 16:37:51 SWITCHBOARD Work Path: /usr/share/yacy/DATA/WORK
S 2014/03/13 16:37:51 SWITCHBOARD Dictionaries Path:/usr/share/yacy/DATA/DICTIONARIES
S 2014/03/13 16:37:51 SWITCHBOARD initializing libraries
S 2014/03/13 16:37:52 SWITCHBOARD Loading sessionid file defaults/sessionid.names
I 2014/03/13 16:37:52 HeapReader generating index for /usr/share/yacy/DATA/WORK/pkcounter.bheap, 0 MB. Please wait.
I 2014/03/13 16:37:52 HeapReader finished index generation for /usr/share/yacy/DATA/WORK/pkcounter.bheap, 1 entries, 0 gaps.
I 2014/03/13 16:37:52 Heap initializing heap /usr/share/yacy/DATA/WORK/pkcounter.bheap
I 2014/03/13 16:37:52 HeapReader saturation of api.bheap.x2OP0EQCehA5.idx: keylength = 11, vallength = 2, size = 21, maximum saving for index-compression = 0 MB, exact saving for value-compression = 0 MB
I 2014/03/13 16:37:52 HeapReader using a dump of the index of /usr/share/yacy/DATA/WORK/api.bheap.
I 2014/03/13 16:37:52 HeapReader BLOB /usr/share/yacy/DATA/WORK/api.bheap: merged 0 free records
I 2014/03/13 16:37:52 Heap initializing heap /usr/share/yacy/DATA/WORK/api.bheap
I 2014/03/13 16:37:52 HeapReader saturation of admin_bookmarks.bheap.14A-k5VEpSuJ.idx: keylength = 0, vallength = 2, size = 16, maximum saving for index-compression = 0 MB, exact saving for value-compression = 0 MB
I 2014/03/13 16:37:52 HeapReader using a dump of the index of /usr/share/yacy/DATA/WORK/admin_bookmarks.bheap.
I 2014/03/13 16:37:52 Heap initializing heap /usr/share/yacy/DATA/WORK/admin_bookmarks.bheap
I 2014/03/13 16:37:52 HeapReader saturation of robots.bheap.8oczy2gzOahw.idx: keylength = 3, vallength = 3, size = 1377, maximum saving for index-compression = 0 MB, exact saving for value-compression = 0 MB
I 2014/03/13 16:37:52 HeapReader using a dump of the index of /usr/share/yacy/DATA/WORK/robots.bheap.
I 2014/03/13 16:37:52 Heap initializing heap /usr/share/yacy/DATA/WORK/robots.bheap
I 2014/03/13 16:37:52 HeapReader saturation of rss.bheap.3Kg7GnUXd8ax.idx: keylength = 11, vallength = 3, size = 13841, maximum saving for index-compression = 0 MB, exact saving for value-compression = 0 MB
I 2014/03/13 16:37:52 HeapReader using a dump of the index of /usr/share/yacy/DATA/WORK/rss.bheap.
I 2014/03/13 16:37:52 HeapReader BLOB /usr/share/yacy/DATA/WORK/rss.bheap: merged 0 free records
I 2014/03/13 16:37:52 Heap initializing heap /usr/share/yacy/DATA/WORK/rss.bheap
I 2014/03/13 16:37:52 HeapReader saturation of searchfl.bheap.D3umj3Fc-zwn.idx: keylength = 2, vallength = 2, size = 61, maximum saving for index-compression = 0 MB, exact saving for value-compression = 0 MB
I 2014/03/13 16:37:52 HeapReader using a dump of the index of /usr/share/yacy/DATA/WORK/searchfl.bheap.
I 2014/03/13 16:37:52 Heap initializing heap /usr/share/yacy/DATA/WORK/searchfl.bheap
S 2014/03/13 16:37:52 SWITCHBOARD Starting Indexing Management
I 2014/03/13 16:37:52 Word hashCache.size = 73464
I 2014/03/13 16:37:52 SWITCHBOARD Initializing Segment '/usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS.
I 2014/03/13 16:37:55 HeapReader saturation of text.index.20140227183509729.blob.S35jYragmD-z.idx: keylength = 6, vallength = 5, size = 1324231, maximum saving for index-compression = 7 MB, exact saving for value-compression = 6 MB
I 2014/03/13 16:37:55 HeapReader using a dump of the index of /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140227183509729.blob.
I 2014/03/13 16:37:55 HeapReader BLOB /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140227183509729.blob: merged 0 free records
I 2014/03/13 16:37:57 HeapReader saturation of text.index.20140301181652551.blob.79LA4s5muCIu.idx: keylength = 6, vallength = 4, size = 1244815, maximum saving for index-compression = 7 MB, exact saving for value-compression = 4 MB
I 2014/03/13 16:37:57 HeapReader using a dump of the index of /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140301181652551.blob.
I 2014/03/13 16:37:57 HeapReader BLOB /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140301181652551.blob: merged 0 free records
I 2014/03/13 16:37:57 HeapReader saturation of text.index.20140303045421229.blob.GcrUZCNVscKp.idx: keylength = 5, vallength = 4, size = 11755, maximum saving for index-compression = 0 MB, exact saving for value-compression = 0 MB
I 2014/03/13 16:37:57 HeapReader using a dump of the index of /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140303045421229.blob.
I 2014/03/13 16:37:57 HeapReader saturation of text.index.20140303050345045.blob.GrJtllzR8J7d.idx: keylength = 5, vallength = 3, size = 939, maximum saving for index-compression = 0 MB, exact saving for value-compression = 0 MB
I 2014/03/13 16:37:57 HeapReader using a dump of the index of /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140303050345045.blob.
I 2014/03/13 16:37:59 HeapReader saturation of text.index.20140227183409725.blob.4gWQSqhR5sTv.idx: keylength = 7, vallength = 5, size = 1114803, maximum saving for index-compression = 7 MB, exact saving for value-compression = 5 MB
I 2014/03/13 16:37:59 HeapReader using a dump of the index of /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140227183409725.blob.
I 2014/03/13 16:37:59 HeapReader BLOB /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140227183409725.blob: merged 0 free records
I 2014/03/13 16:38:01 HeapReader saturation of text.index.20140227183308950.blob.D1A4vQHKAWVS.idx: keylength = 6, vallength = 4, size = 1055585, maximum saving for index-compression = 6 MB, exact saving for value-compression = 4 MB
I 2014/03/13 16:38:01 HeapReader using a dump of the index of /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140227183308950.blob.
I 2014/03/13 16:38:01 HeapReader BLOB /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140227183308950.blob: merged 0 free records
I 2014/03/13 16:38:06 HeapReader saturation of text.index.20140227183008137.blob.k-NRMGx7q4Jb.idx: keylength = 7, vallength = 5, size = 3301743, maximum saving for index-compression = 22 MB, exact saving for value-compression = 15 MB
I 2014/03/13 16:38:06 HeapReader using a dump of the index of /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140227183008137.blob.
I 2014/03/13 16:38:06 HeapReader BLOB /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140227183008137.blob: merged 0 free records
I 2014/03/13 16:38:06 HeapReader saturation of text.index.20140303030519876.blob.TWWFWpV1ivpK.idx: keylength = 5, vallength = 4, size = 36151, maximum saving for index-compression = 0 MB, exact saving for value-compression = 0 MB
I 2014/03/13 16:38:06 HeapReader using a dump of the index of /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140303030519876.blob.
I 2014/03/13 16:38:06 HeapReader BLOB /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140303030519876.blob: merged 0 free records
I 2014/03/13 16:38:06 HeapReader saturation of text.index.20140302193612243.blob.Ma_ipHg5YNs7.idx: keylength = 6, vallength = 4, size = 113118, maximum saving for index-compression = 0 MB, exact saving for value-compression = 0 MB
I 2014/03/13 16:38:06 HeapReader using a dump of the index of /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140302193612243.blob.
I 2014/03/13 16:38:06 HeapReader BLOB /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140302193612243.blob: merged 0 free records
I 2014/03/13 16:38:06 HeapReader saturation of citation.index.20140301123650998.blob.0HT_lLRtr3hy.idx: keylength = 4, vallength = 3, size = 51454, maximum saving for index-compression = 0 MB, exact saving for value-compression = 0 MB
I 2014/03/13 16:38:06 HeapReader using a dump of the index of /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/citation.index.20140301123650998.blob.
I 2014/03/13 16:38:09 HeapReader saturation of citation.index.20140227183011471.blob.Xbw4RsoAJpxT.idx: keylength = 11, vallength = 4, size = 1401716, maximum saving for index-compression = 14 MB, exact saving for value-compression = 5 MB
I 2014/03/13 16:38:09 HeapReader using a dump of the index of /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/citation.index.20140227183011471.blob.
I 2014/03/13 16:38:11 HeapReader saturation of citation.index.20140301092748588.blob.rsC_Cr8D9Rc3.idx: keylength = 11, vallength = 4, size = 1334151, maximum saving for index-compression = 13 MB, exact saving for value-compression = 5 MB
I 2014/03/13 16:38:11 HeapReader using a dump of the index of /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/citation.index.20140301092748588.blob.
D 2014/03/13 16:38:11 initializeCoreConf overwrite /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/solr_46/collection1/conf/solrcore.properties with /usr/share/yacy/defaults/solr/solrcore.properties
D 2014/03/13 16:38:11 initializeCoreConf overwrite /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/solr_46/webgraph/conf/solrcore.properties with /usr/share/yacy/defaults/solr/solrcore.properties
I 2014/03/13 16:38:11 org.apache.solr.core.ConfigSolr Loading container configuration from /usr/share/yacy/defaults/solr/solr.xml
I 2014/03/13 16:38:12 org.apache.solr.logging.LogWatcher SLF4J impl is org.slf4j.impl.JDK14LoggerFactory
I 2014/03/13 16:38:12 org.apache.solr.logging.LogWatcher Registering Log Listener [JUL (org.slf4j.impl.JDK14LoggerFactory)]
E 2014/03/13 16:38:15 org.apache.solr.core.CoreContainer Unable to create core: collection1
org.apache.solr.common.SolrException: Error opening new searcher
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:834)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:625)
at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:562)
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:597)
at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:251)
at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:243)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1477)
at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1589)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:821)
... 11 more
Caused by: org.apache.lucene.index.CorruptIndexException: codec header mismatch: actual header=733355355 vs expected header=1071082519 (resource: MMapIndexInput(path="/var/lib/yacy/INDEX/freeworld/SEGMENTS/solr_46/collection1/data/index/_3pee.fnm"))
at org.apache.lucene.codecs.CodecUtil.checkHeader(CodecUtil.java:128)
at org.apache.lucene.codecs.lucene46.Lucene46FieldInfosReader.read(Lucene46FieldInfosReader.java:56)
at org.apache.lucene.index.SegmentReader.readFieldInfos(SegmentReader.java:214)
at org.apache.lucene.index.IndexWriter.getFieldNumberMap(IndexWriter.java:817)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:765)
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:267)
at org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:110)
at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1440)
... 13 more
E 2014/03/13 16:38:15 org.apache.solr.core.CoreContainer null:org.apache.solr.common.SolrException: Unable to create core: collection1
at org.apache.solr.core.CoreContainer.recordAndThrow(CoreContainer.java:986)
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:606)
at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:251)
at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:243)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:834)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:625)
at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:562)
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:597)
... 8 more
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1477)
at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1589)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:821)
... 11 more
Caused by: org.apache.lucene.index.CorruptIndexException: codec header mismatch: actual header=733355355 vs expected header=1071082519 (resource: MMapIndexInput(path="/var/lib/yacy/INDEX/freeworld/SEGMENTS/solr_46/collection1/data/index/_3pee.fnm"))
at org.apache.lucene.codecs.CodecUtil.checkHeader(CodecUtil.java:128)
at org.apache.lucene.codecs.lucene46.Lucene46FieldInfosReader.read(Lucene46FieldInfosReader.java:56)
at org.apache.lucene.index.SegmentReader.readFieldInfos(SegmentReader.java:214)
at org.apache.lucene.index.IndexWriter.getFieldNumberMap(IndexWriter.java:817)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:765)
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:267)
at org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:110)
at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1440)
... 13 more

I 2014/03/13 16:38:15 SolrEmbeddedInstance detected default solr core: collection1
E 2014/03/13 16:38:15 STARTUP YaCy cannot start: SolrCore 'collection1' is not available due to init failure: Error opening new searcher
org.apache.solr.common.SolrException: SolrCore 'collection1' is not available due to init failure: Error opening new searcher
at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:823)
at net.yacy.cora.federate.solr.instance.EmbeddedInstance.<init>(EmbeddedInstance.java:89)
at net.yacy.search.index.Fulltext.connectLocalSolr(Fulltext.java:133)
at net.yacy.search.Switchboard.<init>(Switchboard.java:508)
at net.yacy.yacy.startup(yacy.java:199)
at net.yacy.yacy.main(yacy.java:690)
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:834)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:625)
at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:562)
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:597)
at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:251)
at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:243)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1477)
at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1589)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:821)
... 11 more
Caused by: org.apache.lucene.index.CorruptIndexException: codec header mismatch: actual header=733355355 vs expected header=1071082519 (resource: MMapIndexInput(path="/var/lib/yacy/INDEX/freeworld/SEGMENTS/solr_46/collection1/data/index/_3pee.fnm"))
at org.apache.lucene.codecs.CodecUtil.checkHeader(CodecUtil.java:128)
at org.apache.lucene.codecs.lucene46.Lucene46FieldInfosReader.read(Lucene46FieldInfosReader.java:56)
at org.apache.lucene.index.SegmentReader.readFieldInfos(SegmentReader.java:214)
at org.apache.lucene.index.IndexWriter.getFieldNumberMap(IndexWriter.java:817)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:765)
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:267)
at org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:110)
at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1440)
... 13 more



Ich würde ja gerne mal testweise Yacy neu drauf klöppeln, habe aber Angst das mir APT den DATA Ordner auch entfernt.
Kann ich das gefahrlos machen?
140#gast
 
Beiträge: 5
Registriert: Fr Okt 11, 2013 10:01 pm

Re: "cannot start: SolrCore 'collection1' is not available"

Beitragvon 140#gast » Mo Mär 17, 2014 2:44 pm

Ich habe heute nun mal Yacy neu installiert.

Glücklicherweise habe ich das DATA Verzeichnis vor dem deinstallieren gesichert.
Ein "apt-get remove yacy" unter Debian entfernt auch das /yar/lib/yacy Verzeichnis, so dass der komplette Index weg gewesen wäre.
Unter Archlinux ist dem nicht so.

Jungfäulich frisch aufgesetzt mit leeren Index startet yacy.
Sobald ich aber wieder das ursprüngliche DATA Verzeichnis herstelle, erscheint im Log die bekannte Fehlermeldung.
Ich weiß jetzt leider nicht welche Verzeichnisse unter DATA gelöscht werden , bzw. aus einer jungfräulichen yacy Installation übernommen werden können.
140#gast
 
Beiträge: 5
Registriert: Fr Okt 11, 2013 10:01 pm


Zurück zu Fragen und Antworten

Wer ist online?

Mitglieder in diesem Forum: Bing [Bot], Google [Bot] und 3 Gäste