ホーム > Computer, LS-GL/HS-DHGL, Linux > LS-GL Debian mysql ほか予定【結果失敗】

LS-GL Debian mysql ほか予定【結果失敗】

2008 年 8 月 27 日

aptでインストールするmysql-serverがsignal 11で落ちる。
何度もhackkitの再インストールからやり直しているが、どうもパッケージに不具合があるような気がしてきた。

Aug 27 10:34:24 lsbox mysqld[1888]: mysqld got signal 11;
Aug 27 10:34:24 lsbox mysqld[1888]: This could be because you hit a bug. It is also possible that this binary
Aug 27 10:34:24 lsbox mysqld[1888]: or one of the libraries it was linked against is corrupt, improperly built,
Aug 27 10:34:24 lsbox mysqld[1888]: or misconfigured. This error can also be caused by malfunctioning hardware.
Aug 27 10:34:24 lsbox mysqld[1888]: We will try our best to scrape up some info that will hopefully help diagnose
Aug 27 10:34:24 lsbox mysqld[1888]: the problem, but since we have already crashed, something is definitely wrong
Aug 27 10:34:24 lsbox mysqld[1888]: and this may fail.
Aug 27 10:34:24 lsbox mysqld[1888]:
Aug 27 10:34:24 lsbox mysqld[1888]: key_buffer_size=16777216
Aug 27 10:34:24 lsbox mysqld[1888]: read_buffer_size=131072
Aug 27 10:34:25 lsbox mysqld[1888]: max_used_connections=4
Aug 27 10:34:25 lsbox mysqld[1888]: max_connections=100
Aug 27 10:34:25 lsbox mysqld[1888]: threads_connected=4
Aug 27 10:34:25 lsbox mysqld[1888]: It is possible that mysqld could use up to
Aug 27 10:34:25 lsbox mysqld[1888]: key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 233983 K
Aug 27 10:34:25 lsbox mysqld[1888]: bytes of memory
Aug 27 10:34:25 lsbox mysqld[1888]: Hope that’s ok; if not, decrease some variables in the equation.
Aug 27 10:34:25 lsbox mysqld[1888]:
Aug 27 10:34:25 lsbox mysqld_safe[3545]: Number of processes running now: 0
Aug 27 10:34:25 lsbox mysqld_safe[3547]: restarted

そこで、deb-sourceからrebuildしてみることにする。

必要なファイルは一式aptでインストールする。

# aptitude install dpkg-dev devscripts fakeroot screen
# apt-get build-dep mysql-server

ソースをとってくる。

# apt-get source mysql-server
# cd mysql-dfsg-5.0-5.0.32

change logを変更する。

# debchange -i
変更箇所を修正して保存してdebchangeを終了

ビルド開始まえに、screenを起動

screenの使い方 すぐ忘れちゃうので備忘

# screen     ;screenを起動
# Ctrl+A d    ;screenを抜ける(detached)
# screen -r    ;screenを再開

ビルド開始

# time dpkg-buildpackage -rfakeroot -us -uc

build完了後、dpkg -i でインストールしてみたが やはり同じ症状に見舞われる。
残るは、sourceからmakeって事になるのだが、dep-pkgで管理していると こういったときに不便というか、
出来る限り、pkg管理を生かしたいというのが本音。

ひとまず、自宅のLS-GLでやりたいことの一覧を作成しておこう。

  • bind
  • dhcpd
  • noip-update
  • samba
  • netatalk
  • wizd(source)
  • distcc
  • apache+mysql(source)+php

LS-GLの記事が多くなってきたので、WORDPRESSのカテゴリーを新規作成して整理し直す。

記事を整理するために古い記事を読みながらカテゴリー分けをしていた時、
そう言えば、自宅に設置してあるIONAS上chrootのetchのmysqlはちゃんと動いていることに気がつきました。
mysql-server-5.0_5.0.32-7etch1はちゃんと動いていたんです。
もちろん、cactiで試したことはありませんが少なくとも wordpressは動いております。

これは、良いことを思いついちゃった。
IONASのapt cacheからインストールしてみようという案です。

早速作業に取りかかることにする。作業の記録は、こちら

taizho Computer, LS-GL/HS-DHGL, Linux Print This Post Print This Post あとで読む

  1. コメントはまだありません。
  1. トラックバックはまだありません。