Find the answer to your Linux question:
Results 1 to 5 of 5
Hello, everyone, I have installed Ubuntu 10.04, and apache2 web server. But it doesn't work. When I go to localhost it doesn't connect. I tried everything, reinstalling, installing apache2 libraries ...
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    6

    Apache2 doesn't work on ubuntu

    Hello, everyone,

    I have installed Ubuntu 10.04, and apache2 web server. But it doesn't work. When I go to localhost it doesn't connect. I tried everything, reinstalling, installing apache2 libraries and so on.. But nothing, I don't know what to do... How can I fix this?

    Please help..

  2. #2
    Just Joined!
    Join Date
    Aug 2009
    Location
    Wil, Switzerland
    Posts
    10
    Is Apache running? -> check with "ps | grep apache".
    Is there anything in the log? (in /var/log/apache2/error.log or something like that.)

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Posts
    6
    You do not believe how I fixed it.

    I completelly removed apache2 using synaptic package manager and ques what?
    IT WORKS. I don't understand why, but everything is working. Apache2, PHP.

    If I install apache2 It doesn't work again... Strange... But now it works, it is all I need.

  4. #4
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,102
    sounds like a fubar system
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    Aug 2009
    Location
    Wil, Switzerland
    Posts
    10
    Possible reasons include:
    • another service listening on port 80 was running, blocking apache
    • Firefox was in offline mode (yeah, simple as that, but that can happen)
    • Apache daemon did not start

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...