Apache error

Discussion in 'Apache' started by hampusloof, Jan 29, 2011.

  1. #1
    Hello! i get an error when i try to start up apache , can someone help me please ?
     

    Attached Files:

    hampusloof, Jan 29, 2011 IP
  2. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #2
    Check the error log and post the error messages you find there.
     
    mwasif, Jan 29, 2011 IP
  3. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #3
    We can't see the error in that image. What operating system are you using as well?

    Chris
     
    RHS-Chris, Jan 29, 2011 IP
  4. hampusloof

    hampusloof Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Im using Windows Vista , the error is
    Apache 2 is running, do not close this window.
    (OS 10 048) is normally permitted only one usage of each socket address (protocol / network address / port). : make_sock: Could not bind to address 0.0.0.0:80
    no listening sockets available, shutting down
    Unable to open logs

    Apache Could not be started.
     
    hampusloof, Jan 29, 2011 IP
  5. Usershare

    Usershare Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    that message means you have another service running on port 80,stop that service then retry...
     
    Usershare, Jan 29, 2011 IP
  6. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #6
    Or you can start Apache to another port instead of port 80. Skype also uses port 80. To change Apache port, open httpd.conf (Apache configuration file) and locate "Port 80". Now replace 80 with any other number preferably 8080, save the file and restart Apache. Now you can access the web server with the URL http://localhost:8080.
     
    mwasif, Jan 29, 2011 IP
  7. Usershare

    Usershare Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    only pain is you willl have to type :8080 evertime you want to access you website.This can a hassle especially if your running a legit site from home.
     
    Usershare, Jan 29, 2011 IP
  8. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #8
    hampusloof,

    By looking closely at the snapshot you provided, I realized you are running Skype. You can solve your problem by turning it off or by changing the Apache port or by changing Skype port (Change skype port).

    @Usershare,
    You are right. It is hassle to type 8080 every time.
     
    mwasif, Jan 30, 2011 IP
  9. Usershare

    Usershare Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Yup, that should solve it.Just change skype port...then restart apache
     
    Usershare, Jan 30, 2011 IP
  10. hampusloof

    hampusloof Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    It's working now thanks :D
     
    hampusloof, Jan 30, 2011 IP
  11. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #11
    Glad to know that.
     
    mwasif, Jan 30, 2011 IP