Por que não consigo iniciar meu servidor apache2?

0

Estou usando o raspberrypi como meu servidor. Quando executo o sudo service apache2 start , o seguinte erro aparece.

sh: 0: getcwd() failed: No such file or directory
Job for apache2.service failed because the control process exited with 
error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.

E quando eu digito apache2.service

● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor 
preset: enabled)
Active: failed (Result: exit-code) since Sat 2018-11-10 21:36:29 CST; 
14min ago
Process: 3083 ExecStart=/usr/sbin/apachectl start (code=exited, 
status=127)
nov 10 21:36:29 raspberrypi systemd[1]: Starting The Apache HTTP 
Server...
nov 10 21:36:29 raspberrypi apachectl[3083]: /usr/sbin/apachectl: 174: 
/usr/sbin/apachectl: /usr/sbin/apache2: n
nov 10 21:36:29 raspberrypi apachectl[3083]: Action 'start' failed.
nov 10 21:36:29 raspberrypi apachectl[3083]: The Apache error log may 
have 
more information.
nov 10 21:36:29 raspberrypi systemd[1]: apache2.service: Control process 
exited, code=exited status=127
nov 10 21:36:29 raspberrypi systemd[1]: Failed to start The Apache HTTP 
Server.
nov 10 21:36:29 raspberrypi systemd[1]: apache2.service: Unit entered 
failed state.
nov 10 21:36:29 raspberrypi systemd[1]: apache2.service: Failed with 
result 
'exit-code'.

Mas quando olho para o log de erros, ele está vazio.

    
por user8480342 10.11.2018 / 15:04

0 respostas