看板 FreeBSD 關於我們 聯絡資訊
有下fsck -y 附上 log 100610 23:28:50 mysqld started 100610 23:28:52 InnoDB: Started; log sequence number 0 2976629477 ^G/usr/local/libexec/mysqld: File './mysql-bin.000009' not found (Errcode: 2) 100610 23:28:52 [ERROR] Failed to open log (file './mysql-bin.000009', errno 2) 100610 23:28:52 [ERROR] Could not open log file 100610 23:28:52 [ERROR] Can't init tc log 100610 23:28:52 [ERROR] Aborting 100610 23:28:52 InnoDB: Starting shutdown... 100610 23:28:54 InnoDB: Shutdown completed; log sequence number 0 2976629477 100610 23:28:54 [Note] /usr/local/libexec/mysqld: Shutdown complete 100610 23:28:54 mysqld ended 目前處理方法vi /etc/my.cnf把裡面的log-bin這一行註釋掉 就一切正常了 但...要恢復呢... 目前好像卡在他找不到mysql-bin.000009 但以前我備份這些檔後 系統會在自行產生序號會重頭排起 有人知道怎處理嗎 感謝 ※ 引述《chiouss (Heart-shaped chant)》之銘言: : ※ 引述《ohyago (Hey 給我一分鐘的快樂吧)》之銘言: : : 有先做過google 有說到ln的方法 但我/var下沒有lib : : 也找不到其他mysql.sock的存在 : : 突然的停電 : : 重開後發現mysql並沒有跑起來 : 你停電重開後是不是沒有 fsck 過?我猜是有目錄的 file system 沒有 clean 所以寫不進去... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.136.221.163 ※ 編輯: ohyago 來自: 220.136.221.163 (06/12 00:50) ※ 編輯: ohyago 來自: 220.136.221.163 (06/12 01:02)