[ubuntu] service apache2 restart [fail]

$ /etc/init.d/apache2 restart
* Restarting web server apache2                                         [fail] 

解决办法4步走:

1. sudo /etc/init.d/apache2 stop
2. sudo killall apache2
3. sudo netstat -l|grep www   # 确认没有服务占用80端口
4. sudo /etc/init.d/apache2 restart

  

  

Related Posts

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注