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

I am using a Ubuntu virtual machine.Where I installed OpenACS which depends upon AOLServer.To do so I had first shutdown Apache on this machine and then as per instructions given here

Step 1) aptitude install postgresql

Step 2) aptitude install openacs

I had to shutdown Apache to do above installation. Now the installation finishes.So I can access http://localhost:8000

but when ever I try to start Apache on this machine which was shutdown during installation I see the error

 service apache2 start
  * Starting web server apache2 (98)Address already in use: make_sock: could not bind to address  no listening sockets available, shutting down
Unable to open logs

So I thought may be OpenACS installs AOLServer so Aolserver might be listening on port 80 I check


and here


So AOLServer is not listening on port 80 upto here it is confirmed.

  netstat -tualp  | grep 80
tcp  0      0 somemachine.somedimain.:8000 *:*   LISTEN   21321/aolserver4-ns

so netstat shows only 8000 in use. Then why am I unable to start Apache in this case?

Edit as ooshro below pointed out to check netstat -tualp | grep \:www the output
I got was
tcp 0 0 localhost:www *:* LISTEN 2883/aolserver4-nsd

share|improve this question
up vote 4 down vote accepted

To check:

netstat -tualpn | grep 80


netstat -tualp  | grep \:www

without 'n' options, 80 resolve to www.

Edit "/etc/aolserver4/aolserver4.tcl":

array set debian_config {
HOSTNAME localhost

Then restart aolserver4 and apache2

/etc/init.d/aolserver4 restart
/etc/init.d/apache2 restart
share|improve this answer
you are right the second netstat showed me aolserver-nsd listening on www service. – Registered User Feb 23 '11 at 13:36
@Registered User I update answer – ooshro Feb 23 '11 at 14:14
I will bookmark your answer currently for me thing has worked. – Registered User Feb 23 '11 at 21:56

Ok Finally I resoved this problem.The default openacs install listens on port 8000, to avoid conflict with the default aolserver listening on port 80.

I had to put RUN_DAEMON=no in /etc/default/aolserver4 file although all the lines of this file were commented out but I still needed to add


That is what worked for me.

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.