图文详解TCP_IP基础原理和技术电子书pdf下载
启动apache没提示错误,可是还是没启动成功,查看错误日志提示Temporary failure in name resolution: AH01564: unable to find IPv4 address of "bogon"
bogon是个啥?
[root@bogon bin]# ./apachectl restart
httpd not running, trying to start
[root@bogon bin]#
看了这个就明白了bogon是个啥了吧。对是主机名
解决办法:
/etc/hosts 文件打开
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
修改如下:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 bogon
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 bogon
转载请注明:谷谷点程序 » apache启动失败 AH01564: unable to find IPv4 address of "bogon"