Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Jul 2003
    Posts
    89

    Default httpd.conf corruption

    A strange thing is happening on a server that we have. We have 360 users on a quad server. Sometimes the httpd.conf file will be corrupted. Today, I went into whm and it said I only had 20 accounts.

    This has happened twice on this server. Last time, it said I had 120 accounts.

    Luckily, I make a backup of the configuration files daily and I was able to restore.

    There are no apparent rootkits installed. To be on the safe side, I am going to move all accounts from this server to another server, but we must find out what is causing this httpd.conf corruption!!!!!!

    Sincerely,


    Mark Langston
    Host It Now Networks

  2. #2
    Member
    Join Date
    Dec 2001
    Posts
    1,558

    Default

    You could run badblocks to check for a corrupt filesystem. I haven't had this happen in a while, but in my case, its happened on drives going bad. This may also be caused by 2 people ( perhaps resellers ) creating an account at the same time, which would cause problems. I believe a proposed fix exists in the bugzilla system, perhaps you can have a look and vote for the bug if ya find it
    Beau Henderson

  3. #3
    Member
    Join Date
    Jul 2003
    Posts
    89

    Default

    Thanks for the advice. I did check badblocks, and everything seems to be fine! We don't have any resellers on this server and the server is at compacity, so we have not been adding users. This is really weird stuff. At first I believed that maybe I had an employee that was goofing with the production box, but I reviewed his bash history and he did not su into root.

    Really weird stuff.

  4. #4
    Member
    Join Date
    Sep 2003
    Posts
    658

    Default

    This happened to us when we edited the packages. We found that http.config would drop half the accounts when we did this. Now we only upgrade or downgrade one account at a time.

  5. #5
    Member
    Join Date
    Jul 2003
    Posts
    89

    Default We were NOT upgrading any accounts at time of corruption

    We were NOT upgrading any accounts at time of corruption.

  6. #6
    BANNED
    Join Date
    Feb 2004
    Posts
    349

    Default

    This has happened to us on at least two occasions. Forunately, we had a saved httpd.conf file on both occassions. We were missing about 150 domains and it was nearly impossible to work out which domains those were but after we restored the backup httpd.conf everthing was smooth sailing from there. Suggestion, always backup httpd.conf before rebuilding Apache. To this day we dont know what caused it.

  7. #7
    Member Silverado's Avatar
    Join Date
    Mar 2003
    Location
    Backyard - Poolside
    Posts
    191

    Default

    We justg rolled back the apache conf within our WHM on one server missing almost 200 accounts and within a few seconds and it was all there, back again to normal.
    I would have prefered to had a backup of the httpd.conf but we didn't.
    After all is said and done, a lot more will be said than done.

  8. #8
    iko
    iko is offline
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jan 2004
    Posts
    56

    Default

    Although we have a backup of httpd.conf we need to use it a lot of times and this doesn't solve the problem. The problem is somewhere in cpanel, I believe. Httpd.conf regularly becomes corrupted. It is not a particular problem. It is a widespread problem that will affect you soon if you are not affected. Many users are complaining about this and I am surprised that cPanel stuff have NOT done anything to fix it.

Similar Threads & Tags
Similar threads

  1. Faulty httpd.conf - can't rebuild with rebuildhttpd.conf
    By movielad in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-21-2011, 01:43 PM
  2. Preserve amends to /etc/httpd/conf/httpd.conf ?
    By robocrop in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-14-2010, 03:08 AM
  3. httpd.conf sites/www.domain.com.conf Wildcard DNS
    By ttremain in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-16-2008, 12:19 PM
  4. Daily httpd restart changes AllowOverride None to All in httpd.conf
    By Lasers in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 02-26-2007, 01:17 PM
  5. urgent! cpanel/httpd down...corruption
    By NoAgendas in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-05-2006, 09:44 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube