码迷,mamicode.com
首页 > 其他好文 > 详细

Redis 安装碰到问题

时间:2018-12-13 11:35:31      阅读:228      评论:0      收藏:0      [点我收藏+]

标签:comm   redis   文件   exec   replicas   yum   ++   cep   sla   

一 make 报错

1. 出现如下错误 :  

cd src && make all

make[1]: Entering directory ‘/xx/xx/redis-x.x.x/src‘

         CC adlist.o

/bin/sh: cc: command not found

make[1]:  *** [adlist.o] Error 127 

make[1]: Leaving directory ‘/xx/xx/redis-x.x.x/src‘

make: *** [all] Error 2

----------------------------------------------------------------------------------------------------------------------

解决方法:执行 yum -y install gcc-c++

2. 出现错误:[exception]: Executing test client: NOREPLICAS Not enough good slaves to write..

NOREPLICAS Not enough good slaves to write.

while executing.

----------------------------------------------------------------------------------------------------------------------

解决方法:修改当前目录文件tests/integration/replication-2.tcl,将after 1000改为after 10000以延长等待时间 重新测试

Redis 安装碰到问题

标签:comm   redis   文件   exec   replicas   yum   ++   cep   sla   

原文地址:https://www.cnblogs.com/tandy/p/10112595.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!