启动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://www.cnblogs.com/houweijian/p/8078429.html

解决apache启动错误:Could not reliably determine the server's fully qualified domain name相关推荐

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

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

  2. Apache启动时报Could not reliably determine the server's fully qualified domain name

    在系统启动时apache,没有启动起来,查看"事件查看器"发现报一些错误: The Apache service named  reported the following err ...

  3. 解决CentOS-HTTP出现“httpd: Could not reliably determine the server‘s fully qualified domain name”问题

    解决CentOS-HTTP出现"httpd: Could not reliably determine the server's fully qualified domain name&qu ...

  4. 解决报错httpd: Could not reliably determine the server‘s fully qualified domain name

    vi httpd.conf #ServerName www.example.com:80 ServerName localhost:80 Stopping httpd: [ OK ] Starting ...

  5. 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 ...

  6. 启动http报错AH00558:Could not reliably determine the server‘s fully qualified domain name using解决办法

    启动http报错,提示如下 [root@ shanan httpd-2.4.29]# service httpd restart AH00558: httpd: Could not reliably ...

  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. 解决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 ...

  9. 解决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. 构建本地缓存java_Java8简单的本地缓存实现
  2. 乐视TV做电视 “自杀”还是“猎杀”
  3. leetcode#42 Trapping rain water的五种解法详解
  4. python游戏代码示例_练习项目20:使用python制作游戏(中)
  5. SAP UI5框架中,onInit方法执行次数的讨论
  6. 春天重试,因为冬天来了
  7. Java8 Stream详解~ 提取/组合
  8. SAP License:STMS权限
  9. 如何解决Greenplum pg_dump备份时的分布策略缺失等问题
  10. 进化计算-进化策略(Evolutionary Strategies,ES)前世今生与代码共享
  11. 介绍一下python getopt 模块
  12. C#3.0 new features: Lambda expression
  13. 【CRM】开源CRM
  14. linux壁纸图片不让复制,一些不常见到的LINUX壁纸,老规矩只提供给红联的兄弟姐妹...
  15. 硬件设计——PWM原理与设计
  16. 根据表一和表二写出查询结果如表三的sql语句
  17. java 无理数_《数学分析原理》笔记之——无理数的引入
  18. 寂寞沙洲冷c语言程序,周传雄《寂寞沙洲冷》吉他谱简单版 酷音小伟吉他弹唱教学吉他谱...
  19. 【tool】动态注释LOG_NDEBUG宏定义
  20. 追求境界,毫无“线”制 NINEKA南卡T1真无线蓝牙耳机

热门文章

  1. matlab离散线性时不变系统的分析,实验3线性时不变系统的时域分析及matlab实现.doc...
  2. mysql my-small.cnf_mysql配置文件my-small.cnf解析,汉文翻译,配置
  3. 百兆 千兆网络变压器的实际应用电路参考图
  4. 广告SDK开发学习笔记
  5. 计算机图形学 ———— 扫描线多边形填充算法 (讲解)
  6. openwrt配置内核驱动_openwrt 增加RTC(MCP7940 I2C总线)驱动详解
  7. Bert-chinese使用GPU运算
  8. 华为ws851虚拟服务器,华为WS851路由器怎么配置上网
  9. 机器学习算法系列(二十)-梯度提升决策树算法(Gradient Boosted Decision Trees / GBDT)
  10. 1036 习题3-3 计算贷款还款时间