After installing httpd today, we have integrated apache2.2 and tomcat 7;
When you restart apache2.2, the following error occurs:
[Root @ hb86 conf] # service httpd restart stop httpd: [failed] Starting httpd: cocould not reliably determine the server's fully qualified domain name, using 113.240.75.210 for servername
I have found a lot of information on the Internet and found that I want to change it to apachd_home/CONF/httpd. conf. Remove the # number before servername (remove the comment)
But I tried it, and I couldn't. I tried many methods on the Internet;
The prompt is the same.
I thought that the configuration files are generally in the etc directory. I tried to find them and found/etc/httpd/CONF/httpd. conf, there is also an httpd configuration file, which is opened in a different directory than the Apache directory under the installation directory, but the servername option can be found, so the # In Front Of servername is also removed, change to your own IP Address: servername 192.168.124.132: 80;
Restart httpd: Service httpd restart;
I don't think it's wrong. Haha ......
Solved ...... I have a hard problem, but I don't know why. Do you have any experts?