Apache getting stopped

Discussion in 'Apache' started by aamigallery, Aug 11, 2010.

  1. #1
    Every time I start the Apache from Control Panel on XAMPP it gets stopped automatically in 5-10 seconds. Please help with this problem.
     
    aamigallery, Aug 11, 2010 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    Take a look at your logs to find out the issue.
     
    RHS-Chris, Aug 11, 2010 IP
  3. PsyberMind

    PsyberMind Peon

    Messages:
    33
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    There is definitely a configuration error, and I'm willing to bet your log says "Can't bind to port 80 on 127.0.0.1, port is in use" Check your httpd.conf and make sure your vHost IP is set to your PC IP If you are on a lan (192.168.x.x usually) it won't bind to 127.0.0.1 for some stupid reason
     
    PsyberMind, Aug 11, 2010 IP
  4. aamigallery

    aamigallery Guest

    Messages:
    1,362
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Found it and this is the error -

    (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80
    no listening sockets available, shutting down
    Unable to open log
     
    aamigallery, Aug 12, 2010 IP
  5. PsyberMind

    PsyberMind Peon

    Messages:
    33
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Change that address to your Internal IP, and you should be able to start it then
     
    PsyberMind, Aug 12, 2010 IP
  6. BreezeHost

    BreezeHost Member

    Messages:
    139
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    28
    #6
    BreezeHost, Aug 13, 2010 IP