打印

安装 redis 时报错

安装 redis 时报错

发贴之前搜了下,和 https://bbs.vpser.net/viewthread.php?tid=18114&highlight=redis
差不多,但没有看到解决方案
复制内容到剪贴板
代码:
+-----------------------------------------------------------------------+
|            Addons script for LNMP V1.4, Written by Licess             |
+-----------------------------------------------------------------------+
|    A tool to Install cache,optimizer,accelerator...addons for LNMP    |
+-----------------------------------------------------------------------+
|           For more information please visit https://lnmp.org          |
+-----------------------------------------------------------------------+
====== Installing Redis ======
Install redis-4.0.9 Stable Version...

Press any key to start...or Press Ctrl+c to cancel

redis-4.0.9.tar.gz [found]
Uncompress redis-4.0.9.tar.gz...

gzip: stdin: unexpected end of file
tar: 归档文件中异常的 EOF
tar: 归档文件中异常的 EOF
tar: Error is not recoverable: exiting now
cd redis-4.0.9...
make: *** 没有规则可以创建目标“install”。 停止。
cp: 无法获取"redis.conf" 的文件状态(stat): 没有那个文件或目录
sed:无法读取 /usr/local/redis/etc/redis.conf:没有那个文件或目录
grep: /usr/local/redis/etc/redis.conf: 没有那个文件或目录
sed:无法读取 /usr/local/redis/etc/redis.conf:没有那个文件或目录
sed:无法读取 /usr/local/redis/etc/redis.conf:没有那个文件或目录
iptables: Bad rule (does a matching rule exist in that chain?).
redis-4.0.2.tgz [found]
Uncompress redis-4.0.2.tgz...
cd redis-4.0.2...
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
复制内容到剪贴板
代码:
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

Installing shared extensions:     /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/
Add to auto startup...
Add redis service at system startup...
Restarting php-fpm......
Gracefully shutting down php-fpm . done
Starting php-fpm  done
Starting Redis server.../etc/init.d/redis:行33: /usr/local/redis/bin/redis-server: 没有那个文件或目录
done
Redis install failed!

TOP

redis文件没有下载完整,将安装包src目录下的 redis-4.0.9.tar.gz 删除,然后重新再安装

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP

回复 2# 的帖子

昨天 用源码 装了

TOP