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

Apache不能启动: Unable to open logs的更多相关文章

  1. 【转】Windows10下80端口被PID为4的System占用导致Apache无法启动的分析与解决方案

    昨天刚更新了Windows10,总体上来说效果还是蛮不错的,然而今天在开启Apache服务器的时候却发现,Apache莫名其妙的打不开了,起初以为是权限的问题,于是使用管理员身份的控制台去调用命令ne ...

  2. linux下apache无法启动之(httpd not running, trying to st)

    这突然接手的服务器,本来是没什么事的,可是因为机房的问题,需要将服务器迁回来,结果可想而知,关机重启了,其中有一台估计诚心给我过不去,待配置好ip并重启了服务后,发现apache无法正常启动了! 先还 ...

  3. Win10下80端口被System占用导致Apache无法启动

    Windows10下80端口被PID为4的System占用导致Apache无法启动的分析与解决方案 方法/步骤     最近更新了Windows10,总体上来说效果还是蛮不错的,然而今天在开启Apac ...

  4. org.apache.jasper.JasperException: Unable to compile class for JSP

    项目启动时报错 : The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory S ...

  5. 80端口未占用,apache无法启动解决办法

    网上很多关于apache无法启动的原因,新手遇到最多的是80端口被占用. 今天为了解决apache和tomcat端口共存问题,修改了httpd.conf的配置,由于增加位置没有做明显标识,重启apac ...

  6. apache无法启动报错No space left on device

    apache无法启动报错No space left on device 故障现象:apache无法启动ipcs信号量很多 # service httpd startStarting httpd : [ ...

  7. zookeeper无法启动"Unable to load database on disk

    QuorumPeerMain,ResourceManager都没有起来 resourcemanager.log如下 2018-09-28 23:17:02,787 FATAL org.apache.h ...

  8. maven web报错:org.apache.jasper.JasperException: Unable to compile class for JSP

    原博文地址:https://blog.csdn.net/ken1583096683/article/details/80837281 maven web项目启动没问题,访问页面就报错:org.apac ...

  9. apache服务器启动时提示httpd: apr_sockaddr_info_get() failed for

    apache服务器启动时提示httpd: apr_sockaddr_info_get() failed for 在RedHat Linux 5 与 CentOS 5服务器上配置好apache后,启动或 ...

随机推荐

  1. HBase数据模型(1)

    HBase数据模型(1) HBase数据模型(2) 1.0 HBase的特性 Table HBase以表(Table)的方式组织数据,数据存储在表中. Row/Column 行(Row)和列(Colu ...

  2. Android tess_two Android图片文字识别

    文字识别一般都用的tesseract-ocr. GitHub:https://github.com/tesseract-ocr/tesseract 而Android对应的比较推荐的有个tess-two ...

  3. iOS NSDecimalNumber 使用

    在iOS开发中,经常遇到和货币价格计算相关的,这时就需要注意计算精度的问题.使用float类型运算,经常出现误差.为了解决这种问题我们使用NSDecimalNumber,下面将通过例子的形式给大家展示 ...

  4. SQL Server 2012安装配置(Part3 )

    SQL Server 2012安装配置(Part1 ) SQL Server 2012安装配置(Part2 ) SQL Server 2012安装配置(Part3 ) 3 客户端安装 3.1 安装客户 ...

  5. HDU 3652 B-number (数位DP,入门)

    题意: 如果一个整数能被13整除,且其含有子串13的,称为"B数",问[1,n]中有多少个B数? 思路: 这题不要用那个DFS的模板估计很快秒了. 状态设计为dp[位数][前缀][ ...

  6. UVA 674 Coin Change 硬币转换(完全背包,常规)

    题意:有5种硬币,个数无限的,组成n元的不同方案有多少种? 思路:常规完全背包.重点在dp[0]=1,dp[j]中记录的是组成 j 元的方案数.状态转移方程dp[j+coin[i]]+=dp[j]. ...

  7. Predicate Programming Guide

    https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/Predicates/AdditionalChap ...

  8. 如何使用TensorFlow Hub和代码示例

    任何深度学习框架,为了获得成功,必须提供一系列最先进的模型,以及在流行和广泛接受的数据集上训练的权重,即与训练模型. TensorFlow现在已经提出了一个更好的框架,称为TensorFlow Hub ...

  9. 面向对象OO第一单元三次作业总结

    (一)第一单元的作业围绕着多项式的求导,从简单到复杂,主要的要求是 作业一:只有两种格式的因子:带符号整数(+02)和幂函数(x^+02). 作业二:在作业一的基础上添加了:sin(x)和cos(x) ...

  10. 点击按钮在表格的某一行下,在添加一行(HTML+JS)

    使用js在指定的tr下添加一个新的一行newTr html代码: <table> <tr> <td>用户名:</td> <td><in ...