lionhg 发表于 2015-12-23 14:11:59

apache无法启动, rewrite_log_lock

apache启动错误:could not creatr rewrite_log_lock Configuration Failed
   
(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`}'   ### 可以放在apache的启动脚本中.
页: [1]
查看完整版本: apache无法启动, rewrite_log_lock