首页 > LNMP >

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

  

Could not connect to Redis,process is already running or crashed,redis,redis Connection refused,redis.pid,redis.pid exists,redis.pid exists process is already running or crashed,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

  •   正在提交中,请稍候...
      评论提交成功
    回复 的评论,点击取消回复