VPS侦探论坛

 找回密码
 注册
查看: 467|回复: 2

2.0安装redis失败

[复制链接]
发表于 2023-12-26 09:40:47 | 显示全部楼层 |阅读模式

Install redis-7.0.11 Stable Version...

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

Notice: redis-7.0.11.tar.gz not found!!!download now...
wget: symbol lookup error: /usr/lib64/libgnutls.so.30: undefined symbol: nettle_siv_gcm_aes256_decrypt_message, version NETTLE_8
Uncompress redis-7.0.11.tar.gz...
tar (child): redis-7.0.11.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
cd redis-7.0.11...
include/main.sh: line 746: cd: redis-7.0.11: No such file or directory
make: *** No rule to make target 'install'.  Stop.
cp: cannot stat 'redis.conf': No such file or directory
sed: can't read /usr/local/redis/etc/redis.conf: No such file or directory
grep: /usr/local/redis/etc/redis.conf: No such file or directory
sed: can't read /usr/local/redis/etc/redis.conf: No such file or directory
sed: can't read /usr/local/redis/etc/redis.conf: No such file or directory
iptables: Saving firewall rules to /etc/sysconfig/iptables: [  OK  ]
Redirecting to /bin/systemctl reload iptables.service
iptables.service is not active, cannot reload.
Notice: redis-5.3.7.tgz not found!!!download now...
wget: symbol lookup error: /usr/lib64/libgnutls.so.30: undefined symbol: nettle_siv_gcm_aes256_decrypt_message, version NETTLE_8
Uncompress redis-5.3.7.tgz...
tar (child): redis-5.3.7.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
cd redis-5.3.7...
include/main.sh: line 746: cd: redis-5.3.7: No such file or directory
Cannot find config.m4.
Make sure that you run '/usr/local/php/bin/phpize' in the top level source directory of the module

include/redis.sh: line 79: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.
Add to auto startup...
Add redis service at system startup...
Synchronizing state of redis.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable redis
Restarting php-fpm......
Gracefully shutting down php-fpm . done
Starting php-fpm [26-Dec-2023 09:35:12] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/redis.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/redis.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/redis.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
done
Job for redis.service failed because the control process exited with error code.
See "systemctl status redis.service" and "journalctl -xeu redis.service" for details.
Copy Redis PHP Test file...
Redis install failed!


美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2023-12-26 09:51:50 | 显示全部楼层


php 7.4
Linux version 5.14.0-134.el9.x86_64 (mockbuild@x86-05.stream.rdu2.redhat.com) (gcc (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2), GNU ld version 2.35.2-24.el9) #1 SMP PREEMPT_DYNAMIC Thu Jul 21 12:57:06 UTC 2022
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2023-12-28 09:01:09 | 显示全部楼层

yum update 一下再安装
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-6 12:52 , Processed in 0.026198 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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