Fóruns: Open Discussion (Thread #23969)

chroot環境で導入する方法 (2009-09-18 09:11 by Anônimo #45981)

chroot環境でmod_chxjを導入するとapacheが起動しません。

ログには以下のエラーが表示されてしまいます。

[Thu Sep 17 19:50:53 2009] [error] mod_chxj.c:1557 end chxj_init_module(). mutex create failure.(2:No such file or directory)
Configuration Failed

apacheはrpmからインストールした2.11で、mod_chxjは0.12です。
chroot環境でなければ起動するので設定ミスなのかと思いますが。。

どなたかご存知でしたらご教授いただけますと助かります。

Responder a #45981×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: chroot環境で導入する方法 (2009-09-18 10:01 by konn #45982)

ありがとうございます。

とり急ぎ、気づいたことだけ書かせていただきます。

mutexの作成にfcntlを使用していますが、その際、/tmp以下に
テンポラリファイルが作成されます。(これは、少なくともApache httpd-2.2.8のlibaprではそのようになっています。)

ですので、おそらく、chroot配下に/tmpが必要なのではないかと思われます。

こちらでもちょっと調べてみようかと思いますが、
よろしくお願いいたします。
Responder a #45981

Responder a #45982×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: chroot環境で導入する方法 (2009-09-27 15:36 by Anônimo #46101)

ありがとうございます!!!!

chroot配下にtmpディレクトリ作成後
無事にプロセス起動しました!!!

取り急ぎの内容だったので、本当に本当に助かりました。

回答遅くなり、誠に申し訳ございませんでした。

以上です。
Responder a #45981

Responder a #46101×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: chroot環境で導入する方法 (2009-09-27 17:58 by konn #46104)

すみません。ありがとうございます。

もっと分かりやすいエラーにすべきですよね。。

ご報告ありがとうございます。大変助かります!

よろしくお願いいたします。
Responder a #46101

Responder a #46104×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login