作成
windows10 + apache + 起動エラー:アクセス許可で禁じられた方法でソケットにアクセスしようとしました。
###command C:¥Apache24¥bin>httpd.exe -k install ### をしてみたり ###command httpd -k start ### をすると ###command error Installing the 'Apache2.4' service The 'Apache2.4' service is successfully installed. Testing httpd.conf.... Errors reported here must be corrected before the service can be started. (OS 10013)アクセス許可で禁じられた方法でソケットにアクセスしようとしました。 : AH00072: make_sock: could not bind to address [::]:80 (OS 10013)アクセス許可で禁じられた方法でソケットにアクセスしようとしました。 : AH00072: make_sock: could not bind to address 0.0.0.0:80 AH00451: no listening sockets available, shutting down AH00015: Unable to open logs ### 80番ポートが謎に使用されているっぽい ###command netstat -oab ###command ret プロトコル ローカル アドレス 外部アドレス 状態 PID TCP 0.0.0.0:80 XXXX:0 LISTENING 4 所有者情報を取得できません TCP 0.0.0.0:135 XXXX:0 LISTENING 1464 RpcEptMapper [svchost.exe] TCP 0.0.0.0:445 XXXX:0 LISTENING 4 ###memo PID=4のアプリケーションが80ポートを使用 ###command tasklist ###command ret イメージ名 PID セッション名 セッション# メモリ使用量 ========================= ======== ================ =========== ============ System Idle Process 0 Services 0 8 K System 4 Services 0 5,196 K Secure System 104 Services 0 75,176 K Registry 176 Services 0 74,308 K smss.exe 796 Services 0 1,048 K ###command tasklist /svc /fi "PID eq 4" ### System が使用・・・ ###route - コントロールパネル - プログラムと機能 - 左側の「Windows の機能の有効化または無効化」 ### もし IIS や WorldWideWeb.. などにレ点が入ってるならトル ###center (img://18/302s) ###center (img://18/303s) ###title 結局原因は謎 ### なにか PID=4 の System がポート80を使っていて apache とバッティングしているらしい。一度再起動してみるか・・・ として、 http://localhost にアクセスしみたら・・・いけました ###center (img://18/304m)
wakatta 記法
投稿の仕方
基本的な記法
エンジニア向け記法
記法のサンプル
このコンテンツを見る