当前位置:论坛首页 > Linux面板 > 求助

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

发表在 Linux面板2025-12-2 21:46 [复制链接] 3 565

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:[url=]11.3.0[/url]

系统版本: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 [84128098/84128098]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 cef019d6efd63bc7  successuful1mysql_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 cef019d6efd63bc7  successuful1--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 [application/octet-stream]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 [565/565]|-Successify --- 命令已执行! ---
使用道具 举报 只看该作者 回复
发表于 2025-12-3 10:41:27 | 显示全部楼层
这个信息提示是已经安装成功
使用道具 举报 回复 支持 反对
发表于 2025-12-8 17:44:04 | 显示全部楼层
U{`Y98P8IUM937I]P4$A2.png 确实安装成功,但是提示失败,而且无法使用 还要再安装一次。
使用道具 举报 回复 支持 反对
发表于 2025-12-9 14:33:46 | 显示全部楼层
重新安装,或者用编译安装
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术分析

工作时间:09:00至18:30

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