apolloconfig / apollo

Apollo is a reliable configuration management system suitable for microservice configuration management scenarios.
https://www.apolloconfig.com
Apache License 2.0
28.93k stars 10.19k forks source link

apollo v2.2.0部署启动报错 #5163

Open Songjiadong opened 1 week ago

Songjiadong commented 1 week ago

描述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)

期望

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

额外的细节和日志

nobodyiam commented 1 week ago

看下 /tmp 是否有日志

Songjiadong commented 1 week ago

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