How to fix: Error CREATEing SolrCore 'gettingstarted': Unable to create core

后端 未结 7 2003
时光说笑
时光说笑 2021-02-01 05:44

I\'m getting this error when I try to create a new core in solr.

root@ubuntu:/opt/solr# bin/solr create -c gettingstarted -n data_driven_schema_configs

Setup n         


        
7条回答
  •  长情又很酷
    2021-02-01 06:08

    I found this as the solution:

    sudo su - solr -c "/opt/solr/bin/solr create -c mycore"
    

    More information here: https://www.howtoforge.com/tutorial/how-to-install-and-configure-solr-on-ubuntu-1604/

提交回复
热议问题