[groonga-dev,01499] CentOS6.2にmroongaをインストール

Back to archive index

K A a_kira1****@hotma*****
2013年 6月 24日 (月) 16:53:43 JST


初めてのmroongaインストールに行き詰まったので、アドバイスをよろしくお願いします。
サーバー扱いには不慣れなPHP屋です。

サーバーOSはCentOS6.2で、RPMから入れたMySQL5.6.10が動作していました。
初めに

sudo rpm -ivh http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm
sudo yum makecache
sudo yum install -y mysql-mroonga

とやってみて失敗し、

sudo yum remove 'mysql*'
sudo yum remove Percona*
sudo yum install -y mysql-mroonga

としてみたところ、入ったもののMySQLが起動しなくなりました。

元のMySQLがYUMによるものではなかったためになんらかの不整合が起こったのかと思い、再度リムーブして、
さらにMySQL関係のディレクトリを削除(sudo rm -r /var/lib/mysql)して再インストールして…
などとするうちに事態が深刻化したようです(旧データについてはダンプファイルから復旧予定)。

MySQLのエラーログについては、ディレクトリを削除するまではまともなログが出ていたのですが、現在は起動をかけても
/var/log/mysqld.log
は空のまま、
/var/lib/mysql/my-domain.com.err
は存在しないという状況になっています。
また、シェル上では常に以下のエラーが吐かれます。

[user @ my-domain ~]$  sudo service mysqld start
MySQL データベースを初期化中:  Installing MySQL system tables...
130624 15:26:44 [ERROR] Can't find messagefile '/usr/share/mysql/english/errmsg.sys'
130624 15:26:44 [ERROR] Aborting

130624 15:26:44 [Note]

Installation of system tables failed!  Examine the logs in
/var/lib/mysql for more information.

You can try to start the mysqld daemon with:

    shell> /usr/libexec/mysqld --skip-grant &

and use the command line tool /usr/bin/mysql
to connect to the mysql database and look at the grant tables:

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

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

Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS.  Another information source are the
MySQL email archives available at http://lists.mysql.com/.

Please check all of the above before mailing us!  And remember, if
you do mail us, you MUST use the /usr/bin/mysqlbug script!

以上、何か思い当たることがありましたらアドバイスをどうぞよろしくお願いします。

木村
 		 	   		  



groonga-dev メーリングリストの案内
Back to archive index