service httpd restart 问题,Temporary failure in name resolution: Failed to resolve server name solution
service httpd restart 问题,Temporary failure in name resolution: Failed to resolve server name solution
problem:Starting httpd: [Wed Jul 25 16:09:56 2012] [error] (WHAT'S UP 3)Temporary failure in name resolution: Failed to resolve server name for 192.168.1.2 (check DNS) — or specify an explicit ServerName
This is generally vps or above server has multiple ip caused,Solutions are as follows:
In the / etc / hosts and add the following:
192.168.1.2 localhost
192.168.1.3 localhost if more can be added