Redis 错误摘记篇

yum安装的redis提示如下报错,大概意思就是配置文件和redis-server进程文件版本不一致。。

[root@vm-10-104-28-24 yum.repos.d]# redis-server /etc/redis.conf

*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 376
>>> 'vm-enabled no'
Bad directive or wrong number of arguments

解决:

卸载了从新安装还是不行,还提示不一致,那肯定没卸载干净。。

find / -name redis-server 发现有多个进程文件,全部删掉从新安装解决版本不一致问题 。。。

好记性不如烂笔头-_-
原文地址:https://www.cnblogs.com/liuquan/p/7281427.html