Erro ao subir o apache [RESOLVIDO]

1. Erro ao subir o apache [RESOLVIDO]

Lucas Farias Piasentin
shtr

(usa Ubuntu)

Enviado em 06/12/2019 - 19:59h

Boa noite, estou com problema ao subir o servidor do apache, já li mais de 30 artigos, em inglês, português e mesmo assim não consegui solucionar o problema.
Se alguém conseguir me ajudar, por favor, segue os prints:

sudo service apache2 start
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.


systemctl status apache2.service
apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since Fri 2019-12-06 19:55:44 -03; 49s ago
Process: 7556 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

dez 06 19:55:44 Lucas apachectl[7556]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.
dez 06 19:55:44 Lucas apachectl[7556]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
dez 06 19:55:44 Lucas apachectl[7556]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
dez 06 19:55:44 Lucas apachectl[7556]: no listening sockets available, shutting down
dez 06 19:55:44 Lucas apachectl[7556]: AH00015: Unable to open logs
dez 06 19:55:44 Lucas apachectl[7556]: Action 'start' failed.
dez 06 19:55:44 Lucas apachectl[7556]: The Apache error log may have more information.
dez 06 19:55:44 Lucas systemd[1]: apache2.service: Control process exited, code=exited status=1
dez 06 19:55:44 Lucas systemd[1]: apache2.service: Failed with result 'exit-code'.
dez 06 19:55:44 Lucas systemd[1]: Failed to start The Apache HTTP Server.


journalctl -xe
dez 06 19:55:44 Lucas apachectl[7556]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
dez 06 19:55:44 Lucas apachectl[7556]: no listening sockets available, shutting down
dez 06 19:55:44 Lucas apachectl[7556]: AH00015: Unable to open logs
dez 06 19:55:44 Lucas apachectl[7556]: Action 'start' failed.
dez 06 19:55:44 Lucas apachectl[7556]: The Apache error log may have more information.
dez 06 19:55:44 Lucas systemd[1]: apache2.service: Control process exited, code=exited status=1
dez 06 19:55:44 Lucas systemd[1]: apache2.service: Failed with result 'exit-code'.
dez 06 19:55:44 Lucas systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit apache2.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit apache2.service has failed.
--
-- The result is RESULT.
dez 06 19:55:44 Lucas sudo[7529]: pam_unix(sudo:session): session closed for user root
dez 06 19:55:50 Lucas start.sh[896]: 2019-12-06 19:55:50,049: DEBUG helpers.updater updating status to: none
dez 06 19:56:00 Lucas start.sh[896]: 2019-12-06 19:56:00,057: DEBUG helpers.updater updating status to: none
dez 06 19:56:05 Lucas start.sh[896]: 2019-12-06 19:56:05,067: DEBUG helpers.application.health RAM: 51MB
dez 06 19:56:10 Lucas start.sh[896]: 2019-12-06 19:56:10,068: DEBUG helpers.updater updating status to: none
dez 06 19:56:20 Lucas start.sh[896]: 2019-12-06 19:56:20,076: DEBUG helpers.updater updating status to: none
dez 06 19:56:30 Lucas start.sh[896]: 2019-12-06 19:56:30,085: DEBUG helpers.updater updating status to: none
dez 06 19:56:35 Lucas start.sh[896]: 2019-12-06 19:56:35,093: DEBUG helpers.application.health RAM: 51MB
dez 06 19:56:40 Lucas start.sh[896]: 2019-12-06 19:56:40,095: DEBUG helpers.updater updating status to: none
dez 06 19:56:50 Lucas start.sh[896]: 2019-12-06 19:56:50,105: DEBUG helpers.updater updating status to: none
dez 06 19:57:00 Lucas start.sh[896]: 2019-12-06 19:57:00,114: DEBUG helpers.updater updating status to: none
dez 06 19:57:05 Lucas start.sh[896]: 2019-12-06 19:57:05,121: DEBUG helpers.application.health RAM: 51MB
dez 06 19:57:10 Lucas start.sh[896]: 2019-12-06 19:57:10,122: DEBUG helpers.updater updating status to: none
dez 06 19:57:20 Lucas start.sh[896]: 2019-12-06 19:57:20,130: DEBUG helpers.updater updating status to: none
dez 06 19:57:30 Lucas start.sh[896]: 2019-12-06 19:57:30,141: DEBUG helpers.updater updating status to: none
dez 06 19:57:35 Lucas start.sh[896]: 2019-12-06 19:57:35,148: DEBUG helpers.application.health RAM: 51MB
dez 06 19:57:40 Lucas start.sh[896]: 2019-12-06 19:57:40,150: DEBUG helpers.updater updating status to: none
dez 06 19:57:50 Lucas start.sh[896]: 2019-12-06 19:57:50,158: DEBUG helpers.updater updating status to: none
dez 06 19:58:00 Lucas start.sh[896]: 2019-12-06 19:58:00,166: DEBUG helpers.updater updating status to: none



Por favor, alguém poderia me ajudar? Não aguento mais este problema.
Desde Já obrigado!!!




  


2. Erro ao subir o apache [RESOLVIDO]

Lucas Farias Piasentin
shtr

(usa Ubuntu)

Enviado em 06/12/2019 - 20:23h

Consegui revolver o problema setando a porta 83 no lugar da 80.

Mudei nos arquivos de ports e 000.default






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner
Linux banner
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts