Wallpapers Forums Login

Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

When I tried to restart my apacher server, i kept getting this error:

Starting httpd: httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

 

 [root@myserver]# /etc/init.d/httpd restartStopping httpd:       [  OK  ]

Starting httpd:

httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName                                                           [  OK  ]

 

THIS IS HOW YOU FIX THIS:

send the follwing two command. You must know your hostname and your domain name for this to work. if you have both, go ahead....

 

echo HOST.DOMAIN.com > /etc/hostname 

HOST = Your host name

DOMAIN = Your Domain Name

 

 /bin/hostname -F /etc/hostname


after I restart my server again, I didnt get the error anymore

hope this helps. 

 

Wallpapers | Forums | Terms Of Service

copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Sat Apr 13, 2013 (-8 GMT)
Powered by: Webune Forums V5