apollo icon indicating copy to clipboard operation
apollo copied to clipboard

apollo v2.2.0部署启动报错

Open Songjiadong opened this issue 1 year ago • 2 comments

描述bug

按照官方分布式部署指南的要求进行部署,但是启动的时候报错,我的java 版本是

java -version
java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)

启动脚本

[root@apollo scripts]# ./startup.sh
2024年 06月 19日 星期三 11:09:04 CST ==== apollo-adminservice Starting ==== 
Application is running as root (UID 0). This is considered insecure.
Started [40717]
Waiting for server startup......
pid - 40717 just quit unexpectedly, please check logs under /opt/logs and /tmp for more information!

查看/opt/logs

Java HotSpot(TM) 64-Bit Server VM warning: UseCMSCompactAtFullCollection is deprecated and will likely be removed in a future release.
Java HotSpot(TM) 64-Bit Server VM warning: CMSFullGCsBeforeCompaction is deprecated and will likely be removed in a future release.
     _                _ _
    / \   _ __   ___ | | | ___
   / _ \ | '_ \ / _ \| | |/ _ \
  / ___ \| |_) | (_) | | | (_) |
 /_/   \_\ .__/ \___/|_|_|\___/
         |_|

:: Spring Boot ::  (v2.7.11)

期望

我应该如何调整?我是用二进制的方式直接部署的,而不是用源码方式部署

额外的细节和日志

  • 版本:
  • 平台和操作系统 centos 7

Songjiadong avatar Jun 19 '24 03:06 Songjiadong

看下 /tmp 是否有日志

nobodyiam avatar Jun 23 '24 05:06 nobodyiam

@nobodyiam 没有,我把jdk调高了之后 就好了

Songjiadong avatar Jun 24 '24 02:06 Songjiadong

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 27 '24 00:07 stale[bot]

This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.

stale[bot] avatar Aug 07 '24 05:08 stale[bot]