线上的服务器突然间就挂掉了;

service httpd status

httpd dead but pid file exists

 

service httpd restart ;依然是这样;

进去查看apache的错误日志

httpd dead but pid file exists

 

错误信息是

No space left on device: Couldn't create accept lock (/etc/httpd/logs/accept.lock.15258

df -h 也是正常的;解决办法如下

ipcs -s

httpd dead but pid file exists

要把这些全部清除掉;

for ipcs in `ipcs -s|awk '{print $2}'`;
do 
echo "ipcs=$ipcs" 
ipcrm -s $ipcs
done

service httpd restart

httpd dead but pid file exists

httpd dead but pid file exists

相关文章:

  • 2022-12-23
  • 2018-07-11
  • 2022-12-23
  • 2022-12-23
  • 2021-07-11
  • 2022-12-23
  • 2021-07-09
  • 2021-08-17
猜你喜欢
  • 2021-11-25
  • 2021-06-19
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
相关资源
相似解决方案