[笔记]解决Ubuntu Apache重启的错误

重启Apache出现来错误:
 ... waiting [Mon May 14 11:33:49 2012] [warn] module status_module is already loaded, skipping
apache2: Could not reliably determine the server's fully qualified domain name, using 10.0.11.119 for ServerName

解决办法
网上搜索后大家都说是修改httpd.conf文件,把其中到#ServerName的注释去掉即可

但是按照他们说到路径在Ubuntu中没有找到httpd.conf文件,在/etc/apache2才发现httpd.conf

ServerName 127.0.0.1:80加入httpd.conf保存,sudo /etc/init.d/apache2 restart,成功。

 

原文地址:https://www.cnblogs.com/lizhishugen/p/2776468.html