Discussione:
apache non si avvia
Aggiungi Risposta
alex
2017-07-29 13:31:14 UTC
Rispondi
Permalink
Raw Message
Dopo aver aggiornato alcuni pacchetti...

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

Quindi...

$ systemctl status apache2.service
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: *failed* (Result: exit-code) since sab 2017-07-29 15:12:38
CEST; 4min 43s ago
Docs: man:systemd-sysv-generator(8)
Process: 8617 ExecStop=/etc/init.d/apache2 stop (code=exited,
status=0/SUCCESS)
Process: 7319 ExecReload=/etc/init.d/apache2 reload (code=exited,
status=0/SUCCESS)
Process: 12033 ExecStart=/etc/init.d/apache2 start (code=exited,
status=1/FAILURE)

$ sudo journalctl -xe

le ultime righe...

lug 29 15:12:38 comex apache2[12033]: The Apache error log may have more
information.
lug 29 15:12:38 comex systemd[1]: apache2.service: Control process
exited, code=exited status=1
lug 29 15:12:38 comex systemd[1]: *Failed to start LSB*: Apache2 web server.
-- Subject: L'unità apache2.service è fallita
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- L'unità apache2.service è fallita.
--
-- Il risultato è failed.
lug 29 15:12:38 comex systemd[1]: apache2.service: Unit entered failed
state.
lug 29 15:12:38 comex systemd[1]: apache2.service: Failed with result
'exit-code'.
lug 29 15:12:38 comex sudo[12027]: pam_unix(sudo:session): session
closed for user root
lug 29 15:17:01 comex CRON[12185]: pam_unix(cron:session): session
opened for user root by (uid=0)
lug 29 15:17:01 comex CRON[12186]: (root) CMD ( cd / && run-parts
--report /etc/cron.hourly)
lug 29 15:17:01 comex CRON[12185]: pam_unix(cron:session): session
closed for user root
lug 29 15:18:50 comex sudo[12205]: rino : TTY=pts/18 ;
PWD=/home/rino ; USER=root ; COMMAND=/bin/journalctl
lug 29 15:18:50 comex sudo[12205]: pam_unix(sudo:session): session
opened for user root by (uid=0)
lug 29 15:18:55 comex sudo[12205]: pam_unix(sudo:session): session
closed for user root
lug 29 15:19:07 comex sudo[12210]: rino : TTY=pts/18 ;
PWD=/home/rino ; USER=root ; COMMAND=/bin/journalctl -xe
lug 29 15:19:07 comex sudo[12210]: pam_unix(sudo:session): session
opened for user root by (uid=0)
lug 29 15:19:36 comex sudo[12210]: pam_unix(sudo:session): session
closed for user root
lug 29 15:21:09 comex sudo[12222]: rino : TTY=pts/18 ;
PWD=/home/rino ; USER=root ; COMMAND=/bin/journalctl -xe
lug 29 15:21:09 comex sudo[12222]: pam_unix(sudo:session): session
opened for user root by (uid=0)
lines 1728-1766/1766 (END)

Qualcuno mi può aiutare a risolvere il problema?
alex
2017-08-01 13:44:52 UTC
Rispondi
Permalink
Raw Message
Post by alex
Dopo aver aggiornato alcuni pacchetti...
$ sudo service apache2 restart
Job for apache2.service failed because the control process exited with
error code. See "systemctl status apache2.service" and "journalctl -xe"
for details.
Quindi...
$ systemctl status apache2.service
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: *failed* (Result: exit-code) since sab 2017-07-29 15:12:38
CEST; 4min 43s ago
Docs: man:systemd-sysv-generator(8)
Process: 8617 ExecStop=/etc/init.d/apache2 stop (code=exited,
status=0/SUCCESS)
Process: 7319 ExecReload=/etc/init.d/apache2 reload (code=exited,
status=0/SUCCESS)
Process: 12033 ExecStart=/etc/init.d/apache2 start (code=exited,
status=1/FAILURE)
$ sudo journalctl -xe
le ultime righe...
lug 29 15:12:38 comex apache2[12033]: The Apache error log may have more
information.
lug 29 15:12:38 comex systemd[1]: apache2.service: Control process
exited, code=exited status=1
lug 29 15:12:38 comex systemd[1]: *Failed to start LSB*: Apache2 web server.
-- Subject: L'unità apache2.service è fallita
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Non so se è la soluzione più corretta, ma per il momento ho risolto
leggendo qui
https://askubuntu.com/questions/453377/how-to-enable-event-mpm-apache-2-4-on-ubuntu-14-04-with-thread-safe-php
Loading...