apolloconfig / apollo

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

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

Closed Songjiadong closed 3 months ago

Songjiadong commented 5 months 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 5 months ago

看下 /tmp 是否有日志

Songjiadong commented 5 months ago

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

stale[bot] commented 3 months ago

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] commented 3 months ago

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.