Apache不能启动: Unable to open logs

日志名称:          Application
来源:            Apache Service
日期:            2014/3/12 14:43:21
事件 ID:         3299
任务类别:          无
级别:            错误
关键字:           经典
用户:            暂缺
计算机:           USER-20140106PI
描述:
The Apache service named  reported the following error:
>>> Unable to open logs     .
事件 Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Apache Service" />
    <EventID Qualifiers="0">3299</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-03-12T06:43:21.000000000Z" />
    <EventRecordID>28004</EventRecordID>
    <Channel>Application</Channel>
    <Computer>USER-20140106PI</Computer>
    <Security />
  </System>
  <EventData>
    <Data>The Apache service named</Data>
    <Data>
    </Data>
    <Data>reported the following error:
&gt;&gt;&gt;</Data>
    <Data>Unable to open logs</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>

 

日志名称:          Application
来源:            Apache Service
日期:            2014/3/12 14:43:21
事件 ID:         3299
任务类别:          无
级别:            错误
关键字:           经典
用户:            暂缺
计算机:           USER-20140106PI
描述:
The Apache service named  reported the following error:
>>> no listening sockets available, shutting down     .
事件 Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Apache Service" />
    <EventID Qualifiers="0">3299</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-03-12T06:43:21.000000000Z" />
    <EventRecordID>28003</EventRecordID>
    <Channel>Application</Channel>
    <Computer>USER-20140106PI</Computer>
    <Security />
  </System>
  <EventData>
    <Data>The Apache service named</Data>
    <Data>
    </Data>
    <Data>reported the following error:
&gt;&gt;&gt;</Data>
    <Data>no listening sockets available, shutting down</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>

日志名称:          Application
来源:            Apache Service
日期:            2014/3/12 14:43:21
事件 ID:         3299
任务类别:          无
级别:            错误
关键字:           经典
用户:            暂缺
计算机:           USER-20140106PI
描述:
The Apache service named  reported the following error:
>>> (OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。  : make_sock: could not bind to address 0.0.0.0:80     .
事件 Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Apache Service" />
    <EventID Qualifiers="0">3299</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-03-12T06:43:21.000000000Z" />
    <EventRecordID>28002</EventRecordID>
    <Channel>Application</Channel>
    <Computer>USER-20140106PI</Computer>
    <Security />
  </System>
  <EventData>
    <Data>The Apache service named</Data>
    <Data>
    </Data>
    <Data>reported the following error:
&gt;&gt;&gt;</Data>
    <Data>(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。  : make_sock: could not bind to address 0.0.0.0:80</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>

 

很难从给出的信息中发现有用的东西,
让你不知道是哪出了问题,幸好通常你不会是第一个碰到这个问题的人,又幸好有度娘。
 
今天一开机,Apache就不能启动了,结果在Event Viewer中看到说: Unable to open logs
不知道是什么意思。
 
经过一番搜索,才知道,如果Apache默认的80端口被占用才会报这个错,
 
解决的办法很简单:
用netstat -ano查看Local Address中Listening 80的应用的PID, 去任务管理器中找到对应的进程,关闭此进程即可。
 
我这边发现的进程居然是一个叫skype的进程占了,也不知道它监听80端口干嘛,看起来有点古怪。

转载于:https://www.cnblogs.com/BTMaster/p/3596364.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值