我是linux管理新手。我想主持多個網站,但我總是得到一個錯誤httpd死鎖subsys。我得到一個錯誤httpd死鎖subsys locked
4
A
回答
5
http://awaseroot.wordpress.com/2012/06/11/subsys-lock-problem-with-centos-6-2-and-apache/殺死httpd進程,檢查httpd.conf中的pid文件,然後重新啓動httpd,這個鏈接給你一個詳細的見解。
4
Apache服務器的一個常見問題。既然你沒有提到你確切的Linux操作系統,那麼一般化的答案就足夠了。
我們需要檢查「httpd服務」的第一件事是在不同用戶的另一個進程中運行。
檢查使用其他用戶(root)的HTTP狀態,或者運行
sudo service httpd status
您可能會收到錯誤 「httpd的死了,但SUBSYS鎖定」
然後,
嘗試刪除鎖定文件
sudo rm -f /var/lock/subsys/httpd
I F IT 失敗
的殺進程
killall -9 httpd
刪除鎖定文件
sudo rm -f /var/lock/subsys/httpd
重新啓動該服務
sudo service httpd restart
2
使用df -h
檢查您的磁盤空間。如果您有完整的磁盤,則可能會導致此錯誤。
相關問題
- 1. MySQL的是死的,但SUBSYS鎖定
- 2. memcached的死亡,但SUBSYS鎖定
- 3. 許多更新得到死鎖錯誤
- 4. 爲什麼當我向httpd請求「imdb.com」時,我得到一個403錯誤?
- 5. 我得到一個錯誤
- 6. 我得到一個錯誤
- 7. 7u45 webstart中的新死鎖錯誤?
- 8. MySQL的死鎖錯誤
- 9. Linux 3.0:futex-lock死鎖錯誤?
- 10. 我一直得到一個-1700錯誤
- 11. sendmail記錄錯誤到我的httpd error_log?
- 12. 殺死某個httpd作業
- 13. 幫我找到死鎖
- 14. 我得到一個空的錯誤
- 15. 我得到一個SQL錯誤在PHP
- 16. 我得到一個錯誤,在PHP
- 17. 我得到一個__NSCFNumber isEqualToString:]錯誤
- 18. 我得到一個錯誤使用C
- 19. 我得到一個錯誤的MaterialBetterSpinner
- 20. 我得到一個SyntaxError:(unicode錯誤)'unicodeescape'codec
- 21. 我得到一個迅速錯誤
- 22. Java ExecuterService死鎖?
- 23. mithril.js死亡m.request收到一個錯誤
- 24. 我得到這個錯誤
- 25. 我得到一個PHP錯誤,我無法得到爲什麼我得到它
- 26. 的Python multiprocessing.Queue死鎖,並得到
- 27. 死鎖在MCS鎖實施
- 28. 錯誤打開一個OUT SYS_REFCURSOR FOR FOR UPDATE SKIP LOCKED
- 29. 的ProcessBuilder得到得到一個錯誤
- 30. 得到一個錯誤
使用另一個用戶(root)檢查http狀態,或者運行這個「sudo service httpd status」 –