Advertisement
oscarholmedo

Restart apache2 on PID conflict

Jun 9th, 2015
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.24 KB | None | 0 0
  1. #Find the processus id of Apache2 with :
  2. $ pidof apache2
  3.  
  4. #Kill the process(es) :
  5. $ sudo kill -9 <pid>
  6.  
  7. #Then you can start Apache2 as usually :
  8. $ sudo service apache2 start
  9.  
  10. #If sudo kill -9 <pid> doesn't work, just try
  11. $ sudo kill <pid>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement