apache設定問題 - Linux

Table of Contents

※ 引述《s66449 (閒泡菜)》之銘言:
: 因為我發現localhost網頁出現了錯誤訊息
: Forbidden
: You don't have permission to access / on this server.
: 我就去httpd.conf去修改了些設定
: 但不知道是不是誤設了什麼
: 我打上apachectl restart之後 出現
: httpd not running, trying to start
: (98)Address already in use: make_sock: could not bind to address [::]:80
: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
: no listening sockets available, shutting down
: Unable to open logs
: 請問是怎麼了嗎??
我覺得是你有甚麼程式把port 80吃住了

你試著跑跑看
#root> netstat -tnlp

看看是甚麼程式...

--
▂▃▂ ψ域
▉▉█ ▂▂▂▂▂▂▂
▂ ▂ ◣東方project系列
 ̄ ̄ ̄ ̄ ̄ ̄ ̄
/▂▂▂▂▂ 魂 魄 妖 夢 PTT東方板 Touhou
▆▆▆▆▇  ̄ ̄ ̄ ̄ ̄ ̄ ̄

--

All Comments

Daph Bay avatarDaph Bay2010-04-15
其實我猜是本來的apache還在.. 但是restart的時候沒成功停掉~
Connor avatarConnor2010-04-18
是1983/httpd @@"
Christine avatarChristine2010-04-21
那...把他kill掉再重開apache應該就可以動了...吧
Susan avatarSusan2010-04-23
我打ps -e | grep 'httpd' 找到之後再殺掉還是沒用欸
Tracy avatarTracy2010-04-28
我找到PID1983 打kill -9 1983 再restart錯誤訊息還是在
Queena avatarQueena2010-05-03
疑?!這檔案是不是不能kill啊...我用pietty連線失敗...
Dinah avatarDinah2010-05-04
檔案??? kill是終止執行緒的丸意吧....
Rachel avatarRachel2010-05-08
沒注意到字義~~
Yuri avatarYuri2010-05-08
kill完要start not restart