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

后端 未结 7 2178
时光说笑
时光说笑 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:03

    Don't run solr script as root user (it is not recommended). You should run as solr user, e.g.:

    sudo -u solr ./bin/solr create -c mycore
    

提交回复
热议问题