httpd: Could not reliably determine the server's fully qualified domain name
来源:互联网 发布:非农数据图 编辑:程序博客网 时间:2024/06/05 00:33
[root@luozhonghua sbin]# service httpd start
Starting httpd: httpd: apr_sockaddr_info_get() failed for luozhonghua
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Starting httpd: httpd: apr_sockaddr_info_get() failed for luozhonghua
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]
遇到这个情况,说明80端口被占用,也就是你系统已有了80端口暂用,怎么办了
先检查下:
[root@luozhonghua sbin]# netstat -lnp|grep 80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 5619/nginx
unix 2 [ ACC ] STREAM LISTENING 12380 1759/abrtd /var/run/ab rt/abrt.socket
unix 2 [ ACC ] STREAM LISTENING 16831 2143/nautilus /tmp/orbit- root/linc-85f-0-3e753e8283a80
方法是,关闭被占用的程序,一般来说,也就是另一个容器而已
比如我机器上就有nginx占用,那么 ./usr/local/nginx/nginx -s stop
然后再起 service httpd start
即可
当然另一种办法就是修改httpd默认端口80,但不推荐
1 1
- httpd:httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1
- Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name 解决
- Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using
- 解决httpd: Could not reliably determine the server's fully qualified domain name的方法
- httpd: Could not reliably determine the server's fully qualified domain name
- httpd: Could not reliably determine the server's fully qualified domain name, using
- 解决httpd: Could not reliably determine the server's fully qualified domain name
- httpd: Could not reliably determine the server's fully qualified domain name解决
- Apache启动"httpd: Could not reliably determine the server's fully qualified domain name, using 127.0."
- Linux Apache httpd: Could not reliably determine the server's fully qualified domain name
- Apache问题解决:httpd: Could not reliably determine the server's fully qualified domain name
- 启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name
- httpd: Could not reliably determine the server's fully qualified domain name
- httpd: Could not reliably determine the server's fully qualified domain name
- 解决httpd: Could not reliably determine the server's fully qualified domain name
- 解决httpd: Could not reliably determine the server's fully qualified domain name
- 启动httpd时,Could not reliably determine the server's fully qualified domain name
- httpd: Could not reliably determine the server's fully qualified domain name
- poj_2935 Basic Wall Maze
- JspSmartUpload 实现下载
- 《Python基础教程》第20章学习笔记
- 【多级树形菜单-dialog自定义动画弹出方式-手势监听】dialog自定义动画
- Java集合源码学习(1)_架构
- httpd: Could not reliably determine the server's fully qualified domain name
- 【学习笔记】struts-tag与jstl的异同
- 黑马程序员-java方法
- How to Write Good Requirements
- LeetCode Reorder List
- POJ 1915Knight Moves
- SQL语句
- Lua: 给 Redis 用户的入门指导
- 黑马程序员-抽象类借口