[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

  

  

posted @ 2015-04-01 09:04  捕蛇者说  阅读(1949)  评论(0编辑  收藏  举报