Advertisement
Guest User

Untitled

a guest
Jul 30th, 2013
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. I wanted to purge the LAMP server I installed on the machine. So I used
  2. apt-get purge apache2
  3. apt-get purge php5-*
  4. apt-get purge mysql-server
  5.  
  6. Then I still found many files related to the LAMP server on my filesystem.
  7. Then I used a command to somehow remove the which was the biggest mistake I made:
  8.  
  9. sudo rm -r /etc/apache2
  10. sudo rm -r `locate mysql`
  11. sudo rm -r `php`
  12. sudo rm -r `apache`
  13.  
  14. The last 4 commands were really stupid and dangerous.
  15.  
  16. Now I cannot get the ubuntu login screen. After selecting ubuntu from grub, I get an error sceen saying:
  17.  
  18. Invalid command Order in apache.conf
  19. *starting likewise service manager : lwsmd [ fail]
  20. * starting likewise open service [fail]
  21. *starting web server apache2 [fail]
  22.  
  23. I am able to drop to root shel from recovery mode but as the network is not configured, I am not able to connect to any remote servers or repositories.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement