启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name

[root@server httpd-2.2.4]# /usr/local/apache/bin/apachectl start

httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

1)进入apache的安装目录:(视个人安装情况而不同)

[root@server ~]# cd /usr/local/apache/conf

2)编辑httpd.conf文件,搜索"#ServerName",添加ServerName localhost:80

[root@server conf]# ls
extra  httpd.conf  magic  mime.types  original
[root@server conf]# vi httpd.conf
#ServerName www.example.com:80
ServerName localhost:80

3)再重新启动apache 即可。

[root@server ~]# /usr/local/apache/bin/apachectl restart

转载于:https://blog.51cto.com/300second/767697

解决apache启动错误httpd:Could not reliably determine...相关推荐

  1. 解决apache启动错误:Could not reliably determine the server's fully qualified domain name

    启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name [root@serv ...

  2. 解决 apache启动错误httpd:Could not reliably determinethe server's fully qualified domain

    问题 找到自己这个文件,视自己的安装情况. # find / -name httpd.conf   若找不到. # vim /usr/local/apache2/etc/httpd.conf 添加 S ...

  3. 解决apache启动错误 AH00558: httpd: Could not reliably determine...

    [root@localhost httpd-2.4.7]# /usr/local/httpd/bin/apachectl start AH00558: httpd: Could not reliabl ...

  4. 解决Apache启动错误Could not reliably determine the server‘s fully

    启动Apache时经常会遇到如下问题: 报错内容:httpd[4018]: AH00558: httpd: Could not reliably determine the server's full ...

  5. 启动httpd错误: Could not reliably determine the server

    启动httpd遇到错误:httpd: Could not reliably determine the server's fully qualified domain name httpd: Coul ...

  6. Apache windows启动时报错 httpd: Could not reliably determine the server's fully qualified domain name...

    Apache windows启动调试时报错或警告 httpd: Could not reliably determine the server's fully qualified domain nam ...

  7. 解决AH00558: httpd: Could not reliably determine the server‘s fully qualified domain name, using local

    1.启动apache遇到错误: httpd: Could not reliably determine the server's fully qualified domain name 2·.修改ht ...

  8. linux Apache启动提示 httpd: apr_sockaddr_info_get() failed f

    http://blog.sina.com.cn/s/blog_5d3855450100momf.html 安装了不少系统和apache,也没出现这样的问题.今天居然出现,想想系统是集团给安装的,可能设 ...

  9. 解决httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0

    httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for Se ...

  10. 解决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 [root@serv ...

最新文章

  1. linux利用* vim提权,linux 通过suid vim.basic文件提权
  2. 从HttpServletRequest获取完整的请求路径
  3. java date.getyear_为什么Java的Date.getYear()返回111而不是2011?
  4. JAVA的extends使用方法
  5. OpenGL:carmer
  6. mysql 上一条_mysql选择上一条、下一条数据记录
  7. 用户空间访问I2C设备驱动
  8. [转]Android 常见安全漏洞修复理论与实践
  9. python 多文件知识
  10. 深度学习auc_机器学习集成学习与模型融合!
  11. 【部署问题】解决Nginx: [error] open() "/usr/local/Nginx/logs/Nginx.pid“ failed(2:No such file or directory)
  12. 显示编译代码时长的demo
  13. ftp服务器命令移动文件,ftp服务器命令移动文件命令
  14. 弱光图像增强(Low-light image enhancement)资料整理(更新中...)
  15. java实现查询Word是否包含批注和修订内容
  16. Web指纹识别器系列1:开源项目搜集和反思
  17. http/2与http/1的区别
  18. Android开发百度地图指南针消失问题
  19. 优秀案例 | 长江鲲鹏中地数码:打造智慧城市“数字底座”
  20. IDEA 出现 Exception in thread main java.lang.OutOfMemoryError: Java heap space 解决方式

热门文章

  1. Linux中weblogic的设置
  2. iOS 接入微信 支付宝 参数设置
  3. IDEA创建maven项目之后无法编写java类
  4. 关键字 : this /self / parent
  5. centreon-engine 性能调优
  6. C语言中的位操作(3)--两整数中的最大值与最小值
  7. vs2008软件测试实战 3 web test(1)
  8. mysql 记录_mysql记录耗时的sql实例详解
  9. 消息映射与消息路由原理
  10. CC2640 LaunchPad入门试用-第一篇