有名为"apache2"的进程正在运行 [英] There are processes named 'apache2' running

查看:123
本文介绍了有名为"apache2"的进程正在运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

帮助我解决该错误(在Apache中)

help me resolve this error in apache

/etc/init.d/apache2重新启动

/etc/init.d/apache2 restart

错误:

有一些名为"apache2"的进程正在运行,这些进程与您的pid文件不匹配,出于安全考虑,请保持不变.

There are processes named 'apache2' running which do not match your pid file which are left untouched in the name of safety, Please review the situation by hand.

谢谢

推荐答案

杀死他们.

kill -9 $(ps -e | grep apache2 | awk '{print $1}')

这篇关于有名为"apache2"的进程正在运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆