apache2 service not running after deleting the apache2 folder

Discussion in 'Server Operation' started by michael de azevedo, May 13, 2020.

  1. michael de azevedo

    michael de azevedo New Member

    good day
    Ive tried to reinstall apache2 but now the service wont start,
    please attached picture
    i have ubuntu 108.04lts pc

    upload_2020-5-13_14-10-41.png
     
  2. ahrasis

    ahrasis Well-Known Member

    I can't see your picture via this mobile browser. Did you mean you run apt purge -y apache2 && apt install -y apache2 or you simply run apt install --reinstall -y apache2?
     
    Last edited: May 14, 2020
  3. michael de azevedo

    michael de azevedo New Member

    i ran
    sudo apt purge apache2
    sudo apt autoremove
    whereis apache2 and removed that as well
     
  4. ahrasis

    ahrasis Well-Known Member

    And then you reinstall apache2 by running apt install -y apache2?
     
  5. michael de azevedo

    michael de azevedo New Member

    thank you so much it worked
     

Share This Page