国产欧美日韩第一页|日本一二三不卡视频|在线精品小视频,亚洲第一免费播放区,metcn人体亚洲一区,亚洲精品午夜视频

幫助中心 >  技術(shù)知識(shí)庫 >  網(wǎng)站相關(guān) >  網(wǎng)站運(yùn)營 >  linux系統(tǒng)下Apache服務(wù)啟動(dòng)時(shí)報(bào)錯(cuò)情況處理

linux系統(tǒng)下Apache服務(wù)啟動(dòng)時(shí)報(bào)錯(cuò)情況處理

2015-11-02 14:06:22 10442

當(dāng)我們在安裝好Apache重啟后,在終端啟動(dòng)Apache服務(wù)時(shí)候出現(xiàn)下面報(bào)錯(cuò):

錯(cuò)誤代碼:

httpd:httpd:Could not reliably determine the servers fully qualified domain name, using localhost.localdomain for ServerName

(13)Permission denied: make_sock; could not bind to address [::]:80
(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                         [失敗]

錯(cuò)誤原因一:可能存在httpd.conf的配置文件中,找到“ServerName localhost:80”這里,把這段前面的#號(hào)刪除。

(#號(hào)在配置文件中表示注釋的意思)

錯(cuò)誤原因二:用戶權(quán)限的問題,查看當(dāng)前是否是root用戶,因?yàn)樾∮?024的端口只能是root占用。

切換至root用戶?;蛘吒亩丝谌?000.



提交成功!非常感謝您的反饋,我們會(huì)繼續(xù)努力做到更好!

這條文檔是否有幫助解決問題?

非常抱歉未能幫助到您。為了給您提供更好的服務(wù),我們很需要您進(jìn)一步的反饋信息:

在文檔使用中是否遇到以下問題: