#Apache重启报错原因
[root@node1 /]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: httpd: apr_sockaddr_info_get() failed for www.example.com
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
                                                           [  OK  ]
#编译主配置文件
[root@node1 /]# vi /etc/httpd/conf/httpd.conf
ServerName node1.example.com:80							   #取消注释
[root@node1 /]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]