码迷,mamicode.com
首页 > Web开发 > 详细

[ubuntu] service apache2 restart [fail]

时间:2015-04-01 09:30:14      阅读:248      评论:0      收藏:0      [点我收藏+]

标签:

$ /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

  

  

[ubuntu] service apache2 restart [fail]

标签:

原文地址:http://www.cnblogs.com/bushe/p/4382911.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!