
DRLinux
(usa Ubuntu)
Enviado em 05/12/2017 - 10:39h
Galera, eu mesmo consegui dar um jeito aqui.
Não sei explicar porque, mas funcionou.
dei os comandos:
#apt-get purge apache2
#apt-get install apache2
#/etc/init.d/apache2 reload
#/etc/init.d/apache2 start
roger@roger-G31M-ES2C:~$ sudo /etc/init.d/apache2 start
[ ok ] Starting apache2 (via systemctl): apache2.service.
roger@roger-G31M-ES2C:~$ sudo /etc/init.d/apache2 status
● 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: active (running) since Ter 2017-12-05 10:22:06 BRST; 5min ago
Docs: man:systemd-sysv-generator(8)
Process: 2195 ExecReload=/etc/init.d/apache2 reload (code=exited, status=0/SUCCESS)
Process: 1024 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/apache2.service
├─1168 /usr/sbin/apache2 -k start
├─2211 /usr/sbin/apache2 -k start
└─2212 /usr/sbin/apache2 -k start
Dez 05 10:22:01 roger-G31M-ES2C systemd[1]: Starting LSB: Apache2 web server...
Dez 05 10:22:01 roger-G31M-ES2C apache2[1024]: * Starting Apache httpd web ...2
Dez 05 10:22:05 roger-G31M-ES2C apache2[1024]: AH00558: apache2: Could not r...e
Dez 05 10:22:06 roger-G31M-ES2C apache2[1024]: *
Dez 05 10:22:06 roger-G31M-ES2C systemd[1]: Started LSB: Apache2 web server.
Dez 05 10:27:24 roger-G31M-ES2C systemd[1]: Reloading LSB: Apache2 web server.
Dez 05 10:27:24 roger-G31M-ES2C apache2[2195]: * Reloading Apache httpd web...2
Dez 05 10:27:24 roger-G31M-ES2C apache2[2195]: *
Dez 05 10:27:24 roger-G31M-ES2C systemd[1]: Reloaded LSB: Apache2 web server.
Dez 05 10:27:41 roger-G31M-ES2C systemd[1]: Started LSB: Apache2 web server.
Hint: Some lines were ellipsized, use -l to show in full.