zzdboy 发表于 2022-4-20 14:48:51

统信服务器安装失败

make: Leaving directory '/data/lnmp/src/nginx-1.20.2'
make -f objs/Makefile install
make: 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: 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: 
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!
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-4-20 16:07:47

按反馈必读要求提供完整日志,否则无法确定什么问题

zzdboy 发表于 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里安装
[0;32mPress any key to install...or Press Ctrl+c to cancel
You will install lnmp stack.
nginx-1.20.2
mysql-8.0.28
php-8.1.3
Enable InnoDB: y
Print lnmp.conf infomation...
Download Mirror: https://soft.vpser.net
Nginx Additional Modules:
PHP Additional Modules:
enable PHP fileinfo.
Database Directory: /data/mysql/var
Default Website Directory: /data/wwwroot/default
LNMP Version: 1.9
UOS 20
UnionTech OS Server 20 1050a \n \l
UnionTech OS Server release 20 (kongzi)
DISTRIB_ID="Uos"
DISTRIB_RELEASE="20"
DISTRIB_DESCRIPTION="UnionTech OS Server 20"
DISTRIB_CODENAME="kongzi"
PRETTY_NAME="UnionTech OS Server 20"
NAME="UnionTech OS Server 20"
VERSION_ID="20"
VERSION="20"
ID="uos"
HOME_URL="https://www.chinauos.com/"
BUG_REPORT_URL="https://bbs.chinauos.com/"
VERSION_CODENAME="kongzi"
PLATFORM_ID="platform:uelc20"
UnionTech OS Server release 20 (kongzi)
UnionTech OS Server release 20 (kongzi)
UnionTech OS Server release 20 (kongzi)
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
Memory is: 3757 MB
Filesystem                  SizeUsed Avail Use% Mounted on
devtmpfs                      1.9G   01.9G   0% /dev
tmpfs                         1.9G   01.9G   0% /dev/shm
tmpfs                         1.9G   17M1.9G   1% /run
tmpfs                         1.9G   01.9G   0% /sys/fs/cgroup
/dev/mapper/uniontechos-root   36G7.6G   28G22% /
/dev/sda3                      30G1.4G   29G   5% /backup
/dev/sda1                  1014M276M739M28% /boot
tmpfs                         376M   0376M   0% /run/user/0
OpenSSL 1.1.1g FIPS21 Apr 2020
Server Location: CN
Hosts: ok.
PING lnmp.org (168.235.75.115) 56(84) bytes of data.
64 bytes from 168.235.75.115 (168.235.75.115): icmp_seq=1 ttl=128 time=190 ms



zzdboy 发表于 2022-4-21 08:00:22

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

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

zzdboy 发表于 2022-4-21 08:02:25

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

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

zzdboy 发表于 2022-4-21 08:08:52

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

licess 发表于 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

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

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

做服务器真心不推荐用UOS等"国产"的,除非国内单位强制要求使用"国产"的

zzdboy 发表于 2022-4-21 16:46:46

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

好的,要做政府应用开发系统,强制要求国产系统

licess 发表于 2022-4-22 19:50:32

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

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

wuuyun 发表于 2022-4-23 08:31:31

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

政府应用 数据库有要求吗
用的也是国产数据库吗
页: [1]
查看完整版本: 统信服务器安装失败