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
未经允许不得转载:老牛博客 » 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
赞(0)

评论抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

账号密码登录