LStatus 500 - {msg=SolrCore 'collection1' is not available due to init failure: Could not load conf

在Linux环境下安装并配置solr时,输入网址(如http://localhost:8080/solr)时显示Status 500 - {msg=SolrCore 'collection1' is not available due to init failure: Could not load conf 。。错误。

原因: solr服务器无法找到solrhome的位置,即Tomcat的web.xml配置错误.如下图所示

注:本人sTomcat的web.xml的位置/usr/local/solr/tomcat/apache-tomcat-7.0.47/webapps/solr/WEB-INF

[root@localhost WEB-INF]# vim web.xml(进入web.xml并修改)

大概在13%的位置,<env-entry-value>的值路径(solr服务器的solrhome的位置)有无错误




猜你喜欢

转载自blog.csdn.net/butterfly_resting/article/details/80350988