apache 重启服务报错

1901阅读 0评论2011-10-28 alanland
分类:LINUX

重启服务报错;
  1. sudo /etc/init.d/apache2 restart
  2. [sudo] password for wangchengyi:
  3. * Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
  4. ... waiting .apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
  5. [ OK ]
在 httpd.conf 中加入
  1. ServerName localhost
就好了
  1. sudo /etc/init.d/apache2 restart
  2. * Restarting web server apache2 ... waiting .

上一篇:aptana3 jquery 提示
下一篇:Expected </Directory/home/wangchengyi/www/> but saw </Directory>