apache启动错误:could not creatr rewrite_log_lock Configuration Failed
[crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed
php的semaphores函数占满了semaphores的空间。
可以用 ipcs -s命令来查看
ipcs -s | grep apache
释放所占空间
ipcs -s | grep apache | perl -e 'while () { @a=split(/\s+/); print `ipcrm sem $a[1]`}' ### 可以放在apache的启动脚本中.
阅读(710) | 评论(0) | 转发(0) |