The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache Failing after /easyapache

Discussion in 'EasyApache' started by flashweb, Jun 12, 2003.

  1. flashweb

    flashweb Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    243
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hi,

    My Apache start failing after i run

    /scripts/easyapache

    today.

    My httpd.conf become ZERO in size.

    How do i correct that ?

    Regards,

    Yujin

    cPanel.net Support Ticket Number:
     
  2. tAzMaNiAc

    tAzMaNiAc Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sachse, TX
    If you did backups.. you will be able to untar that file and put it back.

    Brenden

    cPanel.net Support Ticket Number:
     
  3. flashweb

    flashweb Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    243
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hi,

    I have done a rollback of httpd.conf from WHM "Configuration File Rollback"

    After that restarted httpd, few times Apache failed after starting, now seems working fine.

    Regards,

    Yujin

    cPanel.net Support Ticket Number:
     
  4. acer2k

    acer2k Well-Known Member

    Joined:
    Nov 12, 2001
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    My httpd.conf is fine. However, it keeps crashing and restarting. I had this problem once before and I guess cPanel updated something because it finally quit on its own. Now it's back to doing it again after I did the easyapache script.

    cPanel.net Support Ticket Number:
     
  5. LS_Drew

    LS_Drew Well-Known Member

    Joined:
    Feb 20, 2003
    Messages:
    187
    Likes Received:
    0
    Trophy Points:
    16
    tail -f /usr/local/apache/logs/error_log

    let that run and it should tell you what the error is.

    cPanel.net Support Ticket Number:
     
  6. acer2k

    acer2k Well-Known Member

    Joined:
    Nov 12, 2001
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    Segfaults..as always.

    cPanel.net Support Ticket Number:
     
  7. Paul Kurucz

    Paul Kurucz Member

    Joined:
    Aug 24, 2002
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Re: Apache won't restart - another one!

    Hello folks,

    We upgraded using /scripts/easyapache yesterday and the server worked. Today tried to do a switch of our Cpanel theme for our accounts, but 20 accounts into the switch the script that does the switch started cycling back to the first account and started over in an endless loop.

    The switch of themes and/or the related/unrelated upgrade now crashed Apache and we can't get it started again. httpd.conf was empty (but we successfully restored yesterday's version) however now we still get the following error whenever we try to restart Apache:

    [Sun Jun 15 12:47:24 2003] [alert] (2)No such file or directory: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    [Sun Jun 15 12:47:25 2003] [alert] Child 25602 returned a Fatal error...
    Apache is exiting!

    Any ideas???? Yikes! Our web sites (all 330 of them) are down!!

    PLEASE help!! (Thanks!)

    Paul Kurucz

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
     
  8. flashweb

    flashweb Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    243
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    There is some problem with this version of Apache.

    My problem is solved by restoring httpd.conf and trying following commands frew times

    service httpd stop
    service httpd start

    Repeat it few times and initially few times apache exited after some time, but then get stable, i don't know how starting and stoping apache solved the problem.

    Now my apache working fine.

    Regards,

    Yujin

    cPanel.net Support Ticket Number:
     
  9. Paul Kurucz

    Paul Kurucz Member

    Joined:
    Aug 24, 2002
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Well looked very closely at httpd.conf and ran httpd.conf -t and it showed a non-existing account that was deleted this morning. Actually two accounts were deleted but were not removed from the httpd.conf file. After removing manually Apache Worked :) phew. However I think there are still some problems with Cpanel and Apache.

    cPanel.net Support Ticket Number:
     
  10. carlgm

    carlgm Well-Known Member

    Joined:
    Mar 25, 2003
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    England, UK
    Make sure you have FD_SET_SIZE raised. ;)

    cPanel.net Support Ticket Number:
     
  11. compunet2

    compunet2 Well-Known Member

    Joined:
    Feb 21, 2003
    Messages:
    310
    Likes Received:
    0
    Trophy Points:
    16
    Is it safe to run easyapache now or are there still bugs???

    cPanel.net Support Ticket Number:
     
  12. flashweb

    flashweb Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    243
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    What should be the value of FD_SET_SIZE ?

    Few days back, i run on another server and easyapache run smoothly.

    In my server it caused a lot of problems like httpd.conf missing, /usr filled with core.* and apache failing.

    I have JSP installed on the server, don't know that causes the problem.

    cPanel.net Support Ticket Number:
     
  13. carlgm

    carlgm Well-Known Member

    Joined:
    Mar 25, 2003
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    England, UK
    Just select RAISE FD_SET_SIZE
    /scripts/easyapache
    option 6.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page