Error restarting apache

0

I have a centos 7 server with do domains one for gitlab and a second one that I use with apache. Everything works correctly until I enable https for both domains. As of this moment, apache does not start if I have the gitlab server enabled.

-I get the following when executing journalctl -xe:

-- Unit httpd.service has begun starting up.
sep 24 13:41:04 centOS httpd[9397]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
sep 24 13:41:04 centOS httpd[9397]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
sep 24 13:41:04 centOS httpd[9397]: no listening sockets available, shutting down
sep 24 13:41:04 centOS httpd[9397]: AH00015: Unable to open logs
sep 24 13:41:04 centOS systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
sep 24 13:41:04 centOS kill[9400]: kill: cannot find process ""
sep 24 13:41:04 centOS systemd[1]: httpd.service: control process exited, code=exited status=1
sep 24 13:41:04 centOS systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has failed.
--
-- The result is failed.
sep 24 13:41:04 centOS systemd[1]: Unit httpd.service entered failed state.
sep 24 13:41:04 centOS systemd[1]: httpd.service failed.
sep 24 13:41:04 centOS polkitd[488]: Unregistered Authentication Agent for unix-process:9391:222460 (system bus name :1.101, object path /org/freedesktop/PolicyKit1/Authentica
    
asked by Manuel Rando 24.09.2018 в 13:48
source

0 answers