You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "shihaomq (via GitHub)" <gi...@apache.org> on 2025/07/10 08:43:46 UTC

[I] [Bug] rocketmq-5.2.0版本部署到arm架构服务器controller启动失败 [rocketmq]

shihaomq opened a new issue, #9532:
URL: https://github.com/apache/rocketmq/issues/9532

   ### Before Creating the Bug Report
   
   - [x] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq/discussions).
   
   - [x] I have searched the [GitHub Issues](https://github.com/apache/rocketmq/issues) and [GitHub Discussions](https://github.com/apache/rocketmq/discussions)  of this repository and believe that this is not a duplicate.
   
   - [x] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
   
   
   ### Runtime platform environment
   
   aarch64
   
   
   ### RocketMQ version
   
   rocketmq-5.2.0
   
   ### JDK Version
   
   jdk11
   
   ### Describe the Bug
   
   rocketmq-5.2.0版本部署到arm架构服务器controller启动失败,无法加载librocksdbjni-linux-aarch64.so文件。
   报错如下:
   java.lang.ExceptionInInitializerError
           at com.alipay.sofa.jraft.storage.impl.RocksDBLogStorage.<clinit>(RocksDBLogStorage.java:69)
           at com.alipay.sofa.jraft.core.DefaultJRaftServiceFactory.createLogStorage(DefaultJRaftServiceFactory.java:51)
           at com.alipay.sofa.jraft.core.NodeImpl.initLogStorage(NodeImpl.java:579)
           at com.alipay.sofa.jraft.core.NodeImpl.init(NodeImpl.java:1004)
           at com.alipay.sofa.jraft.core.NodeImpl.init(NodeImpl.java:141)
           at com.alipay.sofa.jraft.RaftServiceFactory.createAndInitRaftNode(RaftServiceFactory.java:47)
           at com.alipay.sofa.jraft.RaftGroupService.start(RaftGroupService.java:129)
           at com.alipay.sofa.jraft.RaftGroupService.start(RaftGroupService.java:107)
           at org.apache.rocketmq.controller.impl.JRaftController.startup(JRaftController.java:130)
           at org.apache.rocketmq.controller.ControllerManager.start(ControllerManager.java:268)
           at org.apache.rocketmq.controller.ControllerStartup.start(ControllerStartup.java:145)
           at org.apache.rocketmq.controller.ControllerStartup.main0(ControllerStartup.java:56)
           at org.apache.rocketmq.controller.ControllerStartup.main(ControllerStartup.java:49)
   Caused by: java.lang.RuntimeException: librocksdbjni-linux-aarch64.so was not found inside JAR.
           at org.rocksdb.NativeLibraryLoader.loadLibraryFromJarToTemp(NativeLibraryLoader.java:118)
           at org.rocksdb.NativeLibraryLoader.loadLibraryFromJar(NativeLibraryLoader.java:102)
           at org.rocksdb.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:82)
           at org.rocksdb.RocksDB.loadLibrary(RocksDB.java:67)
           at org.rocksdb.RocksDB.<clinit>(RocksDB.java:36)
   
   ### Steps to Reproduce
   
   rocketmq-5.2.0版本部署到arm架构服务器controller启动失败
   
   ### What Did You Expect to See?
   
   *
   
   ### What Did You See Instead?
   
   *
   
   ### Additional Context
   
   *


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] The controller fails to start when deploying RocketMQ version 5.2.0 on an ARM-based server [rocketmq]

Posted by "xiaoshui0130 (via GitHub)" <gi...@apache.org>.
xiaoshui0130 commented on issue #9532:
URL: https://github.com/apache/rocketmq/issues/9532#issuecomment-3708746042

   我也遇到了同样的问题


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] The controller fails to start when deploying RocketMQ version 5.2.0 on an ARM-based server [rocketmq]

Posted by "wwztomcat (via GitHub)" <gi...@apache.org>.
wwztomcat commented on issue #9532:
URL: https://github.com/apache/rocketmq/issues/9532#issuecomment-4828180196

   I also encountered it in version 5.4.0.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org