VPS侦探论坛

 找回密码
 注册
查看: 138|回复: 5

Redis install failed!

[复制链接]
发表于 2020-5-7 14:06:37 | 显示全部楼层 |阅读模式



最近安装 redis  都是这个问题!

目前用的是阿里云 和 百度云

美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-5-7 16:30:03 | 显示全部楼层


这个都在多个环境和系统下测试过没有问题
你这个没完整日志信息无法确定是什么问题
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2020-5-7 16:32:29 | 显示全部楼层



手动下载Redis  上传到Src文件夹,  执行安装 也出错了
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-5-7 16:44:32 | 显示全部楼层



licess 发表于 2020-5-7 16:30
这个都在多个环境和系统下测试过没有问题
你这个没完整日志信息无法确定是什么问题 ...
  1. Notice: redis-5.0.0.tar.gz not found!!!download now...
  2. --2020-05-07 16:39:32--  http://download.redis.io/releases/redis-5.0.0.tar.gzResolving download.redis.io (download.redis.io)... failed: Name or service not known.
  3. wget: unable to resolve host address ‘download.redis.io’
  4. Uncompress redis-5.0.0.tar.gz...
  5. tar (child): redis-5.0.0.tar.gz: Cannot open: No such file or directory
  6. tar (child): Error is not recoverable: exiting now
  7. tar: Child returned status 2
  8. tar: Error is not recoverable: exiting now
  9. cd redis-5.0.0...
  10. include/main.sh: line 436: cd: redis-5.0.0: No such file or directory
  11. make: *** No rule to make target `install'.  Stop.
  12. cp: cannot stat ‘redis.conf’: No such file or directory
  13. sed: can't read /usr/local/redis/etc/redis.conf: No such file or directory
  14. grep: /usr/local/redis/etc/redis.conf: No such file or directory
  15. sed: can't read /usr/local/redis/etc/redis.conf: No such file or directory
  16. sed: can't read /usr/local/redis/etc/redis.conf: No such file or directory
  17. iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]
  18. Redirecting to /bin/systemctl reload iptables.service
  19. Notice: redis-4.3.0.tgz not found!!!download now...
  20. --2020-05-07 16:39:36--  http://pecl.php.net/get/redis-4.3.0.tgz
  21. Resolving pecl.php.net (pecl.php.net)... 104.236.228.160
  22. Connecting to pecl.php.net (pecl.php.net)|104.236.228.160|:80... connected.
  23. HTTP request sent, awaiting response... 200 OK
  24. Length: 241883 (236K) [application/octet-stream]
  25. Saving to: ‘redis-4.3.0.tgz’

  26. 100%[===================================>] 241,883     27.2KB/s   in 8.0s   

  27. 2020-05-07 16:39:45 (29.6 KB/s) - ‘redis-4.3.0.tgz’ saved [241883/241883]

  28. Uncompress redis-4.3.0.tgz...
  29. tar (child): redis-4.3.0.tgz: Cannot open: No such file or directory
  30. tar (child): Error is not recoverable: exiting now
  31. tar: Child returned status 2
  32. tar: Error is not recoverable: exiting now
  33. cd redis-4.3.0...
  34. include/main.sh: line 436: cd: redis-4.3.0: No such file or directory
  35. Cannot find config.m4.
  36. Make sure that you run '/usr/local/php/bin/phpize' in the top level source directory of the module

  37. include/redis.sh: line 77: ./configure: No such file or directory
  38. make: *** No targets specified and no makefile found.  Stop.
  39. make: *** No targets specified and no makefile found.  Stop.
  40. make: *** No rule to make target `install'.  Stop.
  41. Add to auto startup...
  42. Add redis service at system startup...
  43. Restarting php-fpm......
  44. Gracefully shutting down php-fpm . done
  45. Starting php-fpm [07-May-2020 16:39:46] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/redis.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/redis.so: cannot open shared object file: No such file or directory in Unknown on line 0
  46. done
  47. Starting Redis server.../etc/init.d/redis: line 33: /usr/local/redis/bin/redis-server: No such file or directory
  48. done
  49. Redis install failed!
复制代码
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2020-5-7 16:44:59 | 显示全部楼层

licess 发表于 2020-5-7 16:30
这个都在多个环境和系统下测试过没有问题
你这个没完整日志信息无法确定是什么问题 ...

1.6版本也遇到这样问题

美国VPS、VPN、域名代购:http://shop63846532.taobao.com/

发表于 2020-5-7 19:03:03 | 显示全部楼层


--2020-05-07 16:39:32--  http://download.redis.io/releases/redis-5.0.0.tar.gzResolving download.redis.io (download.redis.io)... failed: Name or service not known.
wget: unable to resolve host address ‘download.redis.io’

你系统上的DNS都不能正常工作肯定连最基本的下载都下载不了,更不用说安装了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2020-5-26 09:11 , Processed in 0.051047 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表