相关疑难解决方法(0)

如何修复:错误创建SolrCore'gettingstarted':无法创建核心

当我尝试在solr中创建新内核时,我收到此错误.

root@ubuntu:/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
Run Code Online (Sandbox Code Playgroud)

此外,如果我尝试替代创建,它给我同样的错误:

root@ubuntu:/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
Run Code Online (Sandbox Code Playgroud)

在浏览器中,当我尝试访问solr管理面板时,它会显示如下通知:

SolrCore …
Run Code Online (Sandbox Code Playgroud)

lucene solr solr5

19
推荐指数
3
解决办法
3万
查看次数

标签 统计

lucene ×1

solr ×1

solr5 ×1