apr_sockaddr_info_get apache err
#Apache 启动报错,但不影响使用#/etc/init.d/httpd restart
Stopping httpd:
Starting httpd: httpd: apr_sockaddr_info_get() failed for ns.jshlx.com
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
#解决方法,增加你的主机名记录到hosts文件
#vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost ns.jshlx.com
#/etc/init.d/httpd restart
Stopping httpd:
Starting httpd:
页:
[1]