Apache2 reboot error on ubuntu

when I try to restart the apache server from ubuntu, showing it as fail ... I typed the command like, $ service apache2 restart

shows

  • Restarting apache2 web server [fail]

when I checked the log file, a description is provided in var / apache2 / errorlog,

[mpm_prefork: notice] [pid 1263] AH00163: Apache / 2.4.7 (Ubuntu) PHP / 5.5.9-1ubuntu4.5 configured - resume normal operations

+5
source share
2 answers

Most likely, because you are not using sudo when running the command, try:

sudo service apache2 restart 
+7
source
  • In linux / ubuntu we can restart the application server: -

     sudo service apache2 restart 
  • Differently

     sudo service apache2 reload 
0
source

Source: https://habr.com/ru/post/1207778/


All Articles