miwawgp 发表于 2019-3-13 14:30:42

军哥!阿里云国际新加坡ecs的LNMP安装失败!求帮忙解决!

具体机器配置如下:
CPU Model            : Intel(R) Xeon(R) CPU E5-2682 v4 @ 2.50GHz
CPU Cores            : 1 Cores @ 2499.994 MHz x86_64
CPU Cache            : 40960 KB
OS                   : CentOS 7.6.1810 (64 Bit) KVM
Kernel               : 4.14.91-bbrplus
Total Space          : 2.4 GB / 40.0 GB
Total RAM            : 83 MB / 985 MB (835 MB Buff)
Total SWAP         : 0 MB / 0 MB
Uptime               : 0 days 1 hour 7 min
Load Average         : 0.00, 0.00, 0.03
TCP CC               : bbrplus
ASN & ISP            : AS45102, Alibaba (China) Technology Co., Ltd.
Organization         : Alibaba.com Singapore E-Commerce Private Limited
Location             : Singapore, Singapore / SG
Region               : Central Singapore Community Development Council

安装了3次都出错,附件是日志!

miwawgp 发表于 2019-3-13 15:15:23

阿里云国际新加坡ecs的LNMP1.5安装失败!

licess 发表于 2019-3-13 16:12:33

checking dependency style of gcc... none
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/root/lnmp1.5/src/libiconv-1.15':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
。。。。。。
checking for uint32_t ... uint32_t not found, u_int32_t not found
./configure: error: can not define uint32_t

不大具体原因,看日志cpp、gcc-g++ 之类的包都安装上了,有可能这些包被删除了
cpp --version
gcc -dumpversion
看看 ,再 yum install glibc-headers gcc-c++ 看看

miwawgp 发表于 2019-3-13 16:33:15

回复 3# 的帖子

Error: Nginx install failed.
Error: MySQL install failed.
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.
# cpp --version
cpp (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# gcc -dumpversion
4.8.5
#

我复制的部分提示,好像确实是有可能一些包被删除了,这个问题怎么解决,我root用户都没权限吗?

miwawgp 发表于 2019-3-13 16:44:20

问题好像在这里:

--- out.vpser.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 87.293/87.330/87.356/0.342 ms
Setting timezone...
[+] Installing ntp...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.vodien.com
* epel: mirror.horizon.vn
* extras: mirror.vodien.com
* updates: mirror.vodien.com
Package ntp-4.2.6p5-28.el7.centos.x86_64 already installed and latest version
Nothing to do
13 Mar 16:40:29 ntpdate: adjust time server 210.23.25.77 offset 0.017825 sec
Wed Mar 13 16:40:29 CST 2019
[-] Yum remove packages...
error: package httpd is not installed
error: package httpd-tools is not installed
error: package mysql is not installed
error: package mysql-libs is not installed
error: package php-mysql is not installed
error: package php-cli is not installed
error: package php-gd is not installed
error: package php-common is not installed
error: package php is not installed
Loaded plugins: fastestmirror
No Match for argument: httpd*
No Packages marked for removal
Loaded plugins: fastestmirror
No Match for argument: mysql-server
No Match for argument: mysql
No Match for argument: mysql-libs
No Packages marked for removal
Loaded plugins: fastestmirror
No Match for argument: php*
No Packages marked for removal
Loaded plugins: fastestmirror
Cleaning repos: base epel extras updates
Cleaning up list of fastest mirrors
[+] Yum installing dependent packages...
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirror.0x.sg
* epel: mirror.horizon.vn
* extras: mirror.0x.sg
* updates: mirror.0x.sg
Package 1:make-3.82-23.el7.x86_64 already installed and latest version
Nothing to do

miwawgp 发表于 2019-3-13 16:48:27

我把整个ssh安装过程日志都打包发附件了,麻烦军哥帮我看看吧!

licess 发表于 2019-3-14 09:14:40

这个就不大清楚了,编译过程中cpp这些按日志都找不到

是否安装了云锁之类的安全软件?

miwawgp 发表于 2019-3-14 09:57:43

回复 7# 的帖子

没办法了,我是自己DD的系统,刚才直接装回阿里云原系统就没有问题了,不折腾了,实在是不知道问题出在哪里?:L
页: [1]
查看完整版本: 军哥!阿里云国际新加坡ecs的LNMP安装失败!求帮忙解决!