SolrCore正在加载作为Windows服务运行

时间:2018-04-02 23:45:59

标签: windows solr windows-services sitecore

以管理员身份登录Windows Server 2016,我可以从命令行运行Solr:bin\solr.cmd start -p 8983 -f

我已将Solr配置为作为Windows服务运行 - 以相同的用户身份运行,使用相同的命令,相同的启动目录等 - 但是在加载时,上游应用程序会返回以下错误(Sitecore xConnect,虽然这不应该有所作为)

{metadata={error-class=org.apache.solr.common.SolrException,root-error-class=org.apache.solr.common.SolrException},msg=SolrCore is loading,code=503}

重申一下,当Solr从命令行启动时,一切正常,只有当它作为Windows服务运行时才会出错。

Solr版本:6.6.3
Windows版本:Server 2016
环境:AWS(m5.large EC2实例)

2 个答案:

答案 0 :(得分:0)

Sitecore兼容性表说使用Solr 6.6.1和Sitecore,你应该仍然使用6.6.2,因为它修复了Solr 6.6.1中可能影响SIF安装的错误。 Read here

我建议你再试一次Solr 6.6.2

答案 1 :(得分:0)

事实证明,该服务已配置为在没有-f标志的情况下运行 。因此,该过程将不断停止并重新生成。