使用root用户安装Hybris遇到的错误

简介: 使用root用户安装Hybris遇到的错误

使用root user安装Hybris遇到如下错误消息:


LJava.

at de.hybris.platform. core.Abstractlenant. notitylenantListenersbetoreShutdown(Abstractl enant. Java: 128

java] at de. hybris.platform.core. AbstractTenant. doShutdown(AbstractTenant. java: 950)

java at de.hybris.platform.core.AbstractTenant. doShutDown(AbstractTenant. java:911)

java] at de. hybris.platform. core.Registry.destroy(Registry.java:331)

java] at de. hybris.platform.util.RedeployUtilities.shutdown(RedeployUtilities.java:75)

java at de.hybris.platform.util.RedeployUtilities$1.internalRun(RedeployUtilities.java:39)

java] at de.hybris.platform.core. threadregistry.RegistrableThread.run(RegistrableThread.java:134)

java] WARNING: Starting solr as the root user is a security risk and not considered best practice. Exiting

java] Please consult the Reference Guide. To override this check, start with argument '-force

java] ERROR [main] [DefaultSolrserverService] de. hybris.platform. solrserver. SolrServerException: Error while exuting Solr start command for instance [name: default, hostname: localhost, port: 8983]

java] WARN [main] [CloseAwareApplicationContext] Exception encountered during context initialization- cancellg refresh attempt: org.springframework.beans. factory.BeanCreationException: Error creating bean with name ‘defaultsaServerService’ defined in class path resource [global-solrserver-spring.xml]: Invocation of init method failed; nesteexception is de.hybris.platform.solrserver.SolrserverException: Error while executing Solr start command for instal[name: default, hostname: localhost, port: 8983]

java] WARN [main] [CloseAwareApplicationContext] Exception encountered during context initialization- cancellg refresh attempt: org.springframework.beans. factory.BeanCreationException: Error creating bean with name ‘defaultsaServerService’ defined in class path resource [global-solrserver-spring.xml]: Invocation of init method failed; nesexception is de. hybris.platform. solrserver. SolrServerException: Error while executing Solr start command for instar[name: default, hostname: localhost, port: 8983]

java] ERROR [main] [HybrisContextFactory] Error initializing global application context!


INFO: Stopping Solr server for instance [name: default, hostname: localhost, port: 8983, mode: STANDALONE]

Stopping Solr process 23656 running on port 8983

ERROR: Input redirection is not supported, exiting the process immediately.

Mar 22, 2021 10:43:23 AM de.hybris.platform.solr.controller.commands.StartSolrServerCommand startSolrServer

INFO: Starting Solr server for instance [name: default, hostname: localhost, port: 8983, mode: STANDALONE]

INFO  - 2021-03-22 10:43:26.345; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.keyStorePassword

INFO  - 2021-03-22 10:43:26.347; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.trustStorePassword

Waiting up to 30 to see Solr running on port 8983

Started Solr server on port 8983. Happy searching!

image.png

关键就在这句:Starting solr as the root user is a security risk and not considered best practice. Exiting

目录
相关文章
|
6月前
|
监控 安全 搜索推荐
关于 SAP Commerce Cloud 本地安装用 root user 执行安装脚本的问题
关于 SAP Commerce Cloud 本地安装用 root user 执行安装脚本的问题
49 0
|
7月前
|
存储 API Windows
关于使用命令行 cf login 登录 SAP BTP CloudFoundry 环境的问题
关于使用命令行 cf login 登录 SAP BTP CloudFoundry 环境的问题
47 0
|
SQL 关系型数据库 MySQL
The user specified as a definer (‘root‘@‘%‘) does not exist【亲测可用,服务器端】
The user specified as a definer (‘root‘@‘%‘) does not exist【亲测可用,服务器端】
51 0
The user specified as a definer (‘root‘@‘%‘) does not exist【亲测可用,服务器端】
|
Shell Linux 数据安全/隐私保护
Linux 用户与组管理详解(system-config-users && 命令行)
Linux 用户与组管理详解(system-config-users && 命令行)
332 0
Linux 用户与组管理详解(system-config-users && 命令行)
CRM Fiori Launchpad初次登陆后返回的service metadata信息
CRM Fiori Launchpad初次登陆后返回的service metadata信息
CRM Fiori Launchpad初次登陆后返回的service metadata信息
|
SQL 安全 Java
执行SAP Hybris install.bat遇到JavaVersionChecker版本检测失败的问题
执行SAP Hybris install.bat遇到JavaVersionChecker版本检测失败的问题
104 0
执行SAP Hybris install.bat遇到JavaVersionChecker版本检测失败的问题
|
安全 数据安全/隐私保护
修改Hybris Administration console管理员默认登录密码
修改Hybris Administration console管理员默认登录密码
169 0
Ubuntu:成功解决ubuntu使用su切换root出现Authentication failure用户时认证失败
Ubuntu:成功解决ubuntu使用su切换root出现Authentication failure用户时认证失败
Ubuntu:成功解决ubuntu使用su切换root出现Authentication failure用户时认证失败