【发布时间】:2019-10-05 23:51:16
【问题描述】:
我在 CentOS 7 上安装了 apache solr 以点击此链接 https://computingforgeeks.com/install-apache-solr-on-centos-fedora/
安装完成后,solr状态为
运行此命令后
sudo systemctl enable solr
显示下面的消息
solr.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig solr on
我运行了创建 testcollection 的命令。
sudo su - solr -c "/opt/solr/bin/solr create -c testcollection -n data_driven_schema_configs"
运行命令后,出现如下错误
ERROR: Error CREATEing SolrCore 'testcollection': Unable to create core [tpcollection3] Caused by: null
我能得到任何关于成功创建集合或核心的建议吗? 问题是
1. Why cannot enable solr on centos 7?
2. Why cannot create collection or core?
【问题讨论】: