Ciao Flane, dopo il tuo intervento che pareva risolutivo, tempo qualche giorno apache non partiva più. Per non disturbarti ulteriormente sono riartito dall'immagine, incollato configurazioni e dati e riattvato il tutto che funzionava perfettamente.
...per tre giorni
poi nuovamente lo stesso problema. Apache non si interrooga più.
Riavvio il raspe che non sgenala errori ma apache non parte.
Ho riprovato con due sd diverse ed in entrambe solo la tua immagine vergine, sia sul rasp2 che sul rasp3 apace non parte più.
Con Putty ho provato a far partire il servizio a mano ma ottengo questi errori.
cosa posso guardare?
Grazie
Codice: Seleziona tutto
root@raspberrypi:/etc/apache2# sudo systemctl stop apache2.service
root@raspberrypi:/etc/apache2# sudo systemctl start apache2.service
Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
root@raspberrypi:/etc/apache2# systemctl status apache2.service
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Drop-In: /lib/systemd/system/apache2.service.d
└─forking.conf
Active: failed (Result: exit-code) since Sun 2017-04-16 20:56:38 CEST; 6s ago
Process: 2061 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
Apr 16 20:56:38 raspberrypi apache2[2061]: Starting web server: apache2 failed!
Apr 16 20:56:38 raspberrypi apache2[2061]: The apache2 instance did not start within 20 seconds. Please read the log...ning).
Apr 16 20:56:38 raspberrypi systemd[1]: apache2.service: control process exited, code=exited status=1
Apr 16 20:56:38 raspberrypi systemd[1]: Failed to start LSB: Apache2 web server.
Apr 16 20:56:38 raspberrypi systemd[1]: Unit apache2.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
root@raspberrypi:/etc/apache2# journalctl -u apache2.service
-- Logs begin at Tue 2017-04-11 13:17:02 CEST, end at Sun 2017-04-16 20:56:38 CEST. --
Apr 11 13:17:15 raspberrypi systemd[1]: Starting LSB: Apache2 web server...
Apr 16 20:42:43 raspberrypi apache2[669]: Starting web server: apache2 failed!
Apr 16 20:42:43 raspberrypi apache2[669]: The apache2 instance did not start within 20 seconds. Please read the log files to
Apr 16 20:42:43 raspberrypi systemd[1]: apache2.service: control process exited, code=exited status=1
Apr 16 20:42:43 raspberrypi systemd[1]: Failed to start LSB: Apache2 web server.
Apr 16 20:42:43 raspberrypi systemd[1]: Unit apache2.service entered failed state.
Apr 16 20:50:03 raspberrypi systemd[1]: Starting LSB: Apache2 web server...
Apr 16 20:50:24 raspberrypi apache2[1447]: Starting web server: apache2 failed!
Apr 16 20:50:24 raspberrypi apache2[1447]: The apache2 instance did not start within 20 seconds. Please read the log files to
Apr 16 20:50:24 raspberrypi systemd[1]: apache2.service: control process exited, code=exited status=1
Apr 16 20:50:24 raspberrypi systemd[1]: Failed to start LSB: Apache2 web server.
Apr 16 20:50:24 raspberrypi systemd[1]: Unit apache2.service entered failed state.
Apr 16 20:50:26 raspberrypi systemd[1]: Starting LSB: Apache2 web server...
Apr 16 20:50:46 raspberrypi apache2[1547]: Starting web server: apache2 failed!
Apr 16 20:50:46 raspberrypi apache2[1547]: The apache2 instance did not start within 20 seconds. Please read the log files to
Apr 16 20:50:46 raspberrypi systemd[1]: apache2.service: control process exited, code=exited status=1
Apr 16 20:50:46 raspberrypi systemd[1]: Failed to start LSB: Apache2 web server.
Apr 16 20:50:46 raspberrypi systemd[1]: Unit apache2.service entered failed state.
Apr 16 20:53:41 raspberrypi systemd[1]: Starting LSB: Apache2 web server...
Apr 16 20:54:01 raspberrypi apache2[1803]: Starting web server: apache2 failed!
Apr 16 20:54:01 raspberrypi apache2[1803]: The apache2 instance did not start within 20 seconds. Please read the log files to
Apr 16 20:54:01 raspberrypi systemd[1]: apache2.service: control process exited, code=exited status=1
Apr 16 20:54:01 raspberrypi systemd[1]: Failed to start LSB: Apache2 web server.
Apr 16 20:54:01 raspberrypi systemd[1]: Unit apache2.service entered failed state.
Apr 16 20:56:13 raspberrypi systemd[1]: Stopped LSB: Apache2 web server.
Apr 16 20:56:18 raspberrypi systemd[1]: Starting LSB: Apache2 web server...
Apr 16 20:56:38 raspberrypi apache2[2061]: Starting web server: apache2 failed!
Apr 16 20:56:38 raspberrypi apache2[2061]: The apache2 instance did not start within 20 seconds. Please read the log files to
lines 1-29...skipping...
-- Logs begin at Tue 2017-04-11 13:17:02 CEST, end at Sun 2017-04-16 20:56:38 CEST. --
Apr 11 13:17:15 raspberrypi systemd[1]: Starting LSB: Apache2 web server...
Apr 16 20:42:43 raspberrypi apache2[669]: Starting web server: apache2 failed!
Apr 16 20:42:43 raspberrypi apache2[669]: The apache2 instance did not start within 20 seconds. Please read the log files to discover problems ... (warning).
Apr 16 20:42:43 raspberrypi systemd[1]: apache2.service: control process exited, code=exited status=1
Apr 16 20:42:43 raspberrypi systemd[1]: Failed to start LSB: Apache2 web server.
Apr 16 20:42:43 raspberrypi systemd[1]: Unit apache2.service entered failed state.
Apr 16 20:50:03 raspberrypi systemd[1]: Starting LSB: Apache2 web server...
Apr 16 20:50:24 raspberrypi apache2[1447]: Starting web server: apache2 failed!
Apr 16 20:50:24 raspberrypi apache2[1447]: The apache2 instance did not start within 20 seconds. Please read the log files to discover problems ... (warning).
Apr 16 20:50:24 raspberrypi systemd[1]: apache2.service: control process exited, code=exited status=1
Apr 16 20:50:24 raspberrypi systemd[1]: Failed to start LSB: Apache2 web server.
Apr 16 20:50:24 raspberrypi systemd[1]: Unit apache2.service entered failed state.
Apr 16 20:50:26 raspberrypi systemd[1]: Starting LSB: Apache2 web server...
Apr 16 20:50:46 raspberrypi apache2[1547]: Starting web server: apache2 failed!
Apr 16 20:50:46 raspberrypi apache2[1547]: The apache2 instance did not start within 20 seconds. Please read the log files to discover problems ... (warning).
Apr 16 20:50:46 raspberrypi systemd[1]: apache2.service: control process exited, code=exited status=1
Apr 16 20:50:46 raspberrypi systemd[1]: Failed to start LSB: Apache2 web server.
Apr 16 20:50:46 raspberrypi systemd[1]: Unit apache2.service entered failed state.
Apr 16 20:53:41 raspberrypi systemd[1]: Starting LSB: Apache2 web server...
Apr 16 20:54:01 raspberrypi apache2[1803]: Starting web server: apache2 failed!
Apr 16 20:54:01 raspberrypi apache2[1803]: The apache2 instance did not start within 20 seconds. Please read the log files to discover problems ... (warning).
Apr 16 20:54:01 raspberrypi systemd[1]: apache2.service: control process exited, code=exited status=1
Apr 16 20:54:01 raspberrypi systemd[1]: Failed to start LSB: Apache2 web server.
Apr 16 20:54:01 raspberrypi systemd[1]: Unit apache2.service entered failed state.
Apr 16 20:56:13 raspberrypi systemd[1]: Stopped LSB: Apache2 web server.
Apr 16 20:56:18 raspberrypi systemd[1]: Starting LSB: Apache2 web server...
Apr 16 20:56:38 raspberrypi apache2[2061]: Starting web server: apache2 failed!
Apr 16 20:56:38 raspberrypi apache2[2061]: The apache2 instance did not start within 20 seconds. Please read the log files to discover problems ... (warning).
Apr 16 20:56:38 raspberrypi systemd[1]: apache2.service: control process exited, code=exited status=1
Apr 16 20:56:38 raspberrypi systemd[1]: Failed to start LSB: Apache2 web server.
Apr 16 20:56:38 raspberrypi systemd[1]: Unit apache2.service entered failed state.