---
title: "解决Apache服务器无法启动的问题"
author: "alexcheng"
date: "2010-06-17T12:57:40Z"
tags: []
categories: ["Web前端"]
slug: "apache"
draft: false
lastmod: "2010-06-17T12:57:40Z"
id: 692996
url: "https://woodstudio.iteye.com/blog/692996"
---

前几天重启了电脑之后，Apache服务器突然无法启动了，在日志里面看到了下面的出错信息：  
   
 \[crit] (OS 10022)An invalid argument was supplied.  : Child 6120: setup\_inherited\_listeners(), WSASocket failed to open the inherited socket.  
   
马上到Google搜索，发现了这是一个还比较常见的问题，原因可能是Windows底层的socket实现出现了问题。解决的方式非常简单，到微软网站上下载一个工具，修复winsock2就可以了。  
工具的链接是：  
[如何在 Windows Server 2003、Windows XP 和 Windows Vista 中确定 Winsock2 是否已损坏并从中恢复](http://support.microsoft.com/kb/811259)