Results 1 to 5 of 5

Thread: apache will not restart, here's the error log file, please help

  1. #1
    Registered Member
    Join Date
    Apr 2003
    Posts
    112

    Default apache will not restart, here's the error log file, please help

    My DC was able to hard-reboot my server, and I can now SSH and use WHM, but apache still refuses to start. Here's the tail of the error log when I try to restart apache:

    [Fri Jan 7 08:38:35 2005] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    [Fri Jan 7 08:38:35 2005] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    [Fri Jan 7 08:38:35 2005] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    [Fri Jan 7 08:38:35 2005] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    [Fri Jan 7 08:38:35 2005] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    [Fri Jan 7 08:38:35 2005] [notice] Apache/1.3.33 (Unix) FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a configured -- resuming normal operations
    [Fri Jan 7 08:38:35 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Fri Jan 7 08:38:35 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Fri Jan 7 08:38:35 2005] [alert] Child 2696 returned a Fatal error... \nApache is exiting!

  2. #2
    Registered Member
    Join Date
    Apr 2003
    Posts
    112

    Default

    WHM is destroying my httpd.conf file when I try to add an SSL certificate. It erases the ENTIRE file except for the SSL information it's adding?! I've found reports of this exact thing happening since as far back as June 04. Is this being worked on?
    Last edited by xWho; 01-07-2005 at 08:50 AM.

  3. #3
    Registered Member
    Join Date
    Apr 2003
    Posts
    112

    Default

    I just restored my httpd.conf file to an older one and tried to reinstall the SSL certificate and once again WHM is deleting everything in the httpd.conf file except what it adds for the SSL. Can I just restore the httpd.conf file and cut-and-paste what WHM is trying to add onto the end of it for SSL?

  4. #4
    Registered Member sawbuck's Avatar
    Join Date
    Jan 2004
    Posts
    1,354
    cPanel Access Level

    Root Administrator

    Default

    Quote Originally Posted by xWho
    Can I just restore the httpd.conf file and cut-and-paste what WHM is trying to add onto the end of it for SSL?
    Probably - then run httpd configtest before restarting Apache.

  5. #5
    Registered Member cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,222

    Default

    It is rather difficult to throw ideas on the table about possible fixes to your problem. It seems that Apache is not configured properly, or system files got corrupted causing this problem. Have you tried re-building Apache? Do you have fresh RPM packages that are not corrupted?

    If you don't know how, you might do more damage to your server. I suggest you hire a sys admin to look into this problem.
    Andy Reed
    CCNA, RHCE, and Ubuntu Technologist
    ServerTune.com

Similar Threads

  1. Replies: 3
    Last Post: 05-02-2013, 08:16 AM
  2. Error line on log file making Apache to restart
    By ASTRAPI in forum EasyApache
    Replies: 1
    Last Post: 12-10-2011, 04:54 PM
  3. Restart Apache correctly from script file (via cron)
    By jameshurrell in forum EasyApache
    Replies: 3
    Last Post: 08-15-2011, 02:35 PM
  4. Apache Graceful restart requested in log file
    By davidallen39 in forum EasyApache
    Replies: 3
    Last Post: 11-29-2010, 07:30 AM
  5. Apache won't restart after update - log details
    By steved1956 in forum EasyApache
    Replies: 2
    Last Post: 08-12-2004, 04:34 PM
bargain