Aug 192013
 

Problem

Some time when you try to restart apache server you should see similar to the following error and apache server won't start

Solution

After stopping apache server use the following command to check if your server is having httpd processes

netstat -ltnp | grep ‘:80′

If you have any httpd process on running you should see similar to the following out

tcp 0 0 :::80 :::* LISTEN 3945/gpasswd

Now you can kill this process using the following command

#kill -9 3945

3945 is process id

If you want to see more closely you can use ps -ef command to see any httpd running processes and kill all of them before restarting apache server process

 Posted by at 3:11 pm

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>