gpt4 book ai didi

apache - Solr 运行良好,但当我尝试打开控制台时出现 “SolrCore Initialization Failures” “localhost:8983”

转载 作者:行者123 更新时间:2023-12-04 19:44:43 25 4
gpt4 key购买 nike

我正在使用 CentOs-6.7(已安装 Java 最新版本)并从 http://a.mbbsindia.com/lucene/solr/5.3.2/ 下载了 solr-5.3.2.tgz .然后我解压缩到我的目录/opt/solr-5.3.2 然后我使用命令启动 solr

bin/solr start -e cloud -noprompt

之后 solr 开始正常,没有任何问题,然后我检查端口是否正常监听并建立。启动 solr 后在我的打印下方。
Welcome to the SolrCloud example!

Starting up 2 Solr nodes for your example SolrCloud cluster.

Creating Solr home directory /opt/solr-5.3.2/example/cloud/node1/solr
Cloning /opt/solr-5.3.2/example/cloud/node1 into
/opt/solr-5.3.2/example/cloud/node2

Starting up Solr on port 8983 using command:
bin/solr start -cloud -p 8983 -s "example/cloud/node1/solr"

Waiting up to 30 seconds to see Solr running on port 8983 [\]
Started Solr server on port 8983 (pid=8560). Happy searching!

Starting up Solr on port 7574 using command:
bin/solr start -cloud -p 7574 -s "example/cloud/node2/solr" -z localhost:9983

Waiting up to 30 seconds to see Solr running on port 7574 [\]
Started Solr server on port 7574 (pid=8776). Happy searching!

Connecting to ZooKeeper at localhost:9983 ...
Uploading /opt/solr-5.3.2/server/solr/configsets/data_driven_schema_configs/conf for config gettingstarted to ZooKeeper at localhost:9983

Creating new collection 'gettingstarted' using command:
http://localhost:8983/solr/admin/collections?action=CREATE&name=gettingstarted&numShards=2&replicationFactor=2&maxShardsPerNode=2&collection.configName=gettingstarted

{
"responseHeader":{
"status":0,
"QTime":22130},
"success":{"":{
"responseHeader":{
"status":0,
"QTime":20693},
"core":"gettingstarted_shard2_replica2"}}}

Enabling auto soft-commits with maxTime 3 secs using the Config API

POSTing request to Config API: http://localhost:8983/solr/gettingstarted/config
{"set-property":{"updateHandler.autoSoftCommit.maxTime":"3000"}}
Successfully set-property updateHandler.autoSoftCommit.maxTime to 3000


SolrCloud example running, please visit: http://localhost:8983/solr

现在问题是当我尝试使用 http://localhost:8983/solr 打开 solr 控制台时或 http://localhost:8983 ,我得到了错误
"SolrCore Initialization Failures"

并且连接丢失。

注意: list

端口正在监听

核心是使用命令创建的

多次重启

最佳答案

最后我得到了我的问题的解决方案,

首先需要删除(卸载)所有与 solr server 相关的数据。
使用 find 命令搜索名称 Solr

Find -name *solr*

然后下载最新的zip文件 solr-5.3.2.tgz使用 tar -xvf solr-5.3.2.tgz 解压

然后将解压后的文件夹移至 /opt/solr-5.3.2然后启动solr服务器

bin/solr start -e cloud -noprompt



现在 solr 没有任何问题

我的问题

我正在检查 lynx 浏览器以检查它是否正常工作。
在那个终端浏览器中,我遇到了这种错误,但它工作正常

备注

请检查其他远程浏览器
像 10.23.0.45:8983/solr

关于apache - Solr 运行良好,但当我尝试打开控制台时出现 “SolrCore Initialization Failures” “localhost:8983”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35456819/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com