记住用户名密码
故障现象:不管重启、启动、重装,redis都是暂停按钮。2跟竖红杠。
确定redis启动状态
/etc/init.d/redis status
/etc/init.d/redis restart
SSH返回
root@xxx:~# /etc/init.d/redis restart Stopping ... Could not connect to Redis at 127.0.0.1:6379: Connection refused Redis stopped Starting redis server... /etc/init.d/redis: line 45: sudo: command not found Starting redis success!
apt install sudo
安装完sudo后再次运行/etc/init.d/redis restart
得到回复:
root@xxx:~# /etc/init.d/redis restart Stopping ... Redis stopped Starting redis server... Starting redis success!
完美解决宝塔面板redis无法启动的问题。
目前有 0 条留言 其中:访客:0 条, 博主:0 条