Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache2 restart failed on ubuntu

Tags:

ubuntu

apache2

when i am trying to restart apache server from ubuntu, its showing as fail... i typed the command as, $service apache2 restart

it shows,

  • Restarting web server apache2 [fail]

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

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

like image 373
Vineet Kulkarni Avatar asked Nov 27 '14 06:11

Vineet Kulkarni


1 Answers

It is most likely because you are not using sudo when running the command, try:

sudo service apache2 restart
like image 51
Nima Avatar answered Oct 26 '22 18:10

Nima