宝塔用户_vonzys 发表于 2025-12-2 21:46:05

【已解答】全新机器一键安装nginx php mysql的时候mysql失败,...

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:11.3.0
系统版本:Ubuntu 22
问题描述:全新机器一键安装nginx php mysql的时候mysql失败,重新安装一次就成功了
相关截图(日志、错误):
下载过程省略..........82100K .......... .......... .......... .......... .......... 99% 17.7M 0s 82150K ......                                                100% 17.2M=6.3s2025-12-02 20:27:27 (12.7 MB/s) - ‘bt-mysql57.deb’ saved dpkg: error: dpkg frontend lock was locked by another process with pid 19686Note: removing the lock file is always wrong, and can end up damaging thelocked area and the entire system. See <https://wiki.debian.org/Teams/Dpkg/FAQ>.mysql.sh: line 526: /www/server/mysql/bin/mysqld: No such file or directorycp: cannot stat 'support-files/mysql.server': No such file or directorychmod: cannot access '/etc/init.d/mysqld': No such file or directorysed: can't read /etc/init.d/mysqld: No such file or directorymysql.sh: line 548: /etc/init.d/mysqld: No such file or directorymysql.sh: line 550: /www/server/mysql/bin/mysqladmin: No such file or directorymysql.sh: line 555: /etc/init.d/mysqld: No such file or directoryupdate-rc.d: error: unable to read /etc/init.d/mysqldmysql.sh: line 195: /www/server/mysql/bin/mysql: No such file or directorymysql_root.sh: line 5: /etc/init.d/mysqld: No such file or directory正在修改密码...The set password...mysql_root.sh: line 6: mysqld_safe: command not foundmysql_root.sh: line 30: mysql: command not foundmysql_root.sh: line 33: mysql: command not foundmysql_root.sh: line 37: /etc/init.d/mysqld: No such file or directory===========================================root密码成功修改为: cef019d6efd63bc7The root password set cef019d6efd63bc7successuful1mysql_root.sh: line 5: /etc/init.d/mysqld: No such file or directory正在修改密码...The set password...mysql_root.sh: line 6: mysqld_safe: command not foundmysql_root.sh: line 30: mysql: command not foundmysql_root.sh: line 33: mysql: command not foundmysql_root.sh: line 37: /etc/init.d/mysqld: No such file or directory===========================================root密码成功修改为: cef019d6efd63bc7The root password set cef019d6efd63bc7successuful1--2025-12-02 20:27:45--https://dg2.bt.cn/tools/check.shResolving dg2.bt.cn (dg2.bt.cn)... 115.231.130.125, 240e:f7:ef00:3:0:7:8000:125Connecting to dg2.bt.cn (dg2.bt.cn)|115.231.130.125|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 565 Saving to: ‘/www/server/panel/install/check.sh’   0K                                                       100% 41.8M=0s2025-12-02 20:27:45 (41.8 MB/s) - ‘/www/server/panel/install/check.sh’ saved |-Successify --- 命令已执行! ---

阿珂 发表于 2025-12-3 10:41:27

这个信息提示是已经安装成功

宝塔用户_vonzys 发表于 2025-12-8 17:44:04

确实安装成功,但是提示失败,而且无法使用 还要再安装一次。

阿珂 发表于 2025-12-9 14:33:46

重新安装,或者用编译安装
页: [1]
查看完整版本: 【已解答】全新机器一键安装nginx php mysql的时候mysql失败,...