debian11安装失败
本帖最后由 MVVZEWDE8Y38IWZ 于 2022-7-18 22:57 编辑http://110.42.179.157/log.zip
有看见错误提示无法在/usr/local/创建nginx的一些文件
软件一个都没成功安装
root@debian:/home/debian# ls /usr/local/
apachebinetcfreetypegamesincludelibmanmysqlphpsbinsharesrc
root@debian:/home/debian#
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: *** Error 1
make: Leaving directory '/home/debian/lnmp1.9/src/openssl-1.1.1o'
make: *** 错误 2
make: 离开目录“/home/debian/lnmp1.9/src/openssl-1.1.1o”
make: *** 错误 2
make: 离开目录“/home/debian/lnmp1.9/src/nginx-1.22.0”
make: *** 错误 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#
试了下8.0,报错内容还是跟之前一样
[ 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: *** 错误 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-versionmod_filter.lo
collect2: fatal error: ld terminated with signal 11
compilation terminated.
make: *** 错误 1
Debian 11这个我们已经是在多个服务商VPS和虚拟机上测试过都没有问题的。按日志内容猜测可能是因为你系统上环境变量发生变化或者进行过某些操作改变了gcc等之类的版本或之类的操作 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
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_*) ’
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: *** 错误 1
make: *** 错误 2
make: *** 错误 2
MVVZEWDE8Y38IWZ 发表于 2022-7-19 14:33
[ 28%] Building CXX object plugin/x/CMakeFiles/mysqlx.dir/src/helper/multithread/xsync_point.cc.o
...
日志错误信息看大概率还是gcc或者环境的问题
页:
[1]