Starting httpd: httpd: apr_sockaddr_info_get() failed for HOSTNAME
scottalanmiller last edited by
Here is an error that comes up from time to time. Normally you will see this on the console and not see any issues as it is only an error and not a show stopper. But if you see it, chances are you are lacking an entry for the HOSTNAME displayed in the error. You could add this to DNS but that would require a DNS lookup for your local HOSTNAME. Better to add the hostname into the /etc/hosts file.
Not only will this stop an error from occurring, it will speed up your Apache restarts as well!