個人心情和 Linux / FreeBSD 等技術

2009/10/25

ADELE - Make You Feel My Love





When the rain is blowing in your face

And the whole world is on your case

I could offer you a warm embrace

To make you feel my love



When the evening shadows and the stars appear

And there is no one there to dry your tears

I could hold you for a million years

To make you feel my love



I know you haven't made your mind up yet

But I would never do you wrong

I've known it from the moment that we met

No doubt in my mind where you belong



I'd go hungry, I'd go black and blue

I'd go crawling down the avenue

There's nothing that I wouldn't do

To make you feel my love



The storms are raging on the rollin' sea

And on the highway of regret

The winds of change are blowing wild and free

You ain't seen nothing like me yet



I could make you happy, make your dreams come true

Nothing that I wouldn't do

Go to the ends of the earth for you

To make you feel my love

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