ameimeng 发表于 2015-8-5 10:53:18

Apache不能启动: Unable to open logs

日志名称:          Application
来源:            Apache Service
日期:            2014/3/12 14:43:21
事件 ID:         3299
任务类别:          无
级别:            错误
关键字:         经典
用户:            暂缺
计算机:         USER-20140106PI
描述:
The Apache service namedreported the following error:
>>> Unable to open logs   .
事件 Xml:


   
    3299
    2
    0
    0x80000000000000
   
    28004
    Application
    USER-20140106PI
   


    The Apache service named
   
   
    reported the following error:
>>>
    Unable to open logs
   
   
   
   
   
   
   
   
   
   


  
  日志名称:          Application
来源:            Apache Service
日期:            2014/3/12 14:43:21
事件 ID:         3299
任务类别:          无
级别:            错误
关键字:         经典
用户:            暂缺
计算机:         USER-20140106PI
描述:
The Apache service namedreported the following error:
>>> no listening sockets available, shutting down   .
事件 Xml:


   
    3299
    2
    0
    0x80000000000000
   
    28003
    Application
    USER-20140106PI
   


    The Apache service named
   
   
    reported the following error:
>>>
    no listening sockets available, shutting down
   
   
   
   
   
   
   
   
   
   


  日志名称:          Application
来源:            Apache Service
日期:            2014/3/12 14:43:21
事件 ID:         3299
任务类别:          无
级别:            错误
关键字:         经典
用户:            暂缺
计算机:         USER-20140106PI
描述:
The Apache service namedreported the following error:
>>> (OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。: make_sock: could not bind to address 0.0.0.0:80   .
事件 Xml:


   
    3299
    2
    0
    0x80000000000000
   
    28002
    Application
    USER-20140106PI
   


    The Apache service named
   
   
    reported the following error:
>>>
    (OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。: make_sock: could not bind to address 0.0.0.0:80
   
   
   
   
   
   
   
   
   
   


  


很难从给出的信息中发现有用的东西,
让你不知道是哪出了问题,幸好通常你不会是第一个碰到这个问题的人,又幸好有度娘。

今天一开机,Apache就不能启动了,结果在Event Viewer中看到说: Unable to open logs
不知道是什么意思。

经过一番搜索,才知道,如果Apache默认的80端口被占用才会报这个错,

解决的办法很简单:
用netstat -ano查看Local Address中Listening 80的应用的PID, 去任务管理器中找到对应的进程,关闭此进程即可。

我这边发现的进程居然是一个叫skype的进程占了,也不知道它监听80端口干嘛,看起来有点古怪。
页: [1]
查看完整版本: Apache不能启动: Unable to open logs