VPS侦探论坛

 找回密码
 注册
查看: 1714|回复: 4

Nginx install failed. 安装失败

[复制链接]
发表于 2022-9-12 16:08:08 | 显示全部楼层 |阅读模式


Error: Nginx install failed.
MySQL: OK
PHP: OK
PHP-FPM: OK
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.




ysql/var
Default Website Directory: /home/wwwroot/default
LNMP Version: 1.9
Debian 11
Debian GNU/Linux 11 \n \l

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Linux vultr 5.10.0-16-amd64 #1 SMP Debian 5.10.127-2 (2022-07-23) x86_64 GNU/Linux
Memory is: 1982 MB
Filesystem      Size  Used Avail Use% Mounted on
udev            976M     0  976M   0% /dev
tmpfs           199M  688K  198M   1% /run
/dev/vda1        47G   11G   35G  24% /
tmpfs           992M     0  992M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           199M     0  199M   0% /run/user/0
OpenSSL 1.1.1n  15 Mar 2022
Server Location: CN
Hosts: ok.
PING lnmp.org (168.235.87.4) 56(84) bytes of data.
64 bytes from 168.235.87.4 (168.235.87.4): icmp_seq=1 ttl=56 time=0.872 ms





Configuration summary
  + using system PCRE2 library
  + using OpenSSL library: /root/lnmp1.9/lnmp1.9/src/openssl-1.1.1o
  + using system zlib library

  nginx path prefix: "/usr/local/nginx"
  nginx binary file: "/usr/local/nginx/sbin/nginx"
  nginx modules path: "/usr/local/nginx/modules"
  nginx configuration prefix: "/usr/local/nginx/conf"
  nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
  nginx pid file: "/usr/local/nginx/logs/nginx.pid"
  nginx error log file: "/usr/local/nginx/logs/error.log"
  nginx http access log file: "/usr/local/nginx/logs/access.log"
  nginx http client request body temporary files: "client_body_temp"
  nginx http proxy temporary files: "proxy_temp"
  nginx http fastcgi temporary files: "fastcgi_temp"
  nginx http uwsgi temporary files: "uwsgi_temp"
  nginx http scgi temporary files: "scgi_temp"

make -f objs/Makefile
make[1]: Entering directory '/root/lnmp1.9/lnmp1.9/src/nginx-1.22.0'
cd /root/lnmp1.9/lnmp1.9/src/openssl-1.1.1o \
&& if [ -f Makefile ]; then make clean; fi \
&& ./config --prefix=/root/lnmp1.9/lnmp1.9/src/openssl-1.1.1o/.openssl no-shared no-threads 'enable-weak-ssl-ciphers' \
&& make \
&& make install_sw LIBDIR=lib
/bin/sh: 1: cd: can't cd to /root/lnmp1.9/lnmp1.9/src/openssl-1.1.1o
make[1]: *** [objs/Makefile:1551: /root/lnmp1.9/lnmp1.9/src/openssl-1.1.1o/.openssl/include/openssl/ssl.h] Error 2
make[1]: Leaving directory '/root/lnmp1.9/lnmp1.9/src/nginx-1.22.0'
make: *** [Makefile:10: build] Error 2
make -f objs/Makefile
make[1]: Entering directory '/root/lnmp1.9/lnmp1.9/src/nginx-1.22.0'
cd /root/lnmp1.9/lnmp1.9/src/openssl-1.1.1o \
&& if [ -f Makefile ]; then make clean; fi \
&& ./config --prefix=/root/lnmp1.9/lnmp1.9/src/openssl-1.1.1o/.openssl no-shared no-threads 'enable-weak-ssl-ciphers' \
&& make \
&& make install_sw LIBDIR=lib
/bin/sh: 1: cd: can't cd to /root/lnmp1.9/lnmp1.9/src/openssl-1.1.1o
make[1]: *** [objs/Makefile:1551: /root/lnmp1.9/lnmp1.9/src/openssl-1.1.1o/.openssl/include/openssl/ssl.h] Error 2
make[1]: Leaving directory '/root/lnmp1.9/lnmp1.9/src/nginx-1.22.0'
make: *** [Makefile:10: build] Error 2
make -f objs/Makefile install
make[1]: Entering directory '/root/lnmp1.9/lnmp1.9/src/nginx-1.22.0'
cd /root/lnmp1.9/lnmp1.9/src/openssl-1.1.1o \
&& if [ -f Makefile ]; then make clean; fi \
&& ./config --prefix=/root/lnmp1.9/lnmp1.9/src/openssl-1.1.1o/.openssl no-shared no-threads 'enable-weak-ssl-ciphers' \
&& make \
&& make install_sw LIBDIR=lib
/bin/sh: 1: cd: can't cd to /root/lnmp1.9/lnmp1.9/src/openssl-1.1.1o
make[1]: *** [objs/Makefile:1551: /root/lnmp1.9/lnmp1.9/src/openssl-1.1.1o/.openssl/include/openssl/ssl.h] Error 2
make[1]: Leaving directory '/root/lnmp1.9/lnmp1.9/src/nginx-1.22.0'
make: *** [Makefile:13: install] Error 2
cp: cannot create regular file '/usr/local/nginx/conf/nginx.conf': No such file or directory
cp: cannot create directory '/usr/local/nginx/conf/': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/pathinfo.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/enable-php.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/enable-php-pathinfo.conf': No such file or directory
cp: cannot create directory '/usr/local/nginx/conf/example': No such file or directory
chown: changing ownership of '/home/wwwroot/default/.user.ini': Operation not permitted
mkdir: cannot create directory ‘/usr/local/nginx/conf/vhost’: No such file or directory
include/nginx.sh: line 157: /home/wwwroot/default/.user.ini: Operation not permitted
chmod: changing permissions of '/home/wwwroot/default/.user.ini': Operation not permitted
include/nginx.sh: line 162: /usr/local/nginx/conf/fastcgi.conf: No such file or directory
3.9+
sed: can't read /usr/local/nginx/conf/nginx.conf: No such file or directory
Create PHP Info Tool...
Copy PHP Prober...
Copy Opcache Control Panel...
============================Install PHPMyAdmin==========


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


按反馈必读要求上传安装日志到指定网盘
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-9-12 21:01:14 | 显示全部楼层

http://ftp.39long.com/lnmp-install.log
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-9-13 08:26:57 | 显示全部楼层



fcqx 发表于 2022-9-12 21:01
http://ftp.39long.com/lnmp-install.log
Notice: nginx-1.22.0.tar.gz not found!!!download now...
--2022-09-12 18:02:03--  https://soft.vpser.net/web/nginx/nginx-1.22.0.tar.gz
Resolving soft.vpser.net (soft.vpser.net)... 172.81.151.54, 2600:3c01::f03c:91ff:fe92:1a06
Connecting to soft.vpser.net (soft.vpser.net)|172.81.151.54|:443... failed: Connection timed out.
Connecting to soft.vpser.net (soft.vpser.net)|2600:3c01::f03c:91ff:fe92:1a06|:443... failed: Network is unreachable.
Notice: mysql-5.7.38.tar.gz not found!!!download now...
--2022-09-12 18:04:14--  https://soft.vpser.net/datebase/mysql/mysql-5.7.38.tar.gz
Resolving soft.vpser.net (soft.vpser.net)... 172.81.151.54, 2600:3c01::f03c:91ff:fe92:1a06
Connecting to soft.vpser.net (soft.vpser.net)|172.81.151.54|:443... failed: Connection timed out.
Connecting to soft.vpser.net (soft.vpser.net)|2600:3c01::f03c:91ff:fe92:1a06|:443... failed: Network is unreachable.

一个下载节点故障导致的,重新安装就可以了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-9-13 11:40:28 | 显示全部楼层

谢谢 现在好了

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

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-7-27 10:42 , Processed in 0.026778 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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