我得到這個錯誤,當我嘗試創建Solr中新的核心。如何修復:錯誤CREATEing SolrCore「gettingstarted」:無法創建核心
[email protected]:/opt/solr# bin/solr create -c gettingstarted -n data_driven_schema_configs
Setup new core instance directory:
/var/solr/data/gettingstarted
Creating new core 'gettingstarted' using command:
http://localhost:8983/solr/admin/cores?action=CREATE&name=gettingstarted&instanceDir=gettingstarted
Failed to create core 'gettingstarted' due to: Error CREATEing SolrCore 'gettingstarted': Unable to create core [gettingstarted] Caused by: /var/solr/data/gettingstarted/data
另外,如果我嘗試創建或者,它給了我同樣的錯誤:
[email protected]:/opt/solr# bin/solr create -c mycore
Setup new core instance directory:
/var/solr/data/mycore
Creating new core 'mycore' using command:
http://localhost:8983/solr/admin/cores?action=CREATE&name=mycore&instanceDir=mycore
Failed to create core 'mycore' due to: Error CREATEing SolrCore 'mycore': Unable to create core [mycore] Caused by: /var/solr/data/mycore/data
在瀏覽器中,當我試圖訪問Solr管理面板,它會顯示一個通知,如:
SolrCore Initialization Failures
opt/solr/example/exampledocs/*.xml: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: /var/solr/data/opt/solr/example/exampledocs/*.xml/data
快照附着。
你找到解決辦法嗎? 我有完全相同的情況,沒有任何答案正在工作 –