のくす牧場
コンテンツ
牧場内検索
カウンタ
総計:123,104,735人
911,092,122頁
昨日:2,975人
4,268頁
今日:632人
780頁
最近の注目
人気の最安値情報
    Page Top

    DAV anchor.png

    • ssl_error_log に以下のエラーが出る時は
      [error] [client 202.13.220.120] (2)No such file or directory: <DAV:cannot-modify-checked-in-parent>  [409, #0]
      • SSLクライアントによっては、以下の設定が必要
        SVNAutoversioning on 
        • ATOK Sync ツールを自前のサーバで使うときには、これが必要。
    Page Top

    httpd.conf の小技 anchor.png

    • サーバ情報の表示しない
      ServerTokens ProductOnly
      ServerSignature Off
    • .で始めるディレクトリは公開しないようにする
      <Directory ~ "/\..+/">
            Order Deny,Allow
            Deny from All
      </Directory>
    Page Top

    php.ini の小技 anchor.png

    • phpのバージョン情報を隠す
      expose_php = Off
    Page Top

    エラーと対策 anchor.png

    Page Top

    error_log に anchor.png

    [Thu Jul 21 09:25:30 2011] [alert] (11)Resource temporarily unavailable: setuid: unable to change to uid: 48
    [Thu Jul 21 09:25:31 2011] [alert] Child 25127 returned a Fatal error... Apache is exiting!
    [Thu Jul 21 09:25:31 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (22)Invalid argument: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (22)Invalid argument: couldn't grab the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (22)Invalid argument: couldn't release the accept mutex
    [Thu Jul 21 09:25:31 2011] [emerg] (22)Invalid argument: couldn't grab the accept mutex

    というエラーが出る。 きっかけは、「Resource temporarily unavailable: setuid: unable to change」なので、limits の nproc 不足。

    # sudo -u apache limits -u

    で現在地を確認の後、/etc/security/limits.conf にて値を指定

    apache          -       nproc            4096
    apache          -       nofile           32768

    例えば、4096 とか入れてみる。


    トップ   凍結 差分 バックアップ 複製 名前変更 リロード印刷に適した表示   ページ新規作成 全ページ一覧 単語検索 最新ページの一覧   ヘルプ   最新ページのRSS 1.0 最新ページのRSS 2.0 最新ページのRSS Atom Powered by xpWiki
    Counter: 4287, today: 1, yesterday: 0
    初版日時: 2007-09-04 (火) 15:39:03
    最終更新: 2011-07-21 (木) 09:55:21 (JST) (2219d) by 牧場長