liweixiang 发表于 2025-8-11 15:17:12

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

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:Linux正式版11.0.0
系统版本:MySQL 8.0.36
问题描述:数据库重启后打不开了
相关截图(日志、错误):2025-08-11T06:42:05.444164Z 0 Could not open log file.2025-08-11T06:42:05.444187Z 0 Can't init tc log2025-08-11T06:42:05.444196Z 0 Aborting2025-08-11T06:44:20.480907Z 0 Could not open log file.2025-08-11T06:44:20.480929Z 0 Can't init tc log2025-08-11T06:44:20.480938Z 0 Aborting2025-08-11T06:44:24.468314Z 0 Could not open log file.2025-08-11T06:44:24.468335Z 0 Can't init tc log2025-08-11T06:44:24.468345Z 0 Aborting2025-08-11T06:44:29.013220Z 0 Could not open log file.2025-08-11T06:44:29.013242Z 0 Can't init tc log2025-08-11T06:44:29.013947Z 0 Aborting2025-08-11T06:44:33.598236Z 0 Could not open log file.2025-08-11T06:44:33.598257Z 0 Can't init tc log2025-08-11T06:44:33.598266Z 0 Aborting2025-08-11T06:44:38.160290Z 0 Could not open log file.2025-08-11T06:44:38.160310Z 0 Can't init tc log2025-08-11T06:44:38.160319Z 0 Aborting2025-08-11T06:44:42.677987Z 0 Could not open log file.2025-08-11T06:44:42.678008Z 0 Can't init tc log2025-08-11T06:44:42.678017Z 0 Aborting2025-08-11T06:44:47.270578Z 0 Could not open log file.2025-08-11T06:44:47.270614Z 0 Can't init tc log2025-08-11T06:44:47.270623Z 0 Aborting2025-08-11T06:44:51.801978Z 0 Could not open log file.2025-08-11T06:44:51.802000Z 0 Can't init tc log2025-08-11T06:44:51.802010Z 0 Aborting2025-08-11T06:45:03.215138Z 1 Unable to lock /www/server/data/ibdata1 error: 112025-08-11T06:45:03.737784Z 0 Could not open log file.2025-08-11T06:45:03.737806Z 0 Can't init tc log2025-08-11T06:45:03.737816Z 0 Aborting2025-08-11T06:45:04.215292Z 1 Unable to lock /www/server/data/ibdata1 error: 112025-08-11T06:45:05.702316Z 0 Could not open log file.2025-08-11T06:45:05.702338Z 0 Can't init tc log2025-08-11T06:45:05.702348Z 0 Aborting2025-08-11T06:50:02.629280Z 1 Unable to lock ./#ib_16384_0.dblwr error: 112025-08-11T06:50:02.630084Z 1 Unable to lock /www/server/data/ibdata1 error: 112025-08-11T06:50:02.630122Z 1 Assertion failure: fil0fil.cc:7775 thread 469519248238082025-08-11T06:50:04.123232Z 0 Could not open log file.2025-08-11T06:50:04.123261Z 0 Can't init tc log2025-08-11T06:50:04.123275Z 0 Aborting2025-08-11T06:55:02.888202Z 1 Unable to lock ./#ib_16384_0.dblwr error: 112025-08-11T06:55:02.918123Z 1 Unable to lock /www/server/data/ibdata1 error: 112025-08-11T06:55:02.918170Z 1 Assertion failure: fil0fil.cc:7775 thread 473264166684162025-08-11T06:55:04.371744Z 0 Could not open log file.2025-08-11T06:55:04.371766Z 0 Can't init tc log2025-08-11T06:55:04.371775Z 0 Aborting2025-08-11T07:00:03.202856Z 1 Unable to lock ./#ib_16384_0.dblwr error: 112025-08-11T07:00:03.241530Z 1 Unable to lock /www/server/data/ibdata1 error: 112025-08-11T07:00:03.241577Z 1 Assertion failure: fil0fil.cc:7775 thread 476360799372802025-08-11T07:00:04.725798Z 0 Could not open log file.2025-08-11T07:00:04.725825Z 0 Can't init tc log2025-08-11T07:00:04.725837Z 0 Aborting2025-08-11T07:05:02.434856Z 1 Unable to lock /www/server/data/ibdata1 error: 112025-08-11T07:05:02.915911Z 0 Could not open log file.2025-08-11T07:05:02.915931Z 0 Can't init tc log2025-08-11T07:05:02.915941Z 0 Aborting2025-08-11T07:05:03.435013Z 1 Unable to lock /www/server/data/ibdata1 error: 112025-08-11T07:05:04.904266Z 0 Could not open log file.2025-08-11T07:05:04.904286Z 0 Can't init tc log2025-08-11T07:05:04.904295Z 0 Aborting2025-08-11T07:07:28.852538Z 0 Could not open log file.2025-08-11T07:07:28.852572Z 0 Can't init tc log2025-08-11T07:07:28.852585Z 0 Aborting2025-08-11T07:07:32.899055Z 0 Could not open log file.2025-08-11T07:07:32.899078Z 0 Can't init tc log2025-08-11T07:07:32.899087Z 0 Aborting2025-08-11T07:07:37.496164Z 0 Could not open log file.2025-08-11T07:07:37.496186Z 0 Can't init tc log2025-08-11T07:07:37.496194Z 0 Aborting2025-08-11T07:07:42.023342Z 0 Could not open log file.2025-08-11T07:07:42.023371Z 0 Can't init tc log2025-08-11T07:07:42.023381Z 0 Aborting2025-08-11T07:07:46.576889Z 0 Could not open log file.2025-08-11T07:07:46.576912Z 0 Can't init tc log2025-08-11T07:07:46.576921Z 0 Aborting2025-08-11T07:07:51.147922Z 0 Could not open log file.2025-08-11T07:07:51.147947Z 0 Can't init tc log2025-08-11T07:07:51.147956Z 0 Aborting2025-08-11T07:07:55.711757Z 0 Could not open log file.2025-08-11T07:07:55.711778Z 0 Can't init tc log2025-08-11T07:07:55.711787Z 0 Aborting2025-08-11T07:08:00.252193Z 0 Could not open log file.2025-08-11T07:08:00.252223Z 0 Can't init tc log2025-08-11T07:08:00.252236Z 0 Aborting2025-08-11T07:10:02.821164Z 1 Unable to lock ./#ib_16384_0.dblwr error: 112025-08-11T07:10:02.833174Z 1 Unable to lock /www/server/data/ibdata1 error: 112025-08-11T07:10:02.833220Z 1 Assertion failure: fil0fil.cc:7775 thread 470741127390722025-08-11T07:10:04.307880Z 0 Could not open log file.2025-08-11T07:10:04.307902Z 0 Can't init tc log2025-08-11T07:10:04.307912Z 0 Aborting2025-08-11T07:15:03.054039Z 1 Unable to lock /www/server/data/ibdata1 error: 112025-08-11T07:15:03.525939Z 0 Could not open log file.2025-08-11T07:15:03.525960Z 0 Can't init tc log2025-08-11T07:15:03.525969Z 0 Aborting2025-08-11T07:15:04.054195Z 1 Unable to lock /www/server/data/ibdata1 error: 112025-08-11T07:15:05.515259Z 0 Could not open log file.2025-08-11T07:15:05.515282Z 0 Can't init tc log2025-08-11T07:15:05.515291Z 0 Aborting

阿珂 发表于 2025-8-11 16:50:58

/www/server/data/ibdata1文件被锁,可能是MySQL 进程未正常关闭,残留进程仍占用该文件
或文件权限不足,MySQL 无法获取
检查是否有残留的mysql进程,kill掉
以及/www/server/data目录的权限
极端情况也有可能文件损坏了

宝塔用户_sdalxa 发表于 2025-8-12 09:09:18

我也遇到了,现在是都正常运行,但是网站打开。

liweixiang 发表于 2025-8-12 09:39:47

宝塔用户_sdalxa 发表于 2025-8-12 09:09
我也遇到了,现在是都正常运行,但是网站打开。

网站打不开吧?
页: [1]
查看完整版本: 【已解答】求助,数据库重启后打不开了