开发者社区 > 云原生 > 微服务 > 正文

linux下载安装Nacos2.4.1运行不了?

linux下载安装Nacos2.4.1运行不了?[root@localhost conf]# systemctl status nacos
● nacos.service - nacos
Loaded: loaded (/usr/lib/systemd/system/nacos.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2024-08-23 03:15:06 EDT; 12s ago
Process: 529868 ExecStop=/usr/local/nacos/bin/shutdown.sh (code=exited, status=255)
Process: 529762 ExecStart=/usr/local/nacos/bin/startup.sh -m standalone (code=exited, status=0/SUCCESS)
Main PID: 528304 (code=exited, status=1/FAILURE)

Aug 23 03:15:00 localhost.localdomain systemd[1]: Starting nacos...
Aug 23 03:15:00 localhost.localdomain startup.sh[529762]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.422.b05-2.el8.x86_64/bin/java -Djava.ext.dirs=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.422.b05-2.el8.x86_64/jre/lib/ext:/usr/lib/jvm/java-1.8.0>
Aug 23 03:15:00 localhost.localdomain startup.sh[529762]: nacos is starting with standalone
Aug 23 03:15:00 localhost.localdomain startup.sh[529762]: nacos is starting. you can check the /usr/local/nacos/logs/start.out
Aug 23 03:15:00 localhost.localdomain systemd[1]: Started nacos.
Aug 23 03:15:06 localhost.localdomain shutdown.sh[529868]: No nacosServer running.
Aug 23 03:15:06 localhost.localdomain systemd[1]: nacos.service: Control process exited, code=exited status=255
Aug 23 03:15:06 localhost.localdomain systemd[1]: nacos.service: Failed with result 'exit-code'.
lines 1-15/15 (END) Caused by: java.lang.IllegalArgumentException: The specified key byte array is 0 bits which is not secure enough for any JWT HMAC-SHA algorithm. The JWT JWA Specification (RFC 7518, Section 3.2) states that keys used with HMAC-SHA algorithms MUST have a size >= 256 bits (the key size must be greater than or equal to the hash output size). See https://tools.ietf.org/html/rfc7518#section-3.2 for more information.
at com.alibaba.nacos.plugin.auth.impl.jwt.NacosJwtParser.(NacosJwtParser.java:54)
at com.alibaba.nacos.plugin.auth.impl.token.impl.JwtTokenManager.processProperties(JwtTokenManager.java:76)
... 120 common frames omitted
2024-08-23 03:15:06,260 WARN [ThreadPoolManager] Start destroying ThreadPool

展开
收起
我睡觉不困 2024-08-26 16:06:21 57 0
1 条回答
写回答
取消 提交回答

为微服务建设降本增效,为微服务落地保驾护航。

相关电子书

更多
Alibaba Cloud Linux 3 发布 立即下载
ECS系统指南之Linux系统诊断 立即下载
ECS运维指南 之 Linux系统诊断 立即下载