工作经验 部署阿帕奇的时候出现 Starting httpd: httpd: apr_sockaddr_info_get() failed for server1 httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

service httpd restart

Starting httpd: httpd: apr_sockaddr_info_get() failed for server1 httpd: Could not reliably determine the server‘s fully qualified domain name, using 127.0.0.1 for ServerName

出现这种原因是因为  httpd.config  的 配置文件出现错

应该把 ServerName  这行改为

ServerName localhost:80

即可排除故障

工作经验 部署阿帕奇的时候出现 Starting httpd: httpd: apr_sockaddr_info_get() failed for server1 httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

时间: 2024-10-28 19:38:25

工作经验 部署阿帕奇的时候出现 Starting httpd: httpd: apr_sockaddr_info_get() failed for server1 httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName的相关文章

重启Apache报错apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting的解决方法

启动apache提示 : apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName (1)

Apache HTTP Server 2.2.25执行Test Configuration时报错(Could not reliably determine the server's fully qualified domain name, using 192.168.0.103 for ServerName)

以httpd-2.2.25-win32-x86-openssl-0.9.8y.msi为例. Apache HTTP Server 2.2.25执行Test Configuration时,实际上是直接运行了httpd.exe C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin>httpd.exehttpd.exe: Could not reliably determine the server's fully qualif

解决apache启动错误:httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

启动apache遇到提示: [[email protected] conf]# ../bin/apachectl -thttpd: apr_sockaddr_info_get() failed for bqh-119httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerNameSyntax OK[[email protected] conf]#

Starting httpd:Could not reliably determine the server's fully qualified domain name

#service httpd start #Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.1.123 for ServerName 解决办法:vi /etc/httpd/conf/httpd.conf   加入一句  ServerName  localhost:80 Starting httpd:Could not reliab

Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name

启动apache的时候,报告以下消息提示: Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name 修改方法: vi /etc/httpd/conf/httpd.conf #添加以下内容 ServerName localhost:80 Starting httpd: httpd: Could not reliably determine the server's fu

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

问题原因: httpd服务配置文件,并没有设置解析根地址,无法可靠地确定服务器的完全合格的域名 如何解决? httpd的配置文件放在 /etc/httpd/conf/目录下,去掉ServerName注释,并把www.example.com:80替换成 127.0.0.1:80 cat httpd.conf |grep 'ServerName' # 查询域名设置 sed '[email protected]#ServerName www.example.com:[email protected]

linux下apache启动问题(dummy-host.example.com does not exist, Could not..127.0.0.1 for ServerName)

一.Apache常见的启动错误及解决方法. 1.在配置虚拟主机时apache启动错误解决办法: Warning: DocumentRoot [/application/apache2.2.27/docs/dummy-host.example.com] does not exist 其实出现这个错误的主要原因报错已近很明显了,是你的httpd-vhosts.conf中多了一个如下配置: <VirtualHost *:80>    ServerAdmin [email protected]   

Java后端程序员1年工作经验总结

java后端1年经验和技术总结(1) 1.引言 毕业已经一年有余,这一年里特别感谢技术管理人员的器重,以及同事的帮忙,学到了不少东西.这一年里走过一些弯路,也碰到一些难题,也受到过做为一名开发却经常为系统维护和发布当救火队员的苦恼.遂决定梳理一下自己所学的东西,为大家分享一下. 经过一年意识到以前也有很多认识误区,比如: 偏爱收集,经常收集各种资料视频塞满一个个硬盘,然后心满意足的看着容量不行动. 不重基础,总觉得很多基础东西不需要再看了,其实不懂的地方很多,计算机程序方面任何一个结果都必有原因

面试题:3年工作经验 !=!=未看

此内容偏中高级,适合有三年经验者. 1.       java中wait和sleep有什么区别?多线程条件下如何保证数据安全? 答:最大区别是等待时wait会释放锁,而sleep会一直持有锁,wait通常用于线程时交,互,sleep通常被用于暂停执行. 2.       java中volatile和synchronized有什么区别? 1.volatile本质是在告诉jvm当前变量在寄存器(工作内存)中的值是不确定的,需要从主存中读取:synchronized则是锁定当前变量,只有当前线程可以访