How to fix “Could not reliably determine the server’s fully qualified domain name” when starting apache httpd service ?
[[email protected] ~]# service httpd start Starting httpd: httpd: apr_sockaddr_info_get() failed for centos64.ehowstuff.local httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [ OK ]
Update /etc/hosts and do server’s ip address resolvable to the fully qualified domain name(fqdn) or hostname.
[[email protected] ~]# vi /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.2.62 centos64.ehowstuff.local
Restart apache httpd service :
[[email protected] ~]# service httpd restart Stopping httpd: [ OK ] Starting httpd: [ OK ]
Like this Article? Subscribe to Our Feed!
This article was posted on Saturday, March 16, 2013 at 4:29 PM