When I start httpd service,I get a warning :
[wpfmb type=’warning’ theme=2]”Starting httpd: httpd: apr_sockaddr_info_get() failed for myservername, httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName”[/wpfmb]
This error is caused by the improper configuration of hostname of server,to fix it follow the steps below:
There are three methods for fixing, choose one as you preferred.
1- Edit Hosts File and add myservername declaration in the end of /etc/hosts :
2- Only edit httpd.conf :
3- Edit network :
4- Verify :