我是服務器和Apache的新手。我試圖建立一個Apache 2.4服務器學習PHP和MySQL上。我遵循的安裝apache的文檔以及蒞臨指導http://php.net/manual/en/install.unix.apache2.phpApache2服務器無法啓動
現在,當我運行「服務的Apache2啓動」我得到這個錯誤:
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
*
* The apache2 instance did not start within 20 seconds. Please read the log files to discover problems
在這裏,我做了「桌面@臺式電腦: 〜$ sudo netstat -tulpn | grep的:80' 和結果如下:
[sudo] password for desktop:
tcp6 0 0 :::80 :::* LISTEN 19493/httpd
[email protected]:~$
對我來說,這看起來好像沒什麼用端口80。我根本不明白端口或這個錯誤太清楚了。我瀏覽了互聯網,但我不明白解決方案或無法實現。
我感謝您提供任何幫助。如果需要更多信息,我會盡我所能提供。另外我在Ubuntu 12.04上。 謝謝。
使用'sudo service apache2 status'。 – hjpotter92
格式化的代碼和消息。 – Prune