redis启动苦逼错误


错误详情.

由于使用kill -9 杀死redis服务进程,导致服务无法启动(active (exited)),头疼

[root@liuyou log]# systemctl start redis_6379
[root@liuyou log]# systemctl status redis_6379
● redis_6379.service - LSB: start and stop redis_6379
   Loaded: loaded (/etc/rc.d/init.d/redis_6379; bad; vendor preset: disabled)
   Active: active (exited) since Mon 2020-11-16 16:36:55 CST; 3min 20s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1243 ExecStop=/etc/rc.d/init.d/redis_6379 stop (code=exited, status=0/SUCCESS)
  Process: 1246 ExecStart=/etc/rc.d/init.d/redis_6379 start (code=exited, status=0/SUCCESS)

Nov 16 16:36:55 liuyou systemd[1]: Stopped LSB: start and stop redis_6379.
Nov 16 16:36:55 liuyou systemd[1]: Starting LSB: start and stop redis_6379...
Nov 16 16:36:55 liuyou redis_6379[1246]: Starting Redis server...
Nov 16 16:36:55 liuyou systemd[1]: Started LSB: start and stop redis_6379.
可以使用redis-server /etc/redis/6379.conf启动

or

shutdown -r now 软重启让系统自动恢复

文章作者: liuminkai
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 liuminkai !
评论
 上一篇
Spring5简单整合Redis(单机) Spring5简单整合Redis(单机)
以下使用的是配置文件整合(单机Redis) 整合的版本,spring5.2.7 + Redis客户端Jedis3.1.0 + Redis6.0.6 1、创建新的maven空项目.略 目录结构 2、导入依赖.<properties
2020-11-20
下一篇 
在linux系统中,配置tomcat快捷方式过程中报错-Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program 在linux系统中,配置tomcat快捷方式过程中报错-Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program
在linux系统中,配置tomcat快捷方式过程中报错.报错内容如下:. Neither the JAVA_HOME nor the JRE_HOME environment variable is defined,At least one
2020-11-11
  目录