2014-06-06 42 views
0

我越來越差錯... 怎麼辦?Ubuntu的Apache重啓錯誤

* Restarting web server apache2            /usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted) 
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName 
/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted) 
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName 
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 
no listening sockets available, shutting down 
Unable to open logs 
Action 'start' failed. 
The Apache error log may have more information. 
+0

看看這個希望它會幫助你.. ** http://askubuntu.com/questions/256013/could-not-reliably-determine-the-servers-fully-qualified-domain-na我** – Wilson

回答

0

要解決此問題您需要設置ServerName。

VIM /etc/apache2/conf.d/name

例如設定添加本地主機服務器名或任何其他名稱:

服務器名本地主機

重啓Apache 2

服務阿帕奇重啓