[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:09011] Re: Apacheのことで



鳥居さん、こんにちは

  > 記述の仕方が悪かったようで申し訳ありません。

いえいえ、とんちんかんでごめんなさい。

  > これと同じ事をして、メッセージ上はhttp serverがstartしているのですが、
  > 実際には起動されていません。
  > そこで、
  > /etc/groupを編集し、

ここに行く前に、
/usr/local/apache/conf にある httpd.conf ファイルのなかに
こういう部分がありますので、ここを確認されてはいかがでしょう。
-----------------------
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.  
#
# User/Group: The name (or #number) of the user/group to run httpd as.
#  . On SCO (ODT 3) use "User nouser" and "Group nogroup".
#  . On HPUX you may not be able to use shared memory as nobody, and the
#    suggested workaround is to create a user www and use that user.
#  NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
#  when the value of (unsigned)Group is above 60000; 
#  don't use Group nogroup on these systems!
#
User nobody
Group apache
--------------------

それから、apache FAQ に 
1.Why do I get "setgid: Invalid argument" at startup? 
という質問がありますが、このあたりはヒントになるのかな。

http://localhost で文書が出ないなら、こちらを利用してもよい。
http://httpd.apache.org/docs/misc/FAQ.html
インストールから起動に関する FAQ があるようです。

1.Why do I get "setgid: Invalid argument" at startup? 

     Your Group directive (probably in conf/httpd.conf) needs to name a group that actually exists in the
     /etc/group file (or your system's equivalent). This problem is also frequently seen when a negative
     number is used in the Group directive (e.g., "Group #-1"). Using a group name -- not group number --
     found in your system's group database should solve this problem in all cases. 

中谷千絵




References
[plamo:09010] Re: Apacheのことで, torii

[検索ページ] [メール一覧]
Plamo ML 公開システム