VPS侦探论坛

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

PHP install failed error reading information on service iptable

[复制链接]
发表于 2020-3-23 22:24:32 | 显示全部楼层 |阅读模式

系统版本是  CentOS Linux release 7.7.1908 (Core)

一开始以为是iptables的问题,后面安装了也一样,都是这个错误!求助!!!!!



iptables: Saving firewall rules to /etc/sysconfig/iptables: [  OK  ]
Redirecting to /bin/systemctl reload  iptables.service
Add iptables service at system startup...
error reading information on service iptables: No such file or directory
Note: Forwarding request to 'systemctl enable iptables.service'.
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx... nginx (pid 31197) already running.
Add mysql service at system startup...
Starting MySQL... ERROR! The server quit without updating PID file (/usr/local/mysql/var/localhost.localdomain.pid).
Add php-fpm service at system startup...
error reading information on service php-fpm: No such file or directory
error reading information on service php-fpm: No such file or directory
include/end.sh: line 56: /etc/init.d/php-fpm: No such file or directory
============================== Check install ==============================
Checking ...
Nginx: OK
MySQL: OK
Error: PHP install failed.
Sorry, Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2020-3-23 22:25:33 | 显示全部楼层


日志1.98 MB,我分成了两个文件上传
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2020-3-24 09:06:42 | 显示全部楼层

There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package openssl-devel.x86_64 1:1.0.2k-19.el7 will be installed
--> Processing Dependency: krb5-devel(x86-64) for package: 1penssl-devel-1.0.2k-19.el7.x86_64
--> Running transaction check
---> Package krb5-devel.x86_64 0:1.15.1-37.el7_7.2 will be installed
--> Processing Dependency: libkadm5(x86-64) = 1.15.1-37.el7_7.2 for package: krb5-devel-1.15.1-37.el7_7.2.x86_64
--> Processing Dependency: krb5-libs(x86-64) = 1.15.1-37.el7_7.2 for package: krb5-devel-1.15.1-37.el7_7.2.x86_64
--> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-37.el7_7.2.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-37.el7_7.2.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-37.el7_7.2.x86_64
--> Processing Dependency: libkdb5.so.8()(64bit) for package: krb5-devel-1.15.1-37.el7_7.2.x86_64
--> Running transaction check
---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed
---> Package krb5-libs.x86_64 0:1.11.3-49.el7 will be updated
---> Package krb5-libs.x86_64 0:1.15.1-37.el7_7.2 will be an update
---> Package libkadm5.x86_64 0:1.15.1-37.el7_7.2 will be installed
---> Package libselinux-devel.x86_64 0:2.5-14.1.el7 will be installed
--> Processing Dependency: libselinux(x86-64) = 2.5-14.1.el7 for package: libselinux-devel-2.5-14.1.el7.x86_64
--> Processing Dependency: libsepol-devel(x86-64) >= 2.5-10 for package: libselinux-devel-2.5-14.1.el7.x86_64
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.5-14.1.el7.x86_64
---> Package libverto-devel.x86_64 0:0.2.5-4.el7 will be installed
--> Running transaction check
---> Package libselinux.x86_64 0:2.2.2-6.el7 will be updated
--> Processing Dependency: libselinux = 2.2.2-6.el7 for package: libselinux-utils-2.2.2-6.el7.x86_64
--> Processing Dependency: libselinux = 2.2.2-6.el7 for package: libselinux-python-2.2.2-6.el7.x86_64
---> Package libselinux.x86_64 0:2.5-14.1.el7 will be an update
--> Processing Dependency: libsepol(x86-64) >= 2.5-10 for package: libselinux-2.5-14.1.el7.x86_64
--> Processing Dependency: libsepol.so.1(LIBSEPOL_1.0)(64bit) for package: libselinux-2.5-14.1.el7.x86_64
---> Package libsepol-devel.x86_64 0:2.5-10.el7 will be installed
--> Running transaction check
---> Package libselinux-python.x86_64 0:2.2.2-6.el7 will be updated
---> Package libselinux-python.x86_64 0:2.5-14.1.el7 will be an update
---> Package libselinux-utils.x86_64 0:2.2.2-6.el7 will be updated
---> Package libselinux-utils.x86_64 0:2.5-14.1.el7 will be an update
---> Package libsepol.x86_64 0:2.1.9-3.el7 will be updated
---> Package libsepol.x86_64 0:2.5-10.el7 will be an update
--> Processing Conflict: libselinux-2.5-14.1.el7.x86_64 conflicts systemd < 219-20
--> Processing Conflict: libselinux-2.5-14.1.el7.x86_64 conflicts selinux-policy-base < 3.13.1-66
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package libselinux.x86_64 0:2.2.2-6.el7 will be updated
---> Package libselinux.x86_64 0:2.2.2-6.el7 will be updated
---> Package selinux-policy-targeted.noarch 0:3.12.1-153.el7 will be updated
---> Package selinux-policy-targeted.noarch 0:3.13.1-252.el7_7.6 will be an update
--> Processing Dependency: selinux-policy = 3.13.1-252.el7_7.6 for package: selinux-policy-targeted-3.13.1-252.el7_7.6.noarch
--> Processing Dependency: selinux-policy = 3.13.1-252.el7_7.6 for package: selinux-policy-targeted-3.13.1-252.el7_7.6.noarch
--> Processing Dependency: policycoreutils >= 2.5-24 for package: selinux-policy-targeted-3.13.1-252.el7_7.6.noarch
--> Running transaction check
---> Package policycoreutils.x86_64 0:2.2.5-11.el7 will be updated
---> Package policycoreutils.x86_64 0:2.5-33.el7 will be an update
--> Processing Dependency: libsemanage >= 2.5-14 for package: policycoreutils-2.5-33.el7.x86_64
--> Processing Dependency: libsemanage.so.1(LIBSEMANAGE_1.1)(64bit) for package: policycoreutils-2.5-33.el7.x86_64
---> Package selinux-policy.noarch 0:3.12.1-153.el7 will be updated
---> Package selinux-policy.noarch 0:3.13.1-252.el7_7.6 will be an update
--> Running transaction check
---> Package libsemanage.x86_64 0:2.1.10-16.el7 will be updated
---> Package libsemanage.x86_64 0:2.5-14.el7 will be an update
--> Processing Conflict: libselinux-2.5-14.1.el7.x86_64 conflicts systemd < 219-20
--> Finished Dependency Resolution
Error: libselinux conflicts with systemd-208-11.el7.x86_64
You could try using --skip-broken to work around the problem
** Found 20 pre-existing rpmdb problem(s), 'yum check' output follows:
centos-release-7-7.1908.0.el7.centos.x86_64 is a duplicate with centos-release-7-0.1406.el7.centos.2.3.x86_64
cryptsetup-libs-2.0.3-5.el7.x86_64 is a duplicate with cryptsetup-libs-1.6.3-2.el7.x86_64
7:device-mapper-1.02.158-2.el7_7.2.x86_64 is a duplicate with 7:device-mapper-1.02.84-14.el7.x86_64
7:device-mapper-event-1.02.158-2.el7_7.2.x86_64 has installed conflicts lvm2-libs < ('7', '2.02.111', None): 7:lvm2-libs-2.02.105-14.el7.x86_64
7:device-mapper-event-1.02.158-2.el7_7.2.x86_64 is a duplicate with 7:device-mapper-event-1.02.84-14.el7.x86_64
7:device-mapper-event-libs-1.02.158-2.el7_7.2.x86_64 is a duplicate with 7:device-mapper-event-libs-1.02.84-14.el7.x86_64
7:device-mapper-libs-1.02.158-2.el7_7.2.x86_64 is a duplicate with 7:device-mapper-libs-1.02.84-14.el7.x86_64
device-mapper-persistent-data-0.8.5-1.el7.x86_64 is a duplicate with device-mapper-persistent-data-0.3.2-1.el7.x86_64
dracut-033-564.el7.x86_64 is a duplicate with dracut-033-161.el7.x86_64
expat-2.1.0-10.el7_3.x86_64 is a duplicate with expat-2.1.0-8.el7.x86_64
glib2-2.56.1-5.el7.x86_64 is a duplicate with glib2-2.36.3-5.el7.x86_64
kmod-20-25.el7_7.1.x86_64 is a duplicate with kmod-14-9.el7.x86_64
libblkid-2.23.2-61.el7_7.1.x86_64 is a duplicate with libblkid-2.23.2-16.el7.x86_64
libmount-2.23.2-61.el7_7.1.x86_64 is a duplicate with libmount-2.23.2-16.el7.x86_64
libuuid-2.23.2-61.el7_7.1.x86_64 is a duplicate with libuuid-2.23.2-16.el7.x86_64
systemd-219-67.el7_7.4.x86_64 has installed conflicts dracut < ('0', '033', '243'): dracut-033-161.el7.x86_64
systemd-219-67.el7_7.4.x86_64 has installed conflicts initscripts < ('0', '9.49.28', '1'): initscripts-9.49.17-1.el7.x86_64
systemd-219-67.el7_7.4.x86_64 is a duplicate with systemd-208-11.el7.x86_64
systemd-libs-219-67.el7_7.4.x86_64 is a duplicate with systemd-libs-208-11.el7.x86_64
util-linux-2.23.2-61.el7_7.1.x86_64 is a duplicate with util-linux-2.23.2-16.el7.x86_64

你系统上依赖关系有问题,可以参考:https://bbs.vpser.net/thread-19120-1-1.html 解决
日志需要按反馈必读要求上次到指定网盘
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-21 19:39 , Processed in 0.027030 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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