欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  网络运营

Apache No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed

程序员文章站 2022-06-13 09:28:58
更换ssl证书后,重启apache失败。 查看apache的error日志发现: 复制代码 代码如下: [fri may 20 18:07:23 2011] [cri...

更换ssl证书后,重启apache失败。

查看apache的error日志发现:

复制代码 代码如下:

[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

解决方法:

复制代码 代码如下:

#重新写入一些活动信号量集的信息
ipcs -s | grep apache | perl -e 'while (<stdin>) { @a=split(/\s+/); print `ipcrm sem $a[1]`}'
</stdin>

参考链接: