Apache No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed
- 2020-05-09 19:48:31
- OfStack
Restarting Apache failed after replacing the ssl certificate.
Check Apache's error log and find:
[Fri May 20 18:07:23 2011] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Fri May 20 18:08:22 2011] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Fri May 20 18:13:50 2011] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Fri May 20 18:13:52 2011] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
Solutions:
# To write 1 Some information about the active semaphore set
ipcs -s | grep apache | perl -e 'while (<stdin>) { @a=split(/\s+/); print `ipcrm sem $a[1]`}'
</stdin>
Reference:
http: / / carlosrivero com/fix - apache - no - space - left - on - device couldnt - create accept -- lock