VPS侦探论坛

 找回密码
 注册
查看: 4990|回复: 9

统信服务器安装失败

[复制链接]
发表于 2022-4-20 14:48:51 | 显示全部楼层 |阅读模式

make[1]: Leaving directory '/data/lnmp/src/nginx-1.20.2'
make -f objs/Makefile install
make[1]: Entering directory '/data/lnmp/src/nginx-1.20.2'
test -d '/usr/local/nginx' || mkdir -p '/usr/local/nginx'
test -d '/usr/local/nginx/sbin' \
    || mkdir -p '/usr/local/nginx/sbin'
test ! -f '/usr/local/nginx/sbin/nginx' \
    || mv '/usr/local/nginx/sbin/nginx' \
        '/usr/local/nginx/sbin/nginx.old'
cp objs/nginx '/usr/local/nginx/sbin/nginx'
test -d '/usr/local/nginx/conf' \
    || mkdir -p '/usr/local/nginx/conf'
cp conf/koi-win '/usr/local/nginx/conf'
cp conf/koi-utf '/usr/local/nginx/conf'
cp conf/win-utf '/usr/local/nginx/conf'
test -f '/usr/local/nginx/conf/mime.types' \
    || cp conf/mime.types '/usr/local/nginx/conf'
cp conf/mime.types '/usr/local/nginx/conf/mime.types.default'
test -f '/usr/local/nginx/conf/fastcgi_params' \
    || cp conf/fastcgi_params '/usr/local/nginx/conf'
cp conf/fastcgi_params \
    '/usr/local/nginx/conf/fastcgi_params.default'
test -f '/usr/local/nginx/conf/fastcgi.conf' \
    || cp conf/fastcgi.conf '/usr/local/nginx/conf'
cp conf/fastcgi.conf '/usr/local/nginx/conf/fastcgi.conf.default'
test -f '/usr/local/nginx/conf/uwsgi_params' \
    || cp conf/uwsgi_params '/usr/local/nginx/conf'
cp conf/uwsgi_params \
    '/usr/local/nginx/conf/uwsgi_params.default'
test -f '/usr/local/nginx/conf/scgi_params' \
    || cp conf/scgi_params '/usr/local/nginx/conf'
cp conf/scgi_params \
    '/usr/local/nginx/conf/scgi_params.default'
test -f '/usr/local/nginx/conf/nginx.conf' \
    || cp conf/nginx.conf '/usr/local/nginx/conf/nginx.conf'
cp conf/nginx.conf '/usr/local/nginx/conf/nginx.conf.default'
test -d '/usr/local/nginx/logs' \
    || mkdir -p '/usr/local/nginx/logs'
test -d '/usr/local/nginx/logs' \
    || mkdir -p '/usr/local/nginx/logs'
test -d '/usr/local/nginx/html' \
    || cp -R html '/usr/local/nginx'
test -d '/usr/local/nginx/logs' \
    || mkdir -p '/usr/local/nginx/logs'
make[1]: Leaving directory '/data/lnmp/src/nginx-1.20.2'
chown: changing ownership of '/data/wwwroot/default/.user.ini': Operation not permitted
mkdir: cannot create directory '/usr/local/nginx/conf/vhost': File exists
include/nginx.sh: line 145: /data/wwwroot/default/.user.ini: Operation not permitted
chmod: changing permissions of '/data/wwwroot/default/.user.ini': Operation not permitted
3.9+
Create PHP Info Tool...
Copy PHP Prober...
Copy Opcache Control Panel...
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
Last metadata expiration check: 0:04:19 ago on Wed Apr 20 14:28:20 2022.
Package iptables-services-1.8.4-17.0.1.uelc20.1.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Failed to set locale, defaulting to C.UTF-8
iptables: Saving firewall rules to /etc/sysconfig/iptables: [  OK  ]
Redirecting to /bin/systemctl reload iptables.service
iptables.service is not active, cannot reload.
Add iptables service at system startup...
Add Startup and Starting LNMP...
Add nginx service at system startup...
Synchronizing state of nginx.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable nginx
Add mysql service at system startup...
Synchronizing state of mysql.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable mysql
Add php-fpm service at system startup...
============================== 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.

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


按反馈必读要求提供完整日志,否则无法确定什么问题
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-4-21 07:59:48 | 显示全部楼层

内核: Linux localhost.localdomain 4.19.0-91.82.92.uelc20.x86_64 #1 SMP Fri Mar 11 09:01:19 CST 2022 x86_64 x86_64 x86_64 GNU/Linux
系统版本: uniontechos-server-20-1050a-amd64
VMware Workstation Pro里安装
  1. [0;32mPress any key to install...or Press Ctrl+c to cancel
  2. You will install lnmp stack.
  3. nginx-1.20.2
  4. mysql-8.0.28
  5. php-8.1.3
  6. Enable InnoDB: y
  7. Print lnmp.conf infomation...
  8. Download Mirror: https://soft.vpser.net
  9. Nginx Additional Modules:
  10. PHP Additional Modules:
  11. enable PHP fileinfo.
  12. Database Directory: /data/mysql/var
  13. Default Website Directory: /data/wwwroot/default
  14. LNMP Version: 1.9
  15. UOS 20
  16. UnionTech OS Server 20 1050a \n \l
  17. UnionTech OS Server release 20 (kongzi)
  18. DISTRIB_ID="Uos"
  19. DISTRIB_RELEASE="20"
  20. DISTRIB_DESCRIPTION="UnionTech OS Server 20"
  21. DISTRIB_CODENAME="kongzi"
  22. PRETTY_NAME="UnionTech OS Server 20"
  23. NAME="UnionTech OS Server 20"
  24. VERSION_ID="20"
  25. VERSION="20"
  26. ID="uos"
  27. HOME_URL="https://www.chinauos.com/"
  28. BUG_REPORT_URL="https://bbs.chinauos.com/"
  29. VERSION_CODENAME="kongzi"
  30. PLATFORM_ID="platform:uelc20"
  31. UnionTech OS Server release 20 (kongzi)
  32. UnionTech OS Server release 20 (kongzi)
  33. UnionTech OS Server release 20 (kongzi)
  34. Linux localhost.localdomain 4.19.0-91.82.92.uelc20.x86_64 #1 SMP Fri Mar 11 09:01:19 CST 2022 x86_64 x86_64 x86_64 GNU/Linux
  35. Memory is: 3757 MB
  36. Filesystem                    Size  Used Avail Use% Mounted on
  37. devtmpfs                      1.9G     0  1.9G   0% /dev
  38. tmpfs                         1.9G     0  1.9G   0% /dev/shm
  39. tmpfs                         1.9G   17M  1.9G   1% /run
  40. tmpfs                         1.9G     0  1.9G   0% /sys/fs/cgroup
  41. /dev/mapper/uniontechos-root   36G  7.6G   28G  22% /
  42. /dev/sda3                      30G  1.4G   29G   5% /backup
  43. /dev/sda1                    1014M  276M  739M  28% /boot
  44. tmpfs                         376M     0  376M   0% /run/user/0
  45. OpenSSL 1.1.1g FIPS  21 Apr 2020
  46. Server Location: CN
  47. Hosts: ok.
  48. PING lnmp.org (168.235.75.115) 56(84) bytes of data.
  49. 64 bytes from 168.235.75.115 (168.235.75.115): icmp_seq=1 ttl=128 time=190 ms
复制代码




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



本帖最后由 zzdboy 于 2022-4-21 08:09 编辑

https://ws28.cn/f/84lfowndr6f 复制链接到浏览器打开

Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-4-21 08:02:25 | 显示全部楼层

本帖最后由 zzdboy 于 2022-4-21 08:10 编辑

https://ws28.cn/f/84lfowndr6f 复制链接到浏览器打开

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2022-4-21 08:08:52 | 显示全部楼层

日志文件
https://ws28.cn/f/84lfowndr6f 复制链接到浏览器打开
发表于 2022-4-21 14:25:11 | 显示全部楼层

checking for U8T_DECOMPOSE... no
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
make: *** No targets specified and no makefile found.  Stop.

看日志你是修改了 lnmp.conf 选择安装IMAP模块?
UOS本身就不完善,他的软件包里面压根就没有提供IMAP相关的依赖包
要装只能装其他系统上的IMAP依赖包或者自己编译imap-2007f.tar.gz

  1. rpm -ivh https://mirrors.aliyun.com/epel/8/Everything/x86_64/Packages/l/libc-client-2007f-24.el8.x86_64.rpm
  2. rpm -ivh https://mirrors.aliyun.com/epel/8/Everything/x86_64/Packages/u/uw-imap-devel-2007f-24.el8.x86_64.rpm
复制代码

安装好这两个应该就可以了

做服务器真心不推荐用UOS等"国产"的,除非国内单位强制要求使用"国产"的
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2022-4-21 16:46:46 | 显示全部楼层

licess 发表于 2022-4-21 14:25
看日志你是修改了 lnmp.conf 选择安装IMAP模块?
UOS本身就不完善,他的软件包里面压根就没有提供IMAP相关 ...

好的,要做政府应用开发系统,强制要求国产系统
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2022-4-22 19:50:32 | 显示全部楼层


zzdboy 发表于 2022-4-21 16:46
好的,要做政府应用开发系统,强制要求国产系统

可以尝试使用uos server的d版,基于debian系的软件包上很少会出现缺少之类的情况

军哥运维代购:http://shop63846532.taobao.com/

发表于 2022-4-23 08:31:31 | 显示全部楼层



zzdboy 发表于 2022-4-21 16:46
好的,要做政府应用开发系统,强制要求国产系统

政府应用 数据库有要求吗
用的也是国产数据库吗
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-5 23:29 , Processed in 0.028494 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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