免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123下一页
最近访问板块 发新帖
查看: 15342 | 回复: 23

紧急,mysql启动不了,请各位帮忙 [复制链接]

论坛徽章:
2
2015年辞旧岁徽章
日期:2015-03-03 16:54:15IT运维版块每日发帖之星
日期:2015-09-11 06:20:00
发表于 2011-07-22 15:11 |显示全部楼层
本帖最后由 machiqiao 于 2011-07-22 15:12 编辑

一台rpm安装的mysql,启动不了了,数据量较大,而且没有备份,我不是很专业,真不敢动啊,望大家帮忙相助,谢谢!

日志如下:

110722 14:43:07 mysqld_safe Starting mysqld daemon with databases from /data/mysql
110722 14:43:07 [Note] Plugin 'FEDERATED' is disabled.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
110722 14:43:08  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
110722 14:43:09  InnoDB: Error: page 7 log sequence number 151 2702306200
InnoDB: is in the future! Current system log sequence number 131 3791365897.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html
InnoDB: for more information.
110722 14:43:09  InnoDB: Error: page 1 log sequence number 150 2719708563
InnoDB: is in the future! Current system log sequence number 131 3791365897.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html
InnoDB: for more information.
110722 14:43:09  InnoDB: Error: page 4 log sequence number 149 837918550
InnoDB: is in the future! Current system log sequence number 131 3791365897.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html
InnoDB: for more information.
110722 14:43:09  InnoDB: Error: page 11 log sequence number 151 2704294980
InnoDB: is in the future! Current system log sequence number 131 3791365897.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html
InnoDB: for more information.
110722 14:43:09  InnoDB: Error: page 5 log sequence number 151 2771374516
InnoDB: is in the future! Current system log sequence number 131 3791365897.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html
InnoDB: for more information.
110722 14:43:09  InnoDB: Error: page 6 log sequence number 151 2770987773
InnoDB: is in the future! Current system log sequence number 131 3791365897.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html
InnoDB: for more information.
110722 14:43:09  InnoDB: Error: page 1785858 log sequence number 151 2770983560
InnoDB: is in the future! Current system log sequence number 131 3791365897.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html
InnoDB: for more information.

论坛徽章:
2
2015年辞旧岁徽章
日期:2015-03-03 16:54:15IT运维版块每日发帖之星
日期:2015-09-11 06:20:00
发表于 2011-07-22 16:20 |显示全部楼层
自己顶

论坛徽章:
0
发表于 2011-07-22 16:32 |显示全部楼层
你的系统时间是不是变了。。。

论坛徽章:
0
发表于 2011-07-22 16:34 |显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
2
2015年辞旧岁徽章
日期:2015-03-03 16:54:15IT运维版块每日发帖之星
日期:2015-09-11 06:20:00
发表于 2011-07-22 16:40 |显示全部楼层
应该不是时间变了,这个没人去调过,可能是什么损坏引起的,现在不知道该如何恢复

论坛徽章:
0
发表于 2011-07-23 00:11 |显示全部楼层
回复 1# machiqiao

做如下设置 my.cnf

    [mysqld]
innodb_force_recovery = 4


重启服务器 看看情况如何

论坛徽章:
0
发表于 2011-07-23 00:15 |显示全部楼层
回复 1# machiqiao


   你的 ib_logfiles设置可能过小 引起的这个原因!!!  我觉得极有可能!!!

论坛徽章:
59
2015七夕节徽章
日期:2015-08-24 11:17:25ChinaUnix专家徽章
日期:2015-07-20 09:19:30每周论坛发贴之星
日期:2015-07-20 09:19:42ChinaUnix元老
日期:2015-07-20 11:04:38荣誉版主
日期:2015-07-20 11:05:19巳蛇
日期:2015-07-20 11:05:26CU十二周年纪念徽章
日期:2015-07-20 11:05:27IT运维版块每日发帖之星
日期:2015-07-20 11:05:34操作系统版块每日发帖之星
日期:2015-07-20 11:05:36程序设计版块每日发帖之星
日期:2015-07-20 11:05:40数据库技术版块每日发帖之星
日期:2015-07-20 11:05:432015年辞旧岁徽章
日期:2015-07-20 11:05:44
发表于 2011-07-23 10:51 |显示全部楼层
是不是引擎出问题了啊。

论坛徽章:
0
发表于 2011-07-23 18:20 |显示全部楼层
改动过配置文件关于innodb选项的吧!!

论坛徽章:
0
发表于 2011-07-25 09:37 |显示全部楼层
表空间和事务日志出现不一致,启动时无法自动恢复,导致无法启动innoDB~
可能是表空间或者事务日志被损坏,也可能是表空间或者事务日志被替换,估计没有备份的话,就彻底OVER了。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP