SolrCore 正在加载 运行 作为 Windows 服务
SolrCore is loading running as Windows Service
以管理员身份登录 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 实例)
Sitecore 兼容性 table 表示要将 Solr 6.6.1 与 Sitecore 一起使用,您仍应使用 6.6.2,因为它修复了 Solr 6.6.1 中可能影响 SIF 安装的错误。 Read here
我建议您使用 Solr 6.6.2 再试一次
事实证明,该服务被配置为 运行 没有 -f
标志。所以这个过程会不断地停止并重新产生。
以管理员身份登录 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 实例)
Sitecore 兼容性 table 表示要将 Solr 6.6.1 与 Sitecore 一起使用,您仍应使用 6.6.2,因为它修复了 Solr 6.6.1 中可能影响 SIF 安装的错误。 Read here
我建议您使用 Solr 6.6.2 再试一次
事实证明,该服务被配置为 运行 没有 -f
标志。所以这个过程会不断地停止并重新产生。