Home / Tech / Apache – Address already in use: make_sock: could not bind to address

Apache – Address already in use: make_sock: could not bind to address

Posted by BuzzPress | rss No Comments

This error message can be caused by an improper shut down, the apache processes are still hanging around and apachectl restart won’t work.

Solution

just kill off the hanging processes:
# fuser 80/tcp
80/tcp: 3010 3702 4088 16754
# kill -n 9 3010
# kill -n 9 3702
# kill -n 9 4088
# kill -n 9 16754
# apachectl start

or if there’s loads of processes use
# for i in $(fuser 80/tcp);do kill -n 9 $i;done
to kill them all off

Categories: Tech

Share:
  • Digg
  • Mixx
  • Reddit
  • YahooBuzz
  • Facebook
  • StumbleUpon
  • TwitThis
  • email

Write a Comment

TopOfBlogs