Apache httpd が起動せず No space left on device がログに出力される
Issue
-
Apache が起動せず、以下のようなエラーが発生します。
[emerg] No space left on device:Couldn't create accept lock (/etc/http/logs/accept.lock.7578) [crit] No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed [emerg] No space left on device:Couldn't create accept lock [error] No space left on device:Cannot create SSLMutex Configuration Failed [crit] (28)No space left on device: mod_rewrite:Parent could not create RewriteLock file /etc/httpd/run/rhnccrewrite.lock
-
httpd が起動せず、
Configuration Failed
エラーが発生します。 -
Apache が起動せず、
error_log
の最後の行に以下のメッセージが表示されます。Configuration Failed
-
Apache が起動せず、サービスのステータスが以下のようになります。
[root@host ~]# service httpd status httpd dead but subsys locked
-
Apache が起動せず、サービスのステータスが以下のようになります。
[root@host ~]# service httpd status httpd dead but pid file exists
-
httpd が終了し、systemctl で再起動することができません。起動しようとすると失敗し、以下のようなエラーが発生します。
[core:notice] [pid 23014] AH00094:Command line:'/usr/sbin/httpd -D FOREGROUND' [mpm_prefork:notice] [pid 23014] AH00170: caught SIGWINCH, shutting down gracefully [core:emerg] [pid 26828] (28)No space left on device:AH00023:Couldn't create the rewrite-map mutex AH00016:Configuration Failed
Environment
- Red Hat Enterpise Linux 4
- Red Hat Enterpise Linux 5
- Red Hat Enterpise Linux 6
- Red Hat Enterpise Linux 7
- Apache httpd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.