Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I just installed apache on ubuntu 10.04. When I try to start apache, It tries to bind to then fails. What am I doing wrong here?

sparky$ sudo /etc/init.d/apache2 restart

(98)Address already in use: make_sock: could not bind to address
no listening sockets available, shutting down
Unable to open logs

Looking at what else is on port 80:

sparky$  sudo netstat -lnp | grep '80'

tcp        0      0    *               LISTEN      1483/netxserv   
udp6       0      0 fe80::280:64ff:fe9c:123 :::*                                1244/ntpd       
unix  2      [ ACC ]     STREAM     LISTENING     4809     1177/pulseaudio     /home/admin/.pulse/843e513a62d1b128539d25a14dce36b8-runtime/native
unix  2      [ ACC ]     STREAM     LISTENING     4056     985/launcher        /tmp/orbit-admin/linc-3d9-0-680082d3cdbb

My Hosts file:       localhost.localdomain   localhost sparky.abcco.local sparky
share|improve this question

migrated from Oct 7 '11 at 8:23

This question came from our site for professional and enthusiast programmers.

netxserv is using that port, as you can see in your netstat output. – Mat Oct 6 '11 at 19:38
netxserv is on 80 so apache wont start. I think netxserv is some kind of sip/IPphone software, you will need to stop this before you can run apache. could try killall -9 netxserv – mister koz Oct 6 '11 at 19:41
up vote 2 down vote accepted

This line

tcp      0    0  *          LISTEN     1483/netxserv

shows that netsxerv is running and bound to port 80. Presumably you have a reason to run netxserv on port 80 so you will need to reconfigure it to listen on a different port or run apache on a different port.

share|improve this answer

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.