mysql errno 13_MySQL启动故障处理一例(errno 13)

[root@bak mysql]# cat /data/mysql/mysql_3306/data/error.log

141017  9:24:53 [Warning] Using unique option prefix myisam_recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.

141017  9:24:53 [Note] Plugin 'FEDERATED' is disabled.

/usr/libexec/mysqld: Table 'mysql.plugin' doesn't exist

141017  9:24:53 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.

141017  9:24:53 InnoDB: The InnoDB memory heap is disabled

141017  9:24:53 InnoDB: Mutexes and rw_locks use InnoDB's own implementation

141017  9:24:53 InnoDB: Compressed tables use zlib 1.2.3

141017  9:24:53 InnoDB: Using Linux native AIO

141017  9:24:53 InnoDB: Initializing buffer pool, size = 128.0M

141017  9:24:53 InnoDB: Completed initialization of buffer pool

InnoDB: The first specified data file ./ibdata1 did not exist:

InnoDB: a new database to be created!

141017  9:24:53  InnoDB: Setting file ./ibdata1 size to 100 MB

InnoDB: Database physically writes the file full: wait...

InnoDB: Progress in MB: 100

141017  9:24:58  InnoDB: Log file ./ib_logfile0 did not exist: new to be created

InnoDB: Setting log file ./ib_logfile0 size to 100 MB

InnoDB: Database physically writes the file full: wait...

InnoDB: Progress in MB: 100

141017  9:25:03  InnoDB: Log file ./ib_logfile1 did not exist: new to be created

InnoDB: Setting log file ./ib_logfile1 size to 100 MB

InnoDB: Database physically writes the file full: wait...

InnoDB: Progress in MB: 100

141017  9:25:08  InnoDB: Log file ./ib_logfile2 did not exist: new to be created

InnoDB: Setting log file ./ib_logfile2 size to 100 MB

InnoDB: Database physically writes the file full: wait...

InnoDB: Progress in MB: 100

InnoDB: Doublewrite buffer not found: creating new

InnoDB: Doublewrite buffer created

InnoDB: 127 rollback segment(s) active.

InnoDB: Creating foreign key constraint system tables

InnoDB: Foreign key constraint system tables created

141017  9:25:13  InnoDB: Waiting for the background threads to start

141017  9:25:14 InnoDB: 5.5.39 started; log sequence number 0

141017  9:25:14 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306

141017  9:25:14 [Note]   - '0.0.0.0' resolves to '0.0.0.0';

141017  9:25:14 [Note] Server socket created on IP: '0.0.0.0'.

141017  9:25:14 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist

141017  9:26:15 [Warning] Using unique option prefix myisam_recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.

141017  9:26:15 [Note] Plugin 'FEDERATED' is disabled.

/usr/libexec/mysqld: Table 'mysql.plugin' doesn't exist

141017  9:26:15 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.

141017  9:26:15 InnoDB: The InnoDB memory heap is disabled

141017  9:26:15 InnoDB: Mutexes and rw_locks use InnoDB's own implementation

141017  9:26:15 InnoDB: Compressed tables use zlib 1.2.3

141017  9:26:15 InnoDB: Using Linux native AIO

141017  9:26:15 InnoDB: Initializing buffer pool, size = 128.0M

141017  9:26:15 InnoDB: Completed initialization of buffer pool

141017  9:26:15 InnoDB: highest supported file format is Barracuda.

InnoDB: Log scan progressed past the checkpoint lsn 48941

141017  9:26:15  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...

InnoDB: Doing recovery: scanned up to log sequence number 1595668

141017  9:26:15  InnoDB: Starting an apply batch of log records to the database...

InnoDB: Progress in percents: 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99

InnoDB: Apply batch completed

141017  9:26:15  InnoDB: Waiting for the background threads to start

141017  9:26:16 InnoDB: 5.5.39 started; log sequence number 1595668

141017  9:26:16 [Note] Recovering after a crash using /data/mysql/mysql_3306/logs/mysql-bin

141017  9:26:16 [Note] Starting crash recovery...

141017  9:26:16 [Note] Crash recovery finished.

141017  9:26:17 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306

141017  9:26:17 [Note]   - '0.0.0.0' resolves to '0.0.0.0';

141017  9:26:17 [Note] Server socket created on IP: '0.0.0.0'.

141017  9:26:17 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist

141017  9:28:34 [Warning] Using unique option prefix myisam_recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.

141017  9:28:34 [Note] Plugin 'FEDERATED' is disabled.

/usr/libexec/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)

141017  9:28:34 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.

141017  9:28:34 InnoDB: The InnoDB memory heap is disabled

141017  9:28:34 InnoDB: Mutexes and rw_locks use InnoDB's own implementation

141017  9:28:34 InnoDB: Compressed tables use zlib 1.2.3

141017  9:28:34 InnoDB: Using Linux native AIO

141017  9:28:34 InnoDB: Initializing buffer pool, size = 128.0M

141017  9:28:34 InnoDB: Completed initialization of buffer pool

141017  9:28:34 InnoDB: highest supported file format is Barracuda.

InnoDB: The log sequence number in ibdata files does not match

InnoDB: the log sequence number in the ib_logfiles!

141017  9:28:34  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...

141017  9:28:34  InnoDB: Waiting for the background threads to start

141017  9:28:35 InnoDB: 5.5.39 started; log sequence number 1595668

/usr/libexec/mysqld: File '/data/mysql/mysql_3306/logs/mysql-bin.000004' not found (Errcode: 13)

141017  9:28:35 [ERROR] Failed to open log (file '/data/mysql/mysql_3306/logs/mysql-bin.000004', errno 13)

141017  9:28:35 [ERROR] Could not open log file

141017  9:28:35 [ERROR] Can't init tc log

141017  9:28:35 [ERROR] Aborting

141017  9:28:35  InnoDB: Starting shutdown...

141017  9:28:36  InnoDB: Shutdown completed; log sequence number 1595668

141017  9:28:36 [Note] /usr/libexec/mysqld: Shutdown complete

141017  9:30:32 [Warning] Using unique option prefix myisam_recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.

141017  9:30:32 [Note] Plugin 'FEDERATED' is disabled.

/usr/libexec/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)

141017  9:30:32 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.

141017  9:30:32 InnoDB: The InnoDB memory heap is disabled

141017  9:30:32 InnoDB: Mutexes and rw_locks use InnoDB's own implementation

141017  9:30:32 InnoDB: Compressed tables use zlib 1.2.3

141017  9:30:32 InnoDB: Using Linux native AIO

141017  9:30:32 InnoDB: Initializing buffer pool, size = 128.0M

141017  9:30:32 InnoDB: Completed initialization of buffer pool

141017  9:30:32 InnoDB: highest supported file format is Barracuda.

141017  9:30:32  InnoDB: Waiting for the background threads to start

141017  9:30:33 InnoDB: 5.5.39 started; log sequence number 1595668

/usr/libexec/mysqld: File '/data/mysql/mysql_3306/logs/mysql-bin.000004' not found (Errcode: 13)

141017  9:30:33 [ERROR] Failed to open log (file '/data/mysql/mysql_3306/logs/mysql-bin.000004', errno 13)

141017  9:30:33 [ERROR] Could not open log file

141017  9:30:33 [ERROR] Can't init tc log

141017  9:30:33 [ERROR] Aborting

141017  9:30:33  InnoDB: Starting shutdown...

141017  9:30:34  InnoDB: Shutdown completed; log sequence number 1595668

141017  9:30:34 [Note] /usr/libexec/mysqld: Shutdown complete

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值