Apache SSL服务不能在443端口启动

Apache在启动SSL服务的时候报错如下:

[Sat Aug 16 01:41:47 2008] [notice] Parent: Received restart signal -- Restarting the server.
[Sat Aug 16 01:41:47 2008] [notice] Child 5288: Exit event signaled. Child process is ending.
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted.  : make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs
[Sat Aug 16 01:41:48 2008] [notice] Child 5288: Released the start mutex
[Sat Aug 16 01:41:49 2008] [notice] Child 5288: All worker threads have exited.
[Sat Aug 16 01:41:49 2008] [notice] Child 5288: Child process is exiting

意思是 make_sock: could not bind to address 0.0.0.0:443 no listening sockets available, 443端口不可用。

其可能性是IIS已经占用了443端口。关闭掉 IIS 下面的所有服务,包括Web,FTP,SMTP。

从这张图片可以看到,服务器的状态是运行,443端口已经被占用了。

关闭后再重新启动 Apache 就不会有这个错误提示了。

出现上面的情况的时候,需要检查 443 端口的占用情况。

这个情况多出现在在同一台机器中安装了多个 Web 服务的情况。