D:\Apache24\bin>httpd -k install
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 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 : AH00072: make_sock: could not bind to address [::]:443
(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 : AH00072: make_sock: could not bind to address 0.0.0.0:443
AH00451: no listening sockets available, shutting down
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 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 : AH00072: make_sock: could not bind to address [::]:443
(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 : AH00072: make_sock: could not bind to address 0.0.0.0:443
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs
解决:
D:\Apache24\bin>httpd -k uninstall
执行后
找到D:\Apache24\conf\extra
下面的
httpd-ahssl.conf和httpd-ssl.conf,有443的地方改为442就可以了。
转自:http://blog.youkuaiyun.com/kunga0814/article/details/53495005
本文介绍了在安装Apache2.4服务过程中遇到的错误及其解决办法。主要问题是由于443端口被占用导致的服务无法启动,通过卸载服务并修改配置文件中的端口号为442来解决问题。
656

被折叠的 条评论
为什么被折叠?



