Sabtu, 03 November 2018

How to solve warning AH00557: httpd: apr_sockaddr_info_get() failed for myserver-cloud

  Tidak ada komentar
Some day, when i config my apache server, i get the warning  AH00557: httpd: apr_sockaddr_info_get() failed for myserver-cloud, it's mean the htttpd cannot find the address of host myserver-cloud, it usually because we just change the server hostname without adding it to etc hosts file
[[email protected] httpd-2.4.36]# service httpd restart
Shutting down httpd:                                       [FAILED]
Starting httpd: 
...
...
AH00557: httpd: apr_sockaddr_info_get() failed for eperformance-cloud [  OK  ]
[[email protected] myserver-cloud httpd-2.4.36]# 
Open the hosts file, and add the new hostname with address loopback ip
[[email protected] httpd-2.4.36]# vi /etc/hosts
[[email protected] httpd-2.4.36]#
Restart the apache again
[[email protected] conf]# service httpd restart
Shutting down httpd:                                       [  OK  ]
Starting httpd: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
                                                           [  OK  ]
[[email protected] conf]#

Tidak ada komentar :

Posting Komentar