httpd keeps failing - HELP!

Discussion in 'Apache' started by Chriz1977, Oct 19, 2006.

  1. #1
    Hi
    Ive just found that httpd has failed on one of my servers and wont restart. I keep getting this message


    Not very helpfull.

    I didnt do anything to cause it to fail but I cant sus out why it wont restart.

    Anyone got any ideas?

    Cheers
    Chriz
     
    Chriz1977, Oct 19, 2006 IP
  2. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #2
    while i won't be able to help you myself directly
    i know for sure that above details are far insufficient for anyone to possibly help

    you need to be more precise

    what operating system ( exactly !!)
    what apache version exactly = apache 2.0 or 1.3.x ??
    linux = what dist, what version exactly
    kernel version

    did you do any update or restore from backup just BEFORE error occurred

    did you make any other changes - EVEN "minor changes" like machine change, HDD change (restore), IP change, hostname change ??

    is it on your local machine or on a remote machine

    if remote machine = do you have exact same OS on your local machine for sys-admin work ??

    do you monitor error messages ?

    something like
    tail -f 50 /var/log/apache2/error_log
    tail -f 50 /var/log/warn
    tail -f 50 /var/log/messages

    with same syntax ( adap the path of course ) you can live monitor in your SSH shell ( bash ?) all errors that occur and fine FAR more detailed error messages than the one you have above

    in the VERY worst of all cases
    UNisntall apache
    make a updatedb
    re-install from scratch appache

    final tip for future

    it REALLY helps if you have locally exactly same OS incl sub-version as you have online!

    I do myself - both sides online and offline suse/novell linux 10.1
    all identical except offline local machine larger install than online server


    good luck - I am sure someone HERE in DP forum will be able to help - just a matter of minutes or hours
     
    hans, Oct 19, 2006 IP
  3. dhruv37

    dhruv37 Well-Known Member

    Messages:
    3,222
    Likes Received:
    195
    Best Answers:
    0
    Trophy Points:
    165
    #3
    dhruv37, Oct 19, 2006 IP
  4. Chriz1977

    Chriz1977 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    No shit sherlock.:D

    I did point out that every time i restart it it fails.

    ive run httpd configtest and found its due to a bad username but cant find it to delete it!
     
    Chriz1977, Oct 19, 2006 IP
  5. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #5
    we stilll are missing ANY of the needed details to help !!!

    if you login via SSH and enter the apache start command manually in your shell WHILE monitoring all a.m. error logs - then you get more detailed feedback

    having to GUESS the detaills needed rather than getting them from you is a waste of time !! there are different procedures depending on your OS and connection to th esrver.
     
    hans, Oct 19, 2006 IP
  6. hgsupb

    hgsupb Peon

    Messages:
    65
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Chriz1977, just check your apache error log file. There must be more information.
     
    hgsupb, Oct 20, 2006 IP