5

drupal Web サイトで Apache Solr を使用しています。Tomcat 6 がインストールされ、schema.xml、solr-config.xml、および protwords.txt ファイルを、モジュール インストール ディレクトリに存在する新しいファイルに置き換えました。

localhost:8983 を実行すると、このエラーが発生します。

Log4j (org.slf4j.impl.Log4jLoggerFactory)

2528 [coreLoadExecutor-3-thread-1] ERROR org.apache.solr.core.CoreContainer  – Failed to load file /opt/solr-4.5.1/example/solr/collection1/conf/solrconfig.xml

2529 [coreLoadExecutor-3-thread-1] ERROR org.apache.solr.core.CoreContainer  – Unable to create core: egitraining-dev.esc.rl.ac.uk
org.apache.solr.common.SolrException: Could not load config file /opt/solr-4.5.1/example/solr/collection1/conf/solrconfig.xml
        at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:490)
        at org.apache.solr.core.CoreContainer.create(CoreContainer.java:557)
        at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:247)
        at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:239)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:679)
Caused by: java.io.IOException: Can't find resource 'solrconfig.xml' in classpath or 'solr/collection1/conf/conf/', cwd=/opt/solr-4.5.1/example
        at org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:322)
        at org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:287)
        at org.apache.solr.core.Config.<init>(Config.java:116)
        at org.apache.solr.core.Config.<init>(Config.java:86)
        at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:129)
        at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:487)
        ... 11 more

2531 [coreLoadExecutor-3-thread-1] ERROR org.apache.solr.core.CoreContainer  – null:org.apache.solr.common.SolrException: Unable to create core: egitraining-dev.esc.rl.ac.uk
        at org.apache.solr.core.CoreContainer.recordAndThrow(CoreContainer.java:934)
        at org.apache.solr.core.CoreContainer.create(CoreContainer.java:566)
        at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:247)
        at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:239)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:679)
Caused by: org.apache.solr.common.SolrException: Could not load config file /opt/solr-4.5.1/example/solr/collection1/conf/solrconfig.xml
        at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:490)
        at org.apache.solr.core.CoreContainer.create(CoreContainer.java:557)
        ... 10 more
Caused by: java.io.IOException: Can't find resource 'solrconfig.xml' in classpath or 'solr/collection1/conf/conf/', cwd=/opt/solr-4.5.1/example
        at org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:322)
        at org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:287)
        at org.apache.solr.core.Config.<init>(Config.java:116)
        at org.apache.solr.core.Config.<init>(Config.java:86)
        at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:129)
        at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:487)
        ... 11 more


2533 [main] INFO  org.apache.solr.servlet.SolrDispatchFilter  – user.dir=/opt/solr-4.5.1/example

2533 [main] INFO  org.apache.solr.servlet.SolrDispatchFilter  – SolrDispatchFilter.init() done

2576 [main] INFO  org.eclipse.jetty.server.AbstractConnector  – Started SocketConnector@0.0.0.0:8983

誰でも助けてくれますか?

ありがとう

4

1 に答える 1