Mac Portでhttpsサーバー(2)

なんかhttpsサーバーの設定ができたので徐々に本格運用を始めたら、なんかapacheが落ちる。

エラーログを見てみた。

/opt/local/apache2/logs/error_log

[Mon Apr 21 04:20:03 2008] [alert] (2)No such file or directory: initgroups: unable to set groups for User www and Group 70
[Mon Apr 21 04:20:04 2008] [alert] Child 658 returned a Fatal error... Apache is exiting!
[Mon Apr 21 04:20:04 2008] [emerg] (90)Identifier removed: couldn't grab the accept mutex
[Mon Apr 21 04:20:04 2008] [emerg] (90)Identifier removed: couldn't grab the accept mutex
[Mon Apr 21 04:20:04 2008] [emerg] (90)Identifier removed: couldn't grab the accept mutex
[Mon Apr 21 04:20:04 2008] [emerg] (90)Identifier removed: couldn't grab the accept mutex
[Mon Apr 21 04:20:19 2008] [emerg] (22)Invalid argument: couldn't release the accept mutex

先頭2行目で落ちてるみたいなので、上記2行が
Child *** returned a Fatal error... Apache is exiting!と出る場合、httpd.confの中のグループが問題な場合があるみたいですが、
デフォルトの/etc/apache2/httpd.confと同じUser&Group設定なんだよなー。

httpd.confを弄ってみた

とりあえず、/etc/passwd、/etc/groupの内容に従って

User www
Group www

の部分の"www"を"_www"(先頭にアンダーバー付)に変更しておきました。

User _www
Group _www

なんか、落ちなくなった、、ような、、気がする、、
だまされないぞ!!!!!!まだ信用できない。