如题,在上传SSL证书文件到服务器后,httpd.conf和ssl.conf文件已经安装步骤配置完成,但启动的时候报错:
Mar 29 15:56:59 iZ2zecl22jd19e23rxaqbhZ httpd[1176]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:443
Mar 29 15:56:59 iZ2zecl22jd19e23rxaqbhZ httpd[1176]: no listening sockets available, shutting down
Mar 29 15:56:59 iZ2zecl22jd19e23rxaqbhZ httpd[1176]: AH00015: Unable to open logs
Mar 29 15:56:59 iZ2zecl22jd19e23rxaqbhZ systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Mar 29 15:56:59 iZ2zecl22jd19e23rxaqbhZ kill[1177]: kill: cannot find process ""
Mar 29 15:56:59 iZ2zecl22jd19e23rxaqbhZ systemd[1]: httpd.service: control process exited, code=exited status=1
Mar 29 15:56:59 iZ2zecl22jd19e23rxaqbhZ systemd[1]: Failed to start The Apache HTTP Server.
Mar 29 15:56:59 iZ2zecl22jd19e23rxaqbhZ systemd[1]: Unit httpd.service entered failed state.
Mar 29 15:56:59 iZ2zecl22jd19e23rxaqbhZ systemd[1]: httpd.service failed.
我感觉问题应该出在
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:443
和
httpd[1176]: no listening sockets available, shutting down
这两句话上,所以想问问大家,哪里的设置出了问题?
不知道你这个问题是否已经解决, 如果还没有解决的话: