Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

my machine is running on Ubuntu 12.04 LTS. I installed apache 2 on my system. When I try to start it, I get error

(98)Address already in use: AH00072: make_sock: could not bind to address

Now this is very common problem regarding apache. most solution are to hit command netstat -nltp | grep ':80' then get pid and kill the process. Linux gods are angry in my case I think. When I hit the same command, I get this output.

Proto Recv-Q Send-Q Local Address Foreign Address  State    PID/Program name

tcp6  0      0      :::80         :::*             LISTEN   -

As you can see there is no pid for this process. How can this be? I have restarted machine many times it jst reappears. There is no way for me to kill this process. Please help.

share|improve this question
did you run that command as root? Only root gets to link sockets to PIDs. – Alnitak May 20 '12 at 21:35
up vote 4 down vote accepted

Did you run this command as root or via sudo - you don't get to see the PIDs otherwise.

share|improve this answer
obviously you gentlemen understand that I am a linux noob :/ – Shades88 May 20 '12 at 22:04
Perfect! with sudo netstat -nltp | grep ':80'. I can see the PID, tnks! – user127395 Jul 6 '12 at 16:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.