skip to main
|
skip to sidebar
notes from Rellik
個人心情和 Linux / FreeBSD 等技術
2009/10/19
Argument list too long
錯誤訊息是
bash: /bin/rm: Argument list too long
今天用 rm -f db-* 遇到這個問題 ...
有點鳥呀
改用 find . -name "db-*" | xargs rm -f 就跑的蠻正常的
2009/10/09
Plugin 'InnoDB' init function returned error
我被這問題困擾了好久...
以下是完整的錯誤訊息
InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 268435456 bytes!
091009 1:52:14 [ERROR] Plugin 'InnoDB' init function returned error.
091009 1:52:14 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
091009 1:52:14 [ERROR] Unknown/unsupported table type: InnoDB
091009 1:52:14 [ERROR] Aborting
work around 的方式
1. 先把 mysql 停下來
2. 我把 ib_logfile0 和 ib_logfile0 直接移除了
3. 重跑 mysql 就好了 0rz
好了之後再來用 maatkit 修復 replication
2009/09/21
重新開始
無須多說什麼,就聽吧
mysql slave replication error
error log 裡面出現了這行...
Error: log file ./ib_logfile0 is of different size 0 67108864 bytes
仔細查才發現 master 的 my.cnf 裡面
innodb_log_file_size
=
64M
而 replication slave 的 my.cnf
innodb_log_file_size
=
8M
這樣跑就會出錯了,把 slave 的 my.cnf 改成和 master 一樣的大小就行了
較新的文章
較舊的文章
首頁
訂閱:
文章 (Atom)
label
心情
backup
browser
Database
FreeBSD
game
GKE
linux
MacOS
microsoft
multimedia
network
secure
unix
VirtualMachine
Windows
month
▼
2020
(2)
▼
09
(1)
CVE-2020-14386 kernel 漏洞
►
05
(1)
►
2016
(1)
►
10
(1)
►
2011
(5)
►
06
(1)
►
03
(2)
►
02
(1)
►
01
(1)
►
2010
(5)
►
09
(1)
►
08
(1)
►
07
(1)
►
06
(1)
►
02
(1)
►
2009
(13)
►
10
(3)
►
09
(2)
►
08
(1)
►
07
(1)
►
06
(1)
►
04
(1)
►
03
(3)
►
01
(1)
►
2008
(23)
►
12
(3)
►
11
(1)
►
10
(6)
►
09
(4)
►
06
(2)
►
05
(2)
►
04
(2)
►
02
(2)
►
01
(1)
►
2007
(35)
►
12
(1)
►
11
(1)
►
10
(1)
►
09
(3)
►
08
(6)
►
07
(2)
►
05
(12)
►
04
(9)
關於我自己
rellik
檢視我的完整簡介