title: Amazon EC2 - Apache server restart issue
body: <p>When i run this command </p>
  
  <blockquote>
    <p>sudo /etc/init.d/httpd restart</p>
  </blockquote>
  
  <p>it gives below error</p>
  
  <p>Stopping httpd:                  [FAILED]</p>
  
  <p>Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
  (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
  no listening sockets available, shutting down
  Unable to open logs   [FAILED]</p>
  
  <hr>
  
  <p>i checked running programs at port 80 by using </p>
  
  <p>netstat -lnp | grep :80  (it gives below output)</p>
  
  <p>tcp        0      0 :::80          :::*             LISTEN      21739/httpd </p>
  
  <hr>
  
  <p>why i am not able to stop stop apache by using sudo /etc/init.d/httpd restart?</p>
  
  <p>below commands work without issue</p>
  
  <p>sudo apachectl stop</p>
  
  <p>sudo apachectl start</p>
  
  <p>i am using linux micro instance of amazon ec2</p>