VPS侦探论坛

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

安装数据库失败

[复制链接]
发表于 2022-7-21 09:29:03 | 显示全部楼层 |阅读模式

[ 61%] Building CXX object storage/perfschema/unittest/CMakeFiles/pfs_connect_attr-t.dir/__/__/__/sql/sql_builtin.cc.o
[ 61%] Building C object storage/perfschema/unittest/CMakeFiles/pfs_connect_attr-t.dir/__/__/__/mysys/string.c.o
Linking CXX executable pfs_connect_attr-t
../../../archive_output_directory/libperfschema.a(table_events_statements.cc.o):在函数‘table_events_statements_common::read_row_values(TABLE*, unsigned char*, Field**, bool)’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/perfschema/table_events_statements.cc:658:对‘Field::set_null(long long)’未定义的引用
../../../archive_output_directory/libperfschema.a(table_events_statements.cc.o):在函数‘table_events_statements_common::make_row_part_1(PFS_events_statements*, sql_digest_storage*)’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/perfschema/table_events_statements.cc:370:对‘String::append(char const*, unsigned long, charset_info_st const*)’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/perfschema/table_events_statements.cc:375:对‘String::numchars() const’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/perfschema/table_events_statements.cc:379:对‘String::charpos(unsigned long, unsigned long)’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/perfschema/table_events_statements.cc:381:对‘String::append(char const*, unsigned long)’未定义的引用
../../../archive_output_directory/libperfschema.a(table_events_statements.cc.o):在函数‘table_events_statements_common::make_row_part_2(sql_digest_storage const*)’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/perfschema/table_events_statements.cc:449:对‘compute_digest_text(sql_digest_storage const*, String*)’未定义的引用
../../../archive_output_directory/libperfschema.a(table_setup_objects.cc.o):在函数‘table_setup_objects::read_row_values(TABLE*, unsigned char*, Field**, bool)’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/perfschema/table_setup_objects.cc:286:对‘Field::set_null(long long)’未定义的引用
../../../archive_output_directory/libcsv.a(ha_tina.cc.o):在函数‘ha_tina::check_and_repair(THD*)’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/csv/ha_tina.cc:392:对‘st_ha_check_opt::init()’未定义的引用
../../../archive_output_directory/libcsv.a(ha_tina.cc.o):在函数‘tina_init_func(void*)’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/csv/ha_tina.cc:179:对‘system_charset_info’未定义的引用
../../../archive_output_directory/libcsv.a(ha_tina.cc.o):在函数‘~handler’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/sql/handler.h:2383:对‘vtable for handler’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/sql/handler.h:2383:对‘vtable for handler’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/sql/handler.h:2383:对‘vtable for handler’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/sql/handler.h:2383:对‘vtable for handler’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/sql/handler.h:2383:对‘vtable for handler’未定义的引用
../../../archive_output_directory/libcsv.a(ha_tina.cc.o):在函数‘ha_tina::encode_quote(unsigned char*)’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/csv/ha_tina.cc:553:对‘Field::set_notnull(long long)’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/csv/ha_tina.cc:559:对‘Field::set_null(long long)’未定义的引用
../../../archive_output_directory/libcsv.a(ha_tina.cc.o):在函数‘String::append(char)’中:

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


贴出的日志没有错误,如安装失败请按反馈必读要求提供完整日志信息
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-7-21 18:06:47 | 显示全部楼层

[ 82%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/unireg.cc.o
[ 82%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/xa.cc.o
Linking CXX static library ../archive_output_directory/libsql_embedded.a
[ 82%] Built target sql_embedded
make: *** [all] 错误 2
[  0%] Built target INFO_BIN
[  0%] Built target INFO_SRC
[  0%] Built target abi_check
[  0%] Built target zlib
[  0%] Built target libedit_emacs
[  0%] Built target libedit_help
[  0%] Built target libedit_common
[  0%] Built target libedit_vi
[  0%] Built target libedit_func
[  0%] Built target libedit_fcns
[  2%] Built target edit
[  3%] Built target event_core
[  3%] Built target event_extra
[  3%] Built target event_openssl
[  3%] Built target event_pthreads
[  5%] Built target strings
[ 10%] Built target mysys
[ 10%] Built target dbug
[ 11%] Built target vio
[ 11%] Built target regex
[ 11%] Built target re
[ 11%] Built target base64_test
[ 11%] Built target queues
[ 11%] Built target thr_lock
[ 11%] Built target mysys_ssl
[ 11%] Built target comp_err
[ 11%] Built target GenError
[ 12%] Built target clientlib
Linking CXX shared library libmysqlclient.so
../archive_output_directory/libvio.a(viosslfactories.c.o):在函数‘new_VioSSLFd’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/vio/viosslfactories.c:549:对‘SSLv23_server_method’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/vio/viosslfactories.c:549:对‘SSLv23_client_method’未定义的引用
../archive_output_directory/libvio.a(viosslfactories.c.o):在函数‘mysql_OPENSSL_init’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/include/my_openssl.h:57:对‘SSL_library_init’未定义的引用
../archive_output_directory/libvio.a(viosslfactories.c.o):在函数‘ssl_start’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/vio/viosslfactories.c:444:对‘SSL_load_error_strings’未定义的引用
collect2: 错误:ld 返回 1
make[2]: *** [libmysql/libmysqlclient.so.20.3.21] 错误 1
make[1]: *** [libmysql/CMakeFiles/libmysql.dir/all] 错误 2
make: *** [all] 错误 2
[  0%] Built target INFO_BIN
[  0%] Built target INFO_SRC
[  0%] Built target abi_check
[  0%] Built target zlib
[  0%] Built target libedit_emacs
[  0%] Built target libedit_help
[  0%] Built target libedit_common
[  0%] Built target libedit_vi
[  0%] Built target libedit_func
[  0%] Built target libedit_fcns
[  2%] Built target edit
[  3%] Built target event_core
[  3%] Built target event_extra
[  3%] Built target event_openssl
[  3%] Built target event_pthreads
[  5%] Built target strings
[ 10%] Built target mysys
[ 10%] Built target dbug
[ 11%] Built target vio
[ 11%] Built target regex
[ 11%] Built target re
[ 11%] Built target base64_test
[ 11%] Built target queues
[ 11%] Built target thr_lock
[ 11%] Built target mysys_ssl
[ 11%] Built target comp_err
[ 11%] Built target GenError
[ 12%] Built target clientlib
Linking CXX shared library libmysqlclient.so
../archive_output_directory/libvio.a(viosslfactories.c.o):在函数‘new_VioSSLFd’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/vio/viosslfactories.c:549:对‘SSLv23_server_method’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/vio/viosslfactories.c:549:对‘SSLv23_client_method’未定义的引用
../archive_output_directory/libvio.a(viosslfactories.c.o):在函数‘mysql_OPENSSL_init’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/include/my_openssl.h:57:对‘SSL_library_init’未定义的引用
../archive_output_directory/libvio.a(viosslfactories.c.o):在函数‘ssl_start’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/vio/viosslfactories.c:444:对‘SSL_load_error_strings’未定义的引用
collect2: 错误:ld 返回 1
make[2]: *** [libmysql/libmysqlclient.so.20.3.21] 错误 1
make[1]: *** [libmysql/CMakeFiles/libmysql.dir/all] 错误 2
make: *** [all] 错误 2
groupadd:“mysql”组已存在
useradd:用户“mysql”已存在
cp: 无法获取"/usr/local/mysql/var/*" 的文件状态(stat): 没有那个文件或目录
include/mysql.sh:行607: /usr/local/mysql/bin/mysqld: 没有那个文件或目录
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/mysql.sh:行43: /usr/local/mysql/bin/mysqladmin: 没有那个文件或目录
failed, try other way...
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/mysql.sh:行53: /usr/local/mysql/bin/mysql: 没有那个文件或目录
Set password failed!
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/main.sh:行761: /usr/local/mysql/bin/mysql: 没有那个文件或目录
Update root password...
include/main.sh:行761: /usr/local/mysql/bin/mysql: 没有那个文件或目录
... Failed!
Remove anonymous users...
include/main.sh:行761: /usr/local/mysql/bin/mysql: 没有那个文件或目录
include/main.sh:行761: /usr/local/mysql/bin/mysql: 没有那个文件或目录
... Failed!
Disallow root login remotely...
include/main.sh:行761: /usr/local/mysql/bin/mysql: 没有那个文件或目录
... Failed!
Remove test database...
include/main.sh:行761: /usr/local/mysql/bin/mysql: 没有那个文件或目录
... Failed!
Reload privilege tables...
include/main.sh:行761: /usr/local/mysql/bin/mysql: 没有那个文件或目录
... Failed!
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
ERROR! MySQL server PID file could not be found!
Clean database src directory...
[+] Installing php-7.3.29
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2022-7-21 18:07:48 | 显示全部楼层



整个日志文件太大了,不方便上传,这是截取其中出现问题的部分,谢谢!
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-7-22 08:57:00 | 显示全部楼层

本帖最后由 fansino 于 2022-7-22 09:00 编辑

日志请查看,谢谢 !https://www.wenshushu.cn/f/8uv7e9og6ob%20%E5%A4%8D%E5%88%B6%E9%93%BE%E6%8E%A5%E5%88%B0%E6%B5%8F%E8%A7%88%E5%99%A8%E6%89%93%E5%BC%80

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

发表于 2022-7-22 18:30:56 | 显示全部楼层

lfreetype -licuio -licui18n -licuuc -licudata -lxml2 -lz -lm -ldl -lxml2 -lz -lm -ldl -lcrypt -lxml2 -lz -lm -ldl -lxml2 -lz -lm -ldl -lxml2 -lz -lm -ldl -lxml2 -lz -lm -ldl -lxslt -lxml2 -lz -ldl -lm -lssl -lcrypto -lcrypt  -o sapi/cli/php
/usr/bin/ld: warning: libcrypto.so.1.1, needed by /usr/lib64/libssl.so, may conflict with libcrypto.so.10
/usr/bin/ld: warning: libcrypto.so.1.1, needed by /usr/lib64/libssl.so, may conflict with libcrypto.so.10
/usr/bin/ld: warning: libcrypto.so.1.1, needed by /usr/lib64/libssl.so, may conflict with libcrypto.so.10
/usr/bin/ld: warning: libssl.so.10, needed by //usr/lib64/libssh2.so.1, may conflict with libssl.so.1.1
/usr/bin/ld: warning: libssl.so.10, needed by //usr/lib64/libssh2.so.1, may conflict with libssl.so.1.1
/usr/bin/ld: warning: libssl.so.10, needed by //usr/lib64/libssh2.so.1, may conflict with libssl.so.1.1
/usr/bin/ld: ext/openssl/.libs/openssl.o: undefined reference to symbol 'SSL_library_init@@libssl.so.10'
//usr/lib64/libssl.so.10: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

你系统上的openssl有可能自行升级过而且是有问题的导致的
发表于 2022-7-28 18:53:57 | 显示全部楼层

licess 发表于 2022-7-22 18:30
你系统上的openssl有可能自行升级过而且是有问题的导致的

升级了Openssl 出现错误,那该如何解决?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-24 02:02 , Processed in 0.027597 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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