我试图安装在我的Windows下的Apache 2.4运行7系统我去到Apache 2.4 bin目录,运行以下:注:我打开cmd窗口为管理员。 C:\ Apache24 \ BIN> httpd.exe -k安装
它的输出结果如下:
Installing the Apache2.4 service
The Apache2.4 service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
(OS 10013)An attempt was made to access a socket in a way forbidden by its acces
s permissions. : AH00072: make_sock: could not bind to address [::]:80
(OS 10013)An attempt was made to access a socket in a way forbidden by its acces
s permissions. : AH00072: make_sock: could not bind to address 0.0.0.0:80
AH00451: no listening sockets available, shutting down
AH00015: Unable to open log
因此,安装了Apache 2.4的服务,但它无法启动。 这似乎是正在使用本地主机端口80。 这是什么“[:]:80”是指?
然后我停止这两个我已经离开运行和mysql服务,希望能阻止他们的一个可能腾出本地主机端口80的基于Apache 2.0的服务。
我也运行netstat -o看是否正在使用端口80。 它不是。
但是,我再发现的过程中使用上述插座这是上面的插座上听的过程
TCP [::]:80 User-PC:0 LISTENING 4
然后我跑任务列表,发现该系统是采用pid 4. 4是PID列下
System 4 Services 0 544 K
最后,从失败的尝试启动服务我被记录在Windows系统中的事件错误。
Log Name: System
Source: Service Control Manager
Date: 2/21/2013 1:58:03 PM
Event ID: 7024
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: User-PC
Description:
The Apache2.4 service terminated with service-specific error Incorrect function.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
<EventID Qualifiers="49152">7024</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2013-02-21T18:58:03.723988900Z" />
<EventRecordID>87756</EventRecordID>
<Correlation />
<Execution ProcessID="560" ThreadID="7596" />
<Channel>System</Channel>
<Computer>User-PC</Computer>
<Security />
</System>
<EventData>
<Data Name="param1">Apache2.4</Data>
<Data Name="param2">%%1</Data>
</EventData>
</Event>
从尝试启动错误说,东阳的缺乏,补充袜子无法绑定到插座这对我看起来像本地主机端口80。例如,
(OS 10013)An attempt was made to access a socket in a way forbidden by its acces
s permissions. : AH00072: make_sock: could not bind to address [::]:80
谁能告诉我在做什么错?