Version
Cb Response 5.x
Issue
Redis won't start and has this error message in /var/log/cb/redis/redis.log or /var/log/cb/redis/startup.log
Opening port 6379: bind: Address already in use |
Cause
Another application or another instance of Redis is already using the port.
Solution
- Stop services
service cb-enterprise stop (if it’s a cluster, use “/usr/share/cb/cbcluster stop”) |
- See what is holding the port
Note: If the port is owned by cb and you just upgraded, follow this guide: Upgrading to 5.2 with a Custom Datastore Directory
- Otherwise kill the process to allow the cb-redis service to start
- Kill all cb owned processes
- Start services
service cb-enterprise start (if it’s a cluster, use “/usr/share/cb/cbcluster start”) |