Apache error: No space left on device: mod_rewrite: Parent could not create RewriteLock


Apache error: No space left on device: mod_rewrite: Parent could not create RewriteLock Hatası ve Çözümü

 

Apache servisini restart ettiginizde yada loglarda aşagıdaki gibi hatalarla karsılaşabilirsiniz. Semaphore (Semafor) dedigimiz process’ler yüzünden bu hatayı alıyorsunuz.

Hata 1;

No space left on device: Cannot create SSLMutex

Hata 2;

No space left on device: mod_rewrite: Parent could not create RewriteLock file /usr/local/apache/logs/rewrite_lock Configuration Failed

Hata 3;

No space left on device: Couldn’t create accept lock
[notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[notice] Digest: generating secret for digest authentication …
[notice] Digest: done
[warn] pid file /etc/httpd/run/httpd.pid overwritten — Unclean shutdown of previous Apache run?
No space left on device: Couldn’t create accept lock

Semaphore Process Kill İşlemi

 

Aşagıda belirttigimiz 3 komutu ayrı ayrı uygulayabilirsiniz. Ardından apache restart etmeniz gerekebilir.

for i in `ipcs -s | grep nobody | awk {‘print $2’}`; do (ipcrm -s $i); done

 

for i in `ipcs -s | awk ‘/nobody/ {print $2}’`; do (ipcrm -s $i); done

 

ipcs -s | grep nobody | awk ‘{print $2}’ | xargs -n 1 ipcrm sem

 

Apache error: No space left on device: mod_rewrite: Parent could not create RewriteLock

log in

reset password

Back to
log in
Choose A Format
Gif
GIF format