找回密码
 注册
查看: 3324|回复: 1

1.4 Redis 启动脚本bug

[复制链接]
发表于 2016-12-28 11:17:20 | 显示全部楼层 |阅读模式

/etc/init.d/redis中定义的pid文件为PIDFILE=/var/run/redis.pid
/usr/local/redis/etc/redis.conf中定义为/var/run/redis_6379.pid

导致/etc/init.d/redis stop的时候提示
  1. root@ip-10-23-30-37:~# /etc/init.d/redis stop
  2. /var/run/redis.pid does not exist, process is not running
复制代码
美国VPS推荐: 遨游主机、Linode、LOCVPS、主机云、搬瓦工、80VPS、Vultr等美国VPS主机。中国VPS推荐: 阿里云、腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-12-28 13:49:33 | 显示全部楼层

回复 1# 的帖子



收到
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2026-11-27 02:35 , Processed in 0.006674 second(s), 18 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表