Falha ao carregar o servidor apache?

0

Quando tento executar o comando service apache2 start através do php shell_exec, ele mostra um erro no arquivo de log do apache: Failed to stop apache2.service: Interactive authentication required. See system logs and 'systemctl status apache2.service' for details. saída de systemctl status apache2.service '' apache2.service - LSB: servidor web Apache2    Carregado: carregado (/etc/init.d/apache2; bad; predefinido do fornecedor: ativado)   Drop-In: /lib/systemd/system/apache2.service.d             -apache2-systemd.conf Active: active (running) since Thu 2017-07-06 11:21:37 IST; 3h 46min ago Docs: man:systemd-sysv-generator(8) Process: 8575 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS) Process: 8826 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS) CGroup: /system.slice/apache2.service |- 8841 /usr/sbin/apache2 -k start |- 8844 /usr/sbin/apache2 -k start |- 8845 /usr/sbin/apache2 -k start |- 8846 /usr/sbin/apache2 -k start |- 8847 /usr/sbin/apache2 -k start |- 8848 /usr/sbin/apache2 -k start |- 8887 /usr/sbin/apache2 -k start |-17927 /usr/sbin/apache2 -k start |-18596 sh -c ping 8.8.8.8 |-18597 ping 8.8.8.8 |-18600 sh -c ping 8.8.8.8 |-18601 ping 8.8.8.8 |-18732 /usr/sbin/apache2 -k start |-21117 sh -c systemctl status apache2.service -21118 systemctl status apache2.service

    
por Keshav Maheshwari 06.07.2017 / 10:46

0 respostas