After installing httpd today, we have integrated apache2.2 and tomcat 7. When we restarted apache2.2, the following error occurs: [root @ hb86conf] # servicehttpdrestart stop httpd: [failed] Starting httpd: Couldnotreliablydeterminetheserversfullyqualifieddomainname, using113.240.75
InstallingHttpdAfter that, we made a look at apache2.2 andMcIntegration of at7;
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 qualifiEdDomain 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 ...... A difficult problem, but I don't know why.