日志名称:          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端口干嘛,看起来有点古怪。

最新文章

  1. oc集合
  2. ACM 阶乘之和
  3. linux sed命令参数及用法详解
  4. Tomcat启动时自动加载一个类
  5. jQuery添加删除元素
  6. ssh公钥免密码登录
  7. 1 Two Sum(找和为target的两个数字下标Medium)
  8. WPF ICommand 用法
  9. 京香julia_百度百科
  10. node-fs文件系统模块
  11. 第九届蓝桥杯C/C++B组省赛感想
  12. window端编码到Linux允许脚本 笔记
  13. bootstrap boosting bagging辨析
  14. JVM—内存溢出、OutOfMemoryError、StackOverflowError
  15. java设计模式-Iterator
  16. [C语言]使用函数
  17. 完爆Facebook/GraphQL,APIJSON全方位对比解析(三)-表关联查询
  18. AOP面向切面的基石——动态代理(一)
  19. 利用Instrument Leak来发现App中的内存泄露
  20. android视图概述

热门文章

  1. AngularJS中最重要的核心功能
  2. 【复习笔记】CSS基础
  3. Linux下环境搭建(四)——jenkins+gitlab+jmeter实践
  4. ArcGIS for Server内置JS Viewer的离线部署和配置
  5. 1.2 the structure of a compiler
  6. 实现memcopy函数
  7. centos上手动安装最新版本ELK
  8. UESTC 1307 WINDY数 (数位DP,基础)
  9. 洛谷 P2598 [ZJOI2009]狼和羊的故事
  10. codeforces Gym 100286H Hell on the Markets