0
1

Ciao a tutti, io possiedo una VPS dove c'è installato Ubuntu 18.04, il problema è che quando faccio

sudo apt-get install apache2

lo installa e poi viene fuori una schermata con un'errore di avvio di apache:

Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details. invoke-rc.d: initscript apache2, action "start" failed. ● 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 Mon 2020-06-08 16:16:52 CEST; 14ms ago Process: 8129 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE) Jun 08 16:16:52 vmi374478.contaboserver.net systemd[1]: Starting The Apache HTTP Server... Jun 08 16:16:52 vmi374478.contaboserver.net apachectl[8129]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 Jun 08 16:16:52 vmi374478.contaboserver.net apachectl[8129]: no listening sockets available, shutting down Jun 08 16:16:52 vmi374478.contaboserver.net apachectl[8129]: AH00015: Unable to open logs Jun 08 16:16:52 vmi374478.contaboserver.net apachectl[8129]: Action 'start' failed. Jun 08 16:16:52 vmi374478.contaboserver.net apachectl[8129]: The Apache error log may have more information. Jun 08 16:16:52 vmi374478.contaboserver.net systemd[1]: apache2.service: Control process exited, code=exited status=1 Jun 08 16:16:52 vmi374478.contaboserver.net systemd[1]: apache2.service: Failed with result 'exit-code'. Jun 08 16:16:52 vmi374478.contaboserver.net systemd[1]: Failed to start The Apache HTTP Server. Processing triggers for systemd (237-3ubuntu10.41) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for ufw (0.36-0ubuntu0.18.04.1) ... Rules updated for profile 'Apache' Rules updated for profile 'Apache Full' Processing triggers for ureadahead (0.100.0-21) ...

Quando in seguito faccio service apache2 start Viene fuori questo: Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.

Qualcuno può aiutarmi?

Questa domanda è segnata come "wiki".

chiesto 08 Jun, 16:30

989849q49jda9's gravatar image

989849q49jda9
1012

e che dice:

systemctl status apache2

(08 Jun, 17:00) sacarde sacarde's gravatar image

E quindi? Non sono molto pratico

coll. permanente

ha risposto 08 Jun, 18:43

989849q49jda9's gravatar image

989849q49jda9
1012

cosa vedi eseguendo il comando: systemctl status apache2

p.s. https://wiki.ubuntu-it.org/Server/Apache

(08 Jun, 20:34) sacarde sacarde's gravatar image

:~# systemctl status apache2 ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: Drop-In: /lib/systemd/system/apache2.service.d └─apache2-systemd.conf Active: failed (Result: exit-code) since Mon 2020-06-08 16:21:55 CEST; 4h 26m Process: 8448 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILU

Jun 08 16:21:55 vmi374478.contaboserver.net systemd[1]: Starting The Apache HTTP Jun 08 16:21:55 vmi374478.contaboserver.net apachectl[8448]: (98)Address already Jun 08 16:21:55 vmi374478.contaboserver.net apachectl[8448]: no listening socket Jun 08 16:21:55 vmi374478.contaboserver.net apachectl[8448]: AH00015: Unable to Jun 08 16:21:55 vmi374478.contaboserver.net apachectl[8448]: Action 'start' fail Jun 08 16:21:55 vmi374478.contaboserver.net apachectl[8448]: The Apache error lo Jun 08 16:21:55 vmi374478.contaboserver.net systemd[1]: apache2.service: Control Jun 08 16:21:55 vmi374478.contaboserver.net systemd[1]: apache2.service: Failed Jun 08 16:21:55 vmi374478.contaboserver.net systemd[1]: Failed to start The Apac lines 1-16/16 (END)

coll. permanente
Questa risposta è segnata come "wiki".

ha risposto 08 Jun, 20:54

989849q49jda9's gravatar image

989849q49jda9
1012

  • per vedere i log:

less /var/log/apache2/error.log

vedi errori?

  • systemctl status -l apache2
(08 Jun, 21:53) sacarde sacarde's gravatar image

Niente errori vedo nell'error.log

(09 Jun, 10:20) 989849q49jda9 989849q49jda9's gravatar image

neanche da qui?

systemctl status -l apache2

journalctl -b -p err

(09 Jun, 11:09) sacarde sacarde's gravatar image

Viene Fuori Questo:

systemctl status -l apache2

● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: Drop-In: /lib/systemd/system/apache2.service.d └─apache2-systemd.conf Active: failed (Result: exit-code) since Tue 2020-06-09 11:46:50 CEST; 49s ag Process: 32317 ExecStop=/usr/sbin/apachectl stop (code=exited, status=0/SUCCES Process: 32338 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAIL Main PID: 30904 (code=exited, status=0/SUCCESS)

Jun 09 11:46:50 vmi374478.contaboserver.net systemd[1]: Starting The Apache HTTP Jun 09 11:46:50 vmi374478.contaboserver.net apachectl[32338]: (98)Address alread Jun 09 11:46:50 vmi374478.contaboserver.net apachectl[32338]: no listening socke Jun 09 11:46:50 vmi374478.contaboserver.net apachectl[32338]: AH00015: Unable to Jun 09 11:46:50 vmi374478.contaboserver.net apachectl[32338]: Action 'start' fai Jun 09 11:46:50 vmi374478.contaboserver.net apachectl[32338]: The Apache error l Jun 09 11:46:50 vmi374478.contaboserver.net systemd[1]: apache2.service: Control Jun 09 11:46:50 vmi374478.contaboserver.net systemd[1]: apache2.service: Failed Jun 09 11:46:50 vmi374478.contaboserver.net systemd[1]: Failed to start The Apac lines 1-18/18 (END)

coll. permanente
Questa risposta è segnata come "wiki".

ha risposto 09 Jun, 11:48

989849q49jda9's gravatar image

989849q49jda9
1012

Invece:

journalctl -b -p err

-- Logs begin at Sun 2020-05-31 11:08:34 CEST, end at Tue 2020-06-09 11:48:48 CE Jun 08 14:08:41 vmi374478.contaboserver.net systemd[1]: Failed to start The Apac Jun 08 14:11:04 vmi374478.contaboserver.net sshd[895]: error: maximum authentica Jun 08 14:11:04 vmi374478.contaboserver.net sshd[895]: PAM service(sshd) ignorin Jun 08 14:11:29 vmi374478.contaboserver.net sshd[906]: error: maximum authentica Jun 08 14:11:29 vmi374478.contaboserver.net sshd[906]: PAM service(sshd) ignorin Jun 08 14:13:43 vmi374478.contaboserver.net sshd[952]: error: maximum authentica Jun 08 14:13:43 vmi374478.contaboserver.net sshd[952]: PAM service(sshd) ignorin Jun 08 14:14:01 vmi374478.contaboserver.net sshd[967]: error: maximum authentica Jun 08 14:14:01 vmi374478.contaboserver.net sshd[967]: PAM service(sshd) ignorin Jun 08 14:14:05 vmi374478.contaboserver.net sshd[965]: error: maximum authentica Jun 08 14:14:05 vmi374478.contaboserver.net sshd[965]: PAM service(sshd) ignorin Jun 08 14:14:36 vmi374478.contaboserver.net sshd[979]: error: maximum authentica Jun 08 14:14:36 vmi374478.contaboserver.net sshd[979]: PAM service(sshd) ignorin Jun 08 14:16:56 vmi374478.contaboserver.net sshd[1020]: error: maximum authentic Jun 08 14:16:56 vmi374478.contaboserver.net sshd[1020]: PAM service(sshd) ignori Jun 08 14:17:20 vmi374478.contaboserver.net sshd[1026]: error: maximum authentic Jun 08 14:17:20 vmi374478.contaboserver.net sshd[1026]: PAM service(sshd) ignori Jun 08 14:22:49 vmi374478.contaboserver.net sshd[1195]: error: maximum authentic Jun 08 14:22:49 vmi374478.contaboserver.net sshd[1195]: PAM service(sshd) ignori Jun 08 14:23:15 vmi374478.contaboserver.net sshd[1202]: error: maximum authentic Jun 08 14:23:15 vmi374478.contaboserver.net sshd[1202]: PAM service(sshd) ignori Jun 08 14:25:43 vmi374478.contaboserver.net sshd[1286]: error: maximum authentic lines 1-23

coll. permanente
Questa risposta è segnata come "wiki".

ha risposto 09 Jun, 11:50

989849q49jda9's gravatar image

989849q49jda9
1012

e Sono solo l'1% di tutte le righe li xP

(09 Jun, 11:51) 989849q49jda9 989849q49jda9's gravatar image
  • una volta installato apache2 cosa hai modificato/configurato? io installato solamente ha funzionato correttamente subito

  • cosa vedi da: systemctl status sshd

(09 Jun, 13:44) sacarde sacarde's gravatar image
La tua risposta
abilita/disabilita anteprima

Segui questa domanda

Via email:

Una volta eseguito l'accesso potrai iscriverti a tutti gli aggiornamenti qui

Via RSS:

Risposte

Risposte e commenti

Basi di markdown

  • *corsivo* o __corsivo__
  • **grassetto** o __grassetto__
  • collegamento:[testo](http://url.com/ "titolo")
  • immagine?![alt testo](/path/img.jpg "titolo")
  • elenco numerato: 1. Foo 2. Bar
  • per aggiungere un'interruzione di riga, aggiungi due spazi a fine riga e premi «Invio»
  • è supportato anche semplice HTML

Tag:

×1,912
×18
×16

domanda posta: 08 Jun, 16:30

domanda visualizzata: 563 volte

ultimo aggiornamento: 09 Jun, 13:44

Chiedi è un servizio di supporto gestito da Ubuntu-it. Contattaci!

powered by OSQAPostgreSQL database
Ubuntu e Canonical sono marchi registrati da Canonical Ltd.