i had to change my hostname and now im getting this error:
Starting httpd: httpd: apr_sockaddr_info_get() failed for hostname.domain.com
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
i got this dedicated linux server and i was making a few changes on my ssh linux shell and i think i screw it up, any help you can give me on how to fix this error?
Comments and replies About Starting Httpd: Httpd: Apr_sockaddr_info_get() Failed For
looks like your hostname is screwed up. fix with these commands
HOSTNAME.DOMAIN.COM = your hostname and domain name
hostname HOSTNAME.DOMAIN.COM
nano /etc/hosts
if your HOSTNAME.DOMAIN.COM is not corrrect, change it and save the changes
echo HOST.DOMAIN.com > /etc/hostname
/bin/hostname -F /etc/hostname
/etc/init.d/httpd restart
if you need more help, go to this post:
http://www.wallpaperama.com/forums/how-to-fix-could-not-determine-the-servers-fully-qualified-domain-name-t23.html