apache2 无法重新启动
2015-09-24 11:38
567 查看
系统:ubuntu server 14.04 LTS
服务:apache2
重启服务时报
* Restarting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
解决方案:
cd /etc/apache2/sites-enabled
sudo vi 000-default.conf
打开default文件后,在default文件顶端加入:
ServerName 127.0.0.1
重启apache2 (sudo /etc/init.d/apache2 restart)就不会提示上述错误了。
服务:apache2
重启服务时报
* Restarting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
解决方案:
cd /etc/apache2/sites-enabled
sudo vi 000-default.conf
打开default文件后,在default文件顶端加入:
ServerName 127.0.0.1
重启apache2 (sudo /etc/init.d/apache2 restart)就不会提示上述错误了。
相关文章推荐
- 隐藏apache版本信息
- Struts2配置 ClassNotFoundException: rg.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilt
- 解决Apache/PHP无法启动的问题
- Attempting to start Apache service...but apache doesn't work
- hive 报错 java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
- Simple User Access to Apache HBase
- Apache+PHP+Mysql 配置
- org.apache.poi.ss.usermodel 类操作excel数据遗漏
- org.apache.poi.ss.usermodel 类操作excel数据遗漏
- org.apache.poi.ss.usermodel 类操作excel数据遗漏
- Struts2漏洞频出 祸根是Apache底层代码不严谨
- Apache Log4j使用详细介绍
- CentOS 6.6下的J2EE环境搭建(三)之Apache安装
- ubuntu apache2 wsgi 部署django
- LAMP编译介绍二、 php以fpm的方式结合apache工作
- LAMP编译介绍一、 php以模块化的方式结合apache工作
- Apache Shiro权限框架在SpringMVC+Hibernate中的应用
- hadoop hdfs 读写错误解决:java.io.IOException: Filesystem closed org.apache.hadoop.hdfs.DFSClient.checkOpe
- org.apache.jasper.JasperException: /WEB-INF/jsp/add.jsp(40,24) quote symbol expected
- APACHE服务器500错误解决方法与强制跳转