Unable to Start Apache ([warn] pid file)

Discussion in 'Apache' started by josephting, Mar 26, 2010.

  1. #1
    Hi,

    This is regarding my developer pc at home which I used to develop websites.
    Recently, my Apache won't start at all. No event log but there's an error log.

    [Sat Mar 27 12:06:31 2010] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    Code (markup):
    No idea what's that but I believe I've stopped Apache by using Apache Monitor previously. I tried deleting httpd.pid but it doesn't work. Does this means I have to reinstall Apache all over again?

    Anyone have any idea to fix this real quick?

    OS: Windows XP SP3

    Thanks,
    Joseph
     
    josephting, Mar 26, 2010 IP
  2. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #2
    Did you restarted the system/server??

    Try restarting it as Apache may start itself it it was run as a service..
     
    Freewebspace, Mar 27, 2010 IP
  3. josephting

    josephting Active Member

    Messages:
    115
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    68
    #3
    Yep, tried as you suggested but still the same.
    I've set Apache2.2 service to startup manually from services.msc and restarted.
    But when I want to start it from Apache Monitor, same thing happen.

    I've deleted httpd.pid and start apache. Then httpd.pid appeared with not error in log.
    For the second time starting apache with httpd.pid's presence, an error that shown in above will be generated in log.
     
    josephting, Mar 27, 2010 IP
  4. PsyHost

    PsyHost Well-Known Member

    Messages:
    641
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    110
    #4
    despite the message, a warn isn't going to stop the process from running, if it returns an error that would explain why apache isn't working, but a warn should definately not stop it from running.

    Its quick enough to install so maybe u should just remove apache reinstall it and see if the error returns?
     
    PsyHost, Mar 27, 2010 IP
  5. josephting

    josephting Active Member

    Messages:
    115
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    68
    #5
    Okay, I think I'll just do it the simple way.
    Thanks for the advice, PsyHost. :)

    Unfortunately, reinstalling doesn't work. :confused:
    The same thing happen. However, when I disabled PHP module in Apache, it worked.
    Oh man, this is not good.
     
    Last edited: Mar 27, 2010
    josephting, Mar 27, 2010 IP