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

【已解答】求助,数据库重启后打不开了

发表在 Linux面板6 天前 [复制链接] 3 72

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:Linux正式版11.0.0
系统版本:[backcolor=rgba(255, 255, 255, 0.7)]MySQL 8.0.36
问题描述:数据库重启后打不开了

相关截图(日志、错误):
2025-08-11T06:42:05.444164Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T06:42:05.444187Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T06:42:05.444196Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T06:44:20.480907Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T06:44:20.480929Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T06:44:20.480938Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T06:44:24.468314Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T06:44:24.468335Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T06:44:24.468345Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T06:44:29.013220Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T06:44:29.013242Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T06:44:29.013947Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T06:44:33.598236Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T06:44:33.598257Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T06:44:33.598266Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T06:44:38.160290Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T06:44:38.160310Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T06:44:38.160319Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T06:44:42.677987Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T06:44:42.678008Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T06:44:42.678017Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T06:44:47.270578Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T06:44:47.270614Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T06:44:47.270623Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T06:44:51.801978Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T06:44:51.802000Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T06:44:51.802010Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T06:45:03.215138Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock /www/server/data/ibdata1 error: 11
2025-08-11T06:45:03.737784Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T06:45:03.737806Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T06:45:03.737816Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T06:45:04.215292Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock /www/server/data/ibdata1 error: 11
2025-08-11T06:45:05.702316Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T06:45:05.702338Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T06:45:05.702348Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T06:50:02.629280Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock ./#ib_16384_0.dblwr error: 11
2025-08-11T06:50:02.630084Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock /www/server/data/ibdata1 error: 11
2025-08-11T06:50:02.630122Z 1 [ERROR] [MY-013183] [InnoDB] Assertion failure: fil0fil.cc:7775 thread 46951924823808
2025-08-11T06:50:04.123232Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T06:50:04.123261Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T06:50:04.123275Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T06:55:02.888202Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock ./#ib_16384_0.dblwr error: 11
2025-08-11T06:55:02.918123Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock /www/server/data/ibdata1 error: 11
2025-08-11T06:55:02.918170Z 1 [ERROR] [MY-013183] [InnoDB] Assertion failure: fil0fil.cc:7775 thread 47326416668416
2025-08-11T06:55:04.371744Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T06:55:04.371766Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T06:55:04.371775Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T07:00:03.202856Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock ./#ib_16384_0.dblwr error: 11
2025-08-11T07:00:03.241530Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock /www/server/data/ibdata1 error: 11
2025-08-11T07:00:03.241577Z 1 [ERROR] [MY-013183] [InnoDB] Assertion failure: fil0fil.cc:7775 thread 47636079937280
2025-08-11T07:00:04.725798Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T07:00:04.725825Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T07:00:04.725837Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T07:05:02.434856Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock /www/server/data/ibdata1 error: 11
2025-08-11T07:05:02.915911Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T07:05:02.915931Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T07:05:02.915941Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T07:05:03.435013Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock /www/server/data/ibdata1 error: 11
2025-08-11T07:05:04.904266Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T07:05:04.904286Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T07:05:04.904295Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T07:07:28.852538Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T07:07:28.852572Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T07:07:28.852585Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T07:07:32.899055Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T07:07:32.899078Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T07:07:32.899087Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T07:07:37.496164Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T07:07:37.496186Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T07:07:37.496194Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T07:07:42.023342Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T07:07:42.023371Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T07:07:42.023381Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T07:07:46.576889Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T07:07:46.576912Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T07:07:46.576921Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T07:07:51.147922Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T07:07:51.147947Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T07:07:51.147956Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T07:07:55.711757Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T07:07:55.711778Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T07:07:55.711787Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T07:08:00.252193Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T07:08:00.252223Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T07:08:00.252236Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T07:10:02.821164Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock ./#ib_16384_0.dblwr error: 11
2025-08-11T07:10:02.833174Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock /www/server/data/ibdata1 error: 11
2025-08-11T07:10:02.833220Z 1 [ERROR] [MY-013183] [InnoDB] Assertion failure: fil0fil.cc:7775 thread 47074112739072
2025-08-11T07:10:04.307880Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T07:10:04.307902Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T07:10:04.307912Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T07:15:03.054039Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock /www/server/data/ibdata1 error: 11
2025-08-11T07:15:03.525939Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T07:15:03.525960Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T07:15:03.525969Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-08-11T07:15:04.054195Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock /www/server/data/ibdata1 error: 11
2025-08-11T07:15:05.515259Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2025-08-11T07:15:05.515282Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2025-08-11T07:15:05.515291Z 0 [ERROR] [MY-010119] [Server] Aborting
使用道具 举报 只看该作者 回复
发表于 6 天前 | 显示全部楼层
/www/server/data/ibdata1文件被锁,可能是MySQL 进程未正常关闭,残留进程仍占用该文件
或文件权限不足,MySQL 无法获取
检查是否有残留的mysql进程,kill掉
以及/www/server/data目录的权限
极端情况也有可能文件损坏了
使用道具 举报 回复 支持 反对
我也遇到了,现在是都正常运行,但是网站打开。
使用道具 举报 回复 支持 反对
发表于 5 天前 | 显示全部楼层
宝塔用户_sdalxa 发表于 2025-8-12 09:09
我也遇到了,现在是都正常运行,但是网站打开。

网站打不开吧?
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术免费分析

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

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