min1423813868 发表于 2022-7-20 16:06:54

安装lamp失败-lnmp1.9-full

checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.
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.
Copy new php configure file...
Modify php.ini......
include/php.sh: line 190: pear: command not found
include/php.sh: line 191: pecl: command not found

Install ZendGuardLoader for PHP 5.6...
zend-loader-php5.6-linux-x86_64.tar.gz
Uncompress zend-loader-php5.6-linux-x86_64.tar.gz...
Write ZendGuardLoader to php.ini...
Clean PHP src directory...
Create PHP Info Tool...
Copy PHP Prober...
Copy Opcache Control Panel...
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Package iptables-services-1.4.21-35.el7.x86_64 already installed and latest version
Nothing to do
iptables: Saving firewall rules to /etc/sysconfig/iptables:
Redirecting to /bin/systemctl reload iptables.service
Job for iptables.service invalid.
Add iptables service at system startup...
Add Startup and Starting LAMP...
Add httpd service at system startup...
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /etc/systemd/system/httpd.service.
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
Add mysql service at system startup...
Error: Apache install failed.
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.
#

licess 发表于 2022-7-20 21:09:43

Resolving Dependencies
--> Running transaction check
---> Package gd-devel.x86_64 0:2.0.35-26.el7 will be installed
--> Processing Dependency: gd = 2.0.35-26.el7 for package: gd-devel-2.0.35-26.el7.x86_64
--> Processing Dependency: freetype-devel for package: gd-devel-2.0.35-26.el7.x86_64
--> Processing Dependency: fontconfig-devel for package: gd-devel-2.0.35-26.el7.x86_64
--> Running transaction check
---> Package fontconfig-devel.x86_64 0:2.13.0-4.3.el7 will be installed
--> Processing Dependency: pkgconfig(uuid) for package: fontconfig-devel-2.13.0-4.3.el7.x86_64
---> Package freetype-devel.x86_64 0:2.8-14.el7 will be installed
--> Processing Dependency: freetype = 2.8-14.el7 for package: freetype-devel-2.8-14.el7.x86_64
---> Package gd.i686 0:2.0.35-26.el7 will be installed
--> Processing Dependency: libz.so.1 for package: gd-2.0.35-26.el7.i686
--> Processing Dependency: libpng15.so.15(PNG15_0) for package: gd-2.0.35-26.el7.i686
--> Processing Dependency: libpng15.so.15 for package: gd-2.0.35-26.el7.i686
--> Processing Dependency: libm.so.6(GLIBC_2.1) for package: gd-2.0.35-26.el7.i686
--> Processing Dependency: libm.so.6(GLIBC_2.0) for package: gd-2.0.35-26.el7.i686
--> Processing Dependency: libm.so.6 for package: gd-2.0.35-26.el7.i686
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2) for package: gd-2.0.35-26.el7.i686
--> Processing Dependency: libjpeg.so.62 for package: gd-2.0.35-26.el7.i686
--> Processing Dependency: libfontconfig.so.1 for package: gd-2.0.35-26.el7.i686
--> Processing Dependency: libc.so.6(GLIBC_2.11) for package: gd-2.0.35-26.el7.i686
--> Processing Dependency: libXpm.so.4 for package: gd-2.0.35-26.el7.i686
--> Processing Dependency: libX11.so.6 for package: gd-2.0.35-26.el7.i686
--> Running transaction check
---> Package fontconfig.i686 0:2.13.0-4.3.el7 will be installed
--> Processing Dependency: libuuid.so.1(UUID_1.0) for package: fontconfig-2.13.0-4.3.el7.i686
--> Processing Dependency: libuuid.so.1 for package: fontconfig-2.13.0-4.3.el7.i686
--> Processing Dependency: libexpat.so.1 for package: fontconfig-2.13.0-4.3.el7.i686
---> Package freetype.i686 0:2.8-14.el7 will be installed
--> Processing Dependency: libbz2.so.1 for package: freetype-2.8-14.el7.i686
---> Package glibc.i686 0:2.17-317.el7 will be installed
--> Processing Dependency: glibc-common = 2.17-317.el7 for package: glibc-2.17-317.el7.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-317.el7.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.17-317.el7.i686
---> Package libX11.i686 0:1.6.7-2.el7 will be installed
--> Processing Dependency: libxcb.so.1 for package: libX11-1.6.7-2.el7.i686
---> Package libXpm.i686 0:3.5.12-1.el7 will be installed
---> Package libjpeg-turbo.i686 0:1.2.90-8.el7 will be installed
---> Package libpng.i686 2:1.5.13-8.el7 will be installed
---> Package libuuid-devel.x86_64 0:2.23.2-65.el7 will be installed
---> Package zlib.i686 0:1.2.7-18.el7 will be installed
--> Running transaction check
---> Package bzip2-libs.i686 0:1.0.6-13.el7 will be installed
---> Package expat.i686 0:2.1.0-12.el7 will be installed
---> Package glibc.i686 0:2.17-317.el7 will be installed
--> Processing Dependency: glibc-common = 2.17-317.el7 for package: glibc-2.17-317.el7.i686
---> Package libuuid.i686 0:2.23.2-65.el7 will be installed
---> Package libxcb.i686 0:1.13-1.el7 will be installed
--> Processing Dependency: libXau.so.6 for package: libxcb-1.13-1.el7.i686
---> Package nss-softokn-freebl.i686 0:3.44.0-8.el7_7 will be installed
--> Running transaction check
---> Package glibc.i686 0:2.17-317.el7 will be installed
--> Processing Dependency: glibc-common = 2.17-317.el7 for package: glibc-2.17-317.el7.i686
---> Package libXau.i686 0:1.0.8-2.1.el7 will be installed
--> Finished Dependency Resolution
Error: Package: glibc-2.17-317.el7.i686 (local)
         Requires: glibc-common = 2.17-317.el7
         Installed: glibc-common-2.17-325.el7_9.x86_64 (@updates)
               glibc-common = 2.17-325.el7_9
         Available: glibc-common-2.17-317.el7.x86_64 (local)
               glibc-common = 2.17-317.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Package matching libxml2-2.9.1-6.el7.5.x86_64 already installed. Checking for update.
Nothing to do
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package libxml2-devel.x86_64 0:2.9.1-6.el7.5 will be installed
--> Processing Dependency: libxml2 = 2.9.1-6.el7.5 for package: libxml2-devel-2.9.1-6.el7.5.x86_64
--> Processing Dependency: xz-devel for package: libxml2-devel-2.9.1-6.el7.5.x86_64
--> Running transaction check
---> Package libxml2.i686 0:2.9.1-6.el7.5 will be installed
--> Processing Dependency: libz.so.1(ZLIB_1.2.3.3) for package: libxml2-2.9.1-6.el7.5.i686
--> Processing Dependency: libz.so.1(ZLIB_1.2.2.3) for package: libxml2-2.9.1-6.el7.5.i686
--> Processing Dependency: libz.so.1 for package: libxml2-2.9.1-6.el7.5.i686
--> Processing Dependency: libm.so.6(GLIBC_2.1) for package: libxml2-2.9.1-6.el7.5.i686
--> Processing Dependency: libm.so.6(GLIBC_2.0) for package: libxml2-2.9.1-6.el7.5.i686
--> Processing Dependency: libm.so.6 for package: libxml2-2.9.1-6.el7.5.i686
--> Processing Dependency: liblzma.so.5(XZ_5.0) for package: libxml2-2.9.1-6.el7.5.i686
--> Processing Dependency: liblzma.so.5 for package: libxml2-2.9.1-6.el7.5.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.1) for package: libxml2-2.9.1-6.el7.5.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.0) for package: libxml2-2.9.1-6.el7.5.i686
--> Processing Dependency: libdl.so.2 for package: libxml2-2.9.1-6.el7.5.i686
--> Processing Dependency: libc.so.6(GLIBC_2.15) for package: libxml2-2.9.1-6.el7.5.i686
---> Package xz-devel.x86_64 0:5.2.2-1.el7 will be installed
--> Running transaction check
---> Package glibc.i686 0:2.17-317.el7 will be installed
--> Processing Dependency: glibc-common = 2.17-317.el7 for package: glibc-2.17-317.el7.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-317.el7.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.17-317.el7.i686
---> Package xz-libs.i686 0:5.2.2-1.el7 will be installed
---> Package zlib.i686 0:1.2.7-18.el7 will be installed
--> Running transaction check
---> Package glibc.i686 0:2.17-317.el7 will be installed
--> Processing Dependency: glibc-common = 2.17-317.el7 for package: glibc-2.17-317.el7.i686
---> Package nss-softokn-freebl.i686 0:3.44.0-8.el7_7 will be installed
--> Finished Dependency Resolution
Error: Package: glibc-2.17-317.el7.i686 (local)
         Requires: glibc-common = 2.17-317.el7
         Installed: glibc-common-2.17-325.el7_9.x86_64 (@updates)
               glibc-common = 2.17-325.el7_9
         Available: glibc-common-2.17-317.el7.x86_64 (local)
               glibc-common = 2.17-317.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
你这个像是在联网情况下使用yum安装过软件包且进行的离线安装而且与本地源软件包版本不一致导致的
执行命令:yum distro-sync
同步一下,与本地源版本一致之后再安装lnmp应该就可以了

min1423813868 发表于 2022-7-20 16:41:21

换成lnmp1.8-full也不行

Install ZendGuardLoader for PHP 5.6...
Notice:not found!!!download now...
--2022-07-20 16:39:22--https://soft.vpser.net/web/zend/zend-loader-php5.6-linux-x86_64.tar.gz
Resolving soft.vpser.net (soft.vpser.net)... failed: Name or service not known.
wget: unable to resolve host address ‘soft.vpser.net’
Write ZendGuardLoader to php.ini...
Clean PHP src directory...
Create PHP Info Tool...
Copy PHP Prober...
Copy Opcache Control Panel...
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Package iptables-services-1.4.21-35.el7.x86_64 already installed and latest version
Nothing to do
iptables: Saving firewall rules to /etc/sysconfig/iptables:
Redirecting to /bin/systemctl reload iptables.service
Job for iptables.service invalid.
Add iptables service at system startup...
Add Startup and Starting LAMP...
Add httpd service at system startup...
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /etc/systemd/system/httpd.service.
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
Add mysql service at system startup...
Error: Apache install failed.
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.https://cdn.jsdelivr.net/gh/master-of-forums/master-of-forums/public/images/patch.gif

licess 发表于 2022-7-20 17:17:07

贴出的日志中没有有用信息,需要按反馈必读要求提供完整日志信息

min1423813868 发表于 2022-7-20 17:43:49

licess 发表于 2022-7-20 17:17
贴出的日志中没有有用信息,需要按反馈必读要求提供完整日志信息

https://www.wenshushu.cn/f/8ueeorxgsa5

安装日志,麻烦看下!!!多谢https://cdn.jsdelivr.net/gh/master-of-forums/master-of-forums/public/images/patch.gif

min1423813868 发表于 2022-7-20 17:46:22

min1423813868 发表于 2022-7-20 17:43
https://www.wenshushu.cn/f/8ueeorxgsa5

安装日志,麻烦看下!!!多谢

CentOS Linux release 7.6.1810 (Core)https://cdn.jsdelivr.net/gh/master-of-forums/master-of-forums/public/images/patch.gif

min1423813868 发表于 2022-7-21 09:31:26

licess 发表于 2022-7-20 21:09
你这个像是在联网情况下使用yum安装过软件包且进行的离线安装而且与本地源软件包版本不一致导致的
执行命 ...

感谢大佬!!!可以了https://cdn.jsdelivr.net/gh/master-of-forums/master-of-forums/public/images/patch.gif
页: [1]
查看完整版本: 安装lamp失败-lnmp1.9-full