Starting httpd: httpd: apr_sockaddr_info_get() failed
2016-02-01 12:12
519 查看
[root@niejicai ~]# /etc/init.d/httpd start
Starting httpd: httpd: apr_sockaddr_info_get() failed for niejicai
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
解决方法:
第一:
[root@niejicai ~]# vim /etc/hosts
127.0.0.1 niejicai
第二:
[root@niejicai ~]# vim /etc/httpd/conf/httpd.conf
ServerName localhost:80
重启即可!
Starting httpd: httpd: apr_sockaddr_info_get() failed for niejicai
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
解决方法:
第一:
[root@niejicai ~]# vim /etc/hosts
127.0.0.1 niejicai
第二:
[root@niejicai ~]# vim /etc/httpd/conf/httpd.conf
ServerName localhost:80
重启即可!
相关文章推荐
- 【转】UltraISO制作U盘启动盘安装Win7/9/10系统攻略
- 【Xamain 跨平台机制原理剖析】
- tools:context=".MainActivity的作用
- rails s 命令不起作用
- 出现( linker command failed with exit code 1)错误总结
- [INS-41112] Specified network interface doesnt maintain connectivi
- Rails 使用 Google Analytics 示例
- [Regular Expressions] Find Plain Text Patterns
- A*启发式搜索算法详解 人工智能
- the usage of activity_main.xml
- 获取sina,baidu,google财经历史和实时股票数据接口
- Aircrack-ng——Tutorial
- Airodump-ng——Description
- kali 2.0 — aircrack-ng dictionary — wordlists
- airbase-ng stops working after a while--wifi热点只能连接20秒左右
- adb shell里面ls提示opendir failed, Permission denied
- 获取sina,baidu,google财经历史和实时股票数据接口
- MyBatis批量操作报错:Parameter 'xxxList' not found. Available parameters are [list]
- Windows安装RaibbitMQ服务器
- 容器字段Ext.form.FieldContainer