歡迎您光臨本站 註冊首頁

apache 無故停止,一天幾次。 怎麼回事?

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

apache 無故停止,一天幾次。 怎麼回事?

例如下午14點


PHP Notice:  Undefined index:  register_show_tmp in  ar/www/html s/templates/default/register_show.php on line 3, referer: http://domain name/bbs/pet.php?index=petpknpc&action=fightnpc
PHP Notice:  Use of undefined constant name - assumed 'name' in  ar/www/html/checkSh.php on line 10, referer: http://domain name/checkSh.php
  


這是下午14點16分 /var/log/httpd/error_log 記錄下來的最後一條錯誤記錄。

到15點的時候,我重新啟動 httpd 服務。啟動一切正常。但在 /var/log/httpd/error_log 錯誤日值里記錄下

SELinux policy enabled; httpd running as context root:system_r:httpd_t:s0
suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
Digest: generating secret for digest authentication ...
Digest: done
mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
Apache/2.2.0 (Fedora) configured -- resuming normal operations

上面都沒有記錄是因為什麼原因導致 httpd 停止服務的。

請問在什麼地方可以看到他是為什麼停的?上面的這些日誌是什麼意思?
《解決方案》

上面啟動時候的日值是8號的。不過和10號的內容是一樣的。
《解決方案》

把SElinux禁止掉試試

[火星人 ] apache 無故停止,一天幾次。 怎麼回事?已經有709次圍觀

http://coctec.com/docs/service/show-post-35151.html