Apache:地址已被使用

Apache:地址已被使用

每次我尝试在 Google VPS 上的 CentOS 7 上启动 httpd 时,总会出现以下消息。你能帮助我吗?

● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2019-09-08 13:12:27 UTC; 1min 21s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 2019 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 2018 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 2018 (code=exited, status=1/FAILURE)
Sep 08 13:12:27 centos-web systemd[1]: Starting The Apache HTTP Server…
Sep 08 13:12:27 centos-web httpd[2018]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:443
Sep 08 13:12:27 centos-web systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Sep 08 13:12:27 centos-web kill[2019]: kill: cannot find process ""
Sep 08 13:12:27 centos-web systemd[1]: httpd.service: control process exited, code=exited status=1
Sep 08 13:12:27 centos-web systemd[1]: Failed to start The Apache HTTP Server.
Sep 08 13:12:27 centos-web systemd[1]: Unit httpd.service entered failed state.
Sep 08 13:12:27 centos-web systemd[1]: httpd.service failed.

答案1

端口 443 上已有一个服务器在运行。请检查您正在运行的其他服务(例如nginx)。

相关内容