VPS侦探论坛

 找回密码
 注册
查看: 2774|回复: 6

debian11安装失败

[复制链接]
发表于 2022-7-18 22:52:06 | 显示全部楼层 |阅读模式

本帖最后由 MVVZEWDE8Y38IWZ 于 2022-7-18 22:57 编辑

http://110.42.179.157/log.zip

有看见错误提示无法在/usr/local/创建nginx的一些文件  

软件一个都没成功安装



root@debian:/home/debian# ls /usr/local/
apache  bin  etc  freetype  games  include  lib  man  mysql  php  sbin  share  src
root@debian:/home/debian#


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


gcc  -I. -Iinclude -fPIC -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/home/debian/lnmp1.9/src/openssl-1.1.1o/.openssl/ssl\"" -DENGINESDIR="\"/home/debian/lnmp1.9/src/openssl-1.1.1o/.openssl/lib/engines-1.1\"" -DNDEBUG  -MMD -MF crypto/bn/bn_add.d.tmp -MT crypto/bn/bn_add.o -c -o crypto/bn/bn_add.o crypto/bn/bn_add.c
gcc  -I. -Iinclude -fPIC -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/home/debian/lnmp1.9/src/openssl-1.1.1o/.openssl/ssl\"" -DENGINESDIR="\"/home/debian/lnmp1.9/src/openssl-1.1.1o/.openssl/lib/engines-1.1\"" -DNDEBUG  -MMD -MF crypto/bn/bn_blind.d.tmp -MT crypto/bn/bn_blind.o -c -o crypto/bn/bn_blind.o crypto/bn/bn_blind.c
crypto/bn/bn_blind.c: In function 'BN_BLINDING_new':
crypto/bn/bn_blind.c:77:5: internal compiler error: Segmentation fault
   77 |     BN_BLINDING_free(ret);
      |     ^~~~~~~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
make[3]: *** [Makefile:1654: crypto/bn/bn_blind.o] Error 1
make[3]: Leaving directory '/home/debian/lnmp1.9/src/openssl-1.1.1o'
make[2]: *** [Makefile:174:all] 错误 2
make[2]: 离开目录“/home/debian/lnmp1.9/src/openssl-1.1.1o”
make[1]: *** [objs/Makefile:1560:/home/debian/lnmp1.9/src/openssl-1.1.1o/.openssl/include/openssl/ssl.h] 错误 2
make[1]: 离开目录“/home/debian/lnmp1.9/src/nginx-1.22.0”
make: *** [Makefile:13:install] 错误 2
cp: 无法创建普通文件'/usr/local/nginx/conf/nginx.conf': 没有那个文件或目录
cp: 无法创建普通文件'/usr/local/nginx/conf/proxy.conf': 没有那个文件或目录
cp: 无法创建普通文件'/usr/local/nginx/conf/proxy-pass-php.conf': 没有那个文件或目录
cp: 无法创建目录 '/usr/local/nginx/conf/': 没有那个文件或目录
cp: 无法创建普通文件'/usr/local/nginx/conf/pathinfo.conf': 没有那个文件或目录
cp: 无法创建普通文件'/usr/local/nginx/conf/enable-php.conf': 没有那个文件或目录
cp: 无法创建普通文件'/usr/local/nginx/conf/enable-php-pathinfo.conf': 没有那个文件或目录
cp: 无法创建目录 '/usr/local/nginx/conf/example': 没有那个文件或目录
mkdir: 无法创建目录 “/usr/local/nginx/conf/vhost”: 没有那个文件或目录
sed:无法读取 /usr/local/nginx/conf/nginx.conf:没有那个文件或目录
3.9+
sed:无法读取 /usr/local/nginx/conf/nginx.conf:没有那个文件或目录
Create PHP Info Tool...
Copy PHP Prober...
Copy Opcache Control Panel...
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
Add Startup and Starting LNMPA...
Add nginx service at system startup...
Synchronizing state of nginx.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable nginx
Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service → /etc/systemd/system/nginx.service.
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
Add mysql service at system startup...
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
Add httpd service at system startup...
Synchronizing state of httpd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable httpd
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service → /etc/systemd/system/httpd.service.
============================== Check install ==============================
Checking ...
Error: Nginx install failed.
Error: MySQL install failed.
Error: PHP install failed.
Error: Apache 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.
root@debian:/home/debian/lnmp1.9#
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-7-18 23:23:59 | 显示全部楼层

试了下8.0,报错内容还是跟之前一样
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-7-19 10:21:37 | 显示全部楼层



[ 23%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/row/row0quiesce.cc.o
during RTL pass: sched2
/home/debian/lnmp1.9/src/mysql-5.7.38/storage/innobase/row/row0quiesce.cc: In function ‘void row_quiesce_table_start(dict_table_t*, trx_t*)’:
/home/debian/lnmp1.9/src/mysql-5.7.38/storage/innobase/row/row0quiesce.cc:788:1: internal compiler error: 段错误
  788 | }
      | ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
make[2]: *** [storage/innobase/CMakeFiles/innobase.dir/build.make:1330:storage/innobase/CMakeFiles/innobase.dir/row/row0quiesce.cc.o] 错误 1



/home/debian/lnmp1.9/src/httpd-2.4.53/srclib/apr/libtool --silent --mode=link gcc  -g -O2 -pthread           -o mod_filter.la -rpath /usr/local/apache/modules -module -avoid-version  mod_filter.lo
collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
compilation terminated.
make[3]: *** [/home/debian/lnmp1.9/src/httpd-2.4.53/modules/filters/modules.mk:14:mod_filter.la] 错误 1

Debian 11这个我们已经是在多个服务商VPS和虚拟机上测试过都没有问题的。按日志内容猜测可能是因为你系统上环境变量发生变化或者进行过某些操作改变了gcc等之类的版本或之类的操作
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-7-19 13:45:34 | 显示全部楼层

licess 发表于 2022-7-19 10:21
Debian 11这个我们已经是在多个服务商VPS和虚拟机上测试过都没有问题的。按日志内容猜测可能是因为你系统 ...

http://110.42.179.157/loggg.zip
这次是在对系统未经过任何修改情况下

Checking ...
Nginx: OK
Error: MySQL install failed.
PHP: OK
Apache: OK

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

 楼主| 发表于 2022-7-19 14:33:49 | 显示全部楼层

licess 发表于 2022-7-19 10:21
Debian 11这个我们已经是在多个服务商VPS和虚拟机上测试过都没有问题的。按日志内容猜测可能是因为你系统 ...

[ 28%] Building CXX object plugin/x/CMakeFiles/mysqlx.dir/src/helper/multithread/xsync_point.cc.o
[ 28%] Building CXX object plugin/x/CMakeFiles/mysqlx.dir/src/index_array_field.cc.o
[ 28%] Building CXX object plugin/x/CMakeFiles/mysqlx.dir/src/index_field.cc.o
[ 28%] Building CXX object plugin/x/CMakeFiles/mysqlx.dir/src/insert_statement_builder.cc.o
[ 28%] Building CXX object plugin/x/CMakeFiles/mysqlx.dir/src/io/connection_type.cc.o
[ 28%] Building CXX object plugin/x/CMakeFiles/mysqlx.dir/src/io/vio_input_stream.cc.o
[ 29%] Building CXX object plugin/x/CMakeFiles/mysqlx.dir/src/io/xpl_listener_factory.cc.o
[ 29%] Building CXX object plugin/x/CMakeFiles/mysqlx.dir/src/io/xpl_listener_tcp.cc.o
[ 29%] Building CXX object plugin/x/CMakeFiles/mysqlx.dir/src/io/xpl_listener_unix_socket.cc.o
[ 29%] Building CXX object plugin/x/CMakeFiles/mysqlx.dir/src/json_utils.cc.o
[ 29%] Building CXX object plugin/x/CMakeFiles/mysqlx.dir/src/meta_schema_validator.cc.o
In file included from /home/debian/lnmp1.9/src/mysql-8.0.29/extra/protobuf/protobuf-3.19.4/src/google/protobuf/message.h:120,
                 from /home/debian/lnmp1.9/src/mysql-8.0.29/extra/protobuf/protobuf-3.19.4/src/google/protobuf/dynamic_message.h:47,
                 from /home/debian/lnmp1.9/src/mysql-8.0.29/plugin/x/src/ngs/protocol/protocol_protobuf.h:33,
                 from /home/debian/lnmp1.9/src/mysql-8.0.29/plugin/x/src/meta_schema_validator.h:37,
                 from /home/debian/lnmp1.9/src/mysql-8.0.29/plugin/x/src/meta_schema_validator.cc:25:
/home/debian/lnmp1.9/src/mysql-8.0.29/extra/protobuf/protobuf-3.19.4/src/google/protobuf/arena.h: In instantiation of ‘class google::protobuf::Arena::InternalHelper<Mysqlx::Expr::FunctionCall>’:
/home/debian/lnmp1.9/src/mysql-8.0.29/build/plugin/x/generated/protobuf_lite/mysqlx_expr.pb.h:2227:85:   required from here
/home/debian/lnmp1.9/src/mysql-8.0.29/extra/protobuf/protobuf-3.19.4/src/google/protobuf/arena.h:470:70: error: use of deleted function ‘static char google::protobuf::Arena::InternalHelper<T>::ArenaConstructable(const typename U::InternalArenaConstructable_*) [with U = Mysqlx::Expr::FunctionCall; T = Mysqlx::Expr::FunctionCall; typename U::InternalArenaConstructable_ = void]’
  470 |     typedef std::integral_constant<bool, sizeof(ArenaConstructable<T>(
      |                                                ~~~~~~~~~~~~~~~~~~~~~~^
  471 |                                              static_cast<const T*>(0))) ==
      |                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/debian/lnmp1.9/src/mysql-8.0.29/extra/protobuf/protobuf-3.19.4/src/google/protobuf/arena.h:465:17: note: declared here
  465 |     static char ArenaConstructable(
      |                 ^~~~~~~~~~~~~~~~~~
/home/debian/lnmp1.9/src/mysql-8.0.29/sql/auth/auth_common.h:681: confused by earlier errors, bailing out
make[2]: *** [plugin/x/CMakeFiles/mysqlx.dir/build.make:615:plugin/x/CMakeFiles/mysqlx.dir/src/meta_schema_validator.cc.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:11638:plugin/x/CMakeFiles/mysqlx.dir/all] 错误 2
make: *** [Makefile:182:all] 错误 2
发表于 2022-7-20 09:56:24 | 显示全部楼层

MVVZEWDE8Y38IWZ 发表于 2022-7-19 14:33
[ 28%] Building CXX object plugin/x/CMakeFiles/mysqlx.dir/src/helper/multithread/xsync_point.cc.o
...

日志错误信息看大概率还是gcc或者环境的问题
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-5 22:01 , Processed in 0.028049 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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