Rate This Document
Findability
Accuracy
Completeness
Readability

Redis Compilation Failure Due to the Redis Server Start-up Failure

Symptom

Failed to compile Redis because the Redis server fails to be started. The message "Runtime Can't start redis server" is displayed.

Key Process and Cause Analysis

During the Redis compilation, the embedded-redis-0.6.jar package that supports AArch64 is required.

Conclusion and Solution

  1. Obtain the embedded-redis-0.6.jar package that supports AArch64.
    cd /home
    wget https://mirrors.huaweicloud.com/kunpeng/maven/com/github/kstyrc/embedded-redis/0.6/embedded-redis-0.6.jar --no-check-certificate

    You can also compile the embedded-redis-0.6.jar package by referring to embedded-redis-0.6.jar Porting Guide.

  2. Replace the embedded-redis-0.6.jar package in the local repository.
    \cp /home/embedded-redis-0.6.jar /root/.m2/repository/com/github/kstyrc/embedded-redis/0.6/embedded-redis-0.6.jar
  3. Recompile Redis.
    cd /home/Dubbo/dubbo-dubbo-2.6.8/dubbo-rpc/dubbo-rpc-redis
    mvn install

    If BUILD SUCCESS is displayed, the dubbo-rpc-redis module is compiled successfully.