redis进程死掉了,重启报错Could not connect to Redis at 127.0.0.1:6379: Connection refused ,/var/run/redis.pid exists, process is already running or crashed

 

redis进程死掉了,重启报错如下

1
2
3
Could not connect to Redis at 127.0.0.1:6379: Connection refused
done
/var/run/redis.pid exists, process is already running or crashed

解决办法:

1
2
3
rm /var/run/redis.pid

service redis start
原文链接:https://xiaohost.com/3572.html,转载请注明出处。
0

评论0

请先