Apache啓動不了,報錯信息:No space left on device

Wed Mar 11 15:57:46 2009] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Wed Mar 11 15:59:22 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 11 15:59:22 2009] [error] (28)No space left on device: Cannot create SSLMutex
Configuration Failed
[Wed Mar 11 16:00:25 2009] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Wed Mar 11 16:01:43 2009] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed 解決辦法:
1、輸入:ipcs -s 看有沒有超過5個,如果有請執行下面2的命令:
2、ipcs -s | perl -ane '/^0x00000000/ && `ipcrm -s $F[1]`'
3、重啓Apache服務。(到此問題解決!)

ipcs -s | grep apache | perl -e 'while (<STDIN>) { @a=split(/\s+/); print `ipcrm sem $a[1]`}'


轉自 :http://blog.chinaunix.net/uid-20788275-id-3269696.html

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章