Rate This Document
Findability
Accuracy
Completeness
Readability

"Can't start redis server" Displayed When Compiling embedded-redis

Symptom

The mvn install command fails to be executed during the embedded-redis compilation. The message "Can't start redis server" is displayed.

Key Process and Cause Analysis

The port is occupied.

Conclusion and Solution

  1. View the Redis process.
    ps -ef | grep redis
  2. Stop the Redis process.
    pkill redis
  3. View the Redis process again.
    ps -ef | grep redis
  4. Recompile embedded-redis.