1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

apache restart - 500 Internal Server Error

Discussion in 'Apache' started by login, Jun 11, 2007.

  1. #1
    Can I ever get this message when trying to access a web site when apache is restarting ?

    "Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request."
     
    login, Jun 11, 2007 IP
  2. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #2
    ?

    I'm not quite sure the question.
    If Apache hasn't started up yet and you access a page, you usually get page not found error (offline)
     
    cyanide, Jun 11, 2007 IP
  3. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #3
    This is exactly what I thought to. But I was complaining to hostgator support that there was a 500 Internal Server Error when I tried to visit the site. Hostgator support told me that it was because apache was restarting.

    Could that happen at all ? or are they lying to me ?
    There are no scripts on the site in question.
     
    login, Jun 11, 2007 IP
  4. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #4
    500 errors as well as 404, etc... are generated by apache, so if apache is not running, the box wouldn't know to throw up those errors.

    Furthermore, anytime I've restarted apache, it takes literally a second or less to re-boot under normal conditions. If it takes longer, then it could be because there is an error in the apache configuration or the machine is under heavy load
     
    cyanide, Jun 11, 2007 IP
    login likes this.
  5. Raithe

    Raithe Well-Known Member

    Messages:
    1,923
    Likes Received:
    177
    Best Answers:
    0
    Trophy Points:
    175
    #5
    Raithe, Jun 11, 2007 IP
  6. drnibbles

    drnibbles Peon

    Messages:
    346
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thats usually a config error.. i.e. include file error or http conf error. Could also be a php.ini error...It's hard to tell unless you have access to logfiles for the apache deamon
     
    drnibbles, Jun 12, 2007 IP