Hatena::Diary

nachtfalterの日記

2010-01-19

[]mysql4.0.26にてinstall_dbできない件について 18:23 mysql4.0.26にてinstall_dbできない件について - nachtfalterの日記 を含むブックマーク はてなブックマーク - mysql4.0.26にてinstall_dbできない件について - nachtfalterの日記

mysql-4.0.26.tar.gzをインストールしようとしてはまったので備忘録。

基本的なインストール方法はこちらを参照してもらって、make installまで終わったら、my.cnfをいじらないと下記の様なエラーが出る。

# /usr/local/mysql/bin/mysql_install_db                                           Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
100119 18:08:18 /usr/local/mysql/libexec/mysqld: unknown variable 'innodb_support_xa=OFF'

Installation of grant tables failed!

Examine the logs in /usr/local/mysql/var for more information.
You can also try to start the mysqld daemon with:
/usr/local/mysql/libexec/mysqld --skip-grant &
You can use the command line tool
/usr/local/mysql/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /usr/local/mysql/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /usr/local/mysql/var that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/local/mysql/bin/mysqlbug script!

「unknown variable 'innodb_support_xa=OFF'」ってなんやねんと思って色々調べまわった結果、my.cnfに

# vi /etc/my.cnf
(snip)
innodb_support_xa = ON
(snip)

つう項目があったんでコメントアウトしてみたらあっさりmysql_install_dbが通った。どうやら4系では認識できないプロパティのようなので後日詳しく追っかけてみることにしよう。てかなんでinnodbの項目があるんだろうね。

2010-01-15

[][]パーティションswapにするには 13:50 パーティションをswapにするには - nachtfalterの日記 を含むブックマーク はてなブックマーク - パーティションをswapにするには - nachtfalterの日記

備忘録。

Command (m for help): t
Partition number (1-4): 4
Hex code (type L to list codes): 82
Changed system type of partition 4 to 82 (Linux swap)

これを忘れずに。その後に mkswap /dev/sdaN して /etc/fstab へ記載すれば完了なのでありました。

2009-12-09

[][]x86_x64OSとオーディオインターフェース 11:40 x86_x64OSとオーディオインターフェース - nachtfalterの日記 を含むブックマーク はてなブックマーク - x86_x64OSとオーディオインターフェース - nachtfalterの日記

 t.c.electronicのドライバがWindowsSever2008で使えないことにがっかりしながら予備のPresonusのFireboxを繋いだらあっさり認識した。1394は特にx64のドライバが提供している環境でないと結構ハマるかもしれない。まずインストーラではじかれたりするしね。

 で、先日またFireboxがぶっ壊れたので入院。Konnect24Dはすでに使用済なのでしょうがないのでWindows7 x64でも動くというFocusrite Saffire USB 6を導入。あっさり認識した上で音もDAW上でも何の問題なしに稼動開始。

 まあ、WindowsServer2008上で動かすこと自体サポート外なのは承知済みなんで動かなくても仕方ないとは思うんだけどねえ‥。

 7カーネルと同等なんであれば安定性抜群のWindowsServer2008R2をお勧めします(´ー`)

 あと、64bit版のドライバがリリースされているかどうかチェックも忘れずに。

2009-11-18

[]とりあえず叫ぶ 12:18 とりあえず叫ぶ - nachtfalterの日記 を含むブックマーク はてなブックマーク - とりあえず叫ぶ - nachtfalterの日記

はてなパーカー欲しい!

2009-11-16

[][][][]Killing Floorのサーバ構築 13:21 Killing Floorのサーバ構築 - nachtfalterの日記 を含むブックマーク はてなブックマーク - Killing Floorのサーバ構築 - nachtfalterの日記

KillingFloor Dedicatedサーバ構築手順 @ openSUSE11.1<なんちゃって日本語版>

なんか面倒だったけどできたので適当に備忘録。Windowsに興味はありません。

続きを読む