cPanel modified 2 accounts, now all sites broken. Help!

Discussion in 'Apache' started by BenjArriola, Oct 11, 2006.

  1. #1
    I have a cPanel dedicated server. I have 2 web hosting accounts where I modified the domains placing the work backup before them and the word back before the user name.

    Example:

    domain1.com with login: user1

    I changed to:

    backupdomain1.com with login backuser1

    And

    domain2.com with login: user1

    I changed to:

    backupdomain2.com with login backuser2

    After doing that, I switched them back to the original. And this is where all the problems started.

    I could not visit all hosting accounts (200+ of then)

    I tried to restart httpd and I was getting Invalid group errors for Group domain1 and Group domain2.

    After fixing that, still visiting all sites gives me browser timeout errors.

    Techsupport of the datacenter was useless, and they recommend that i order a slave drive, do backups and they will reformat the whole thing again.

    Maybe someone knows the exact problem when accounts are modified and modified back, then all accounts suddenly do not work anymore.

    I have SSH access to the server and knows how to edit the httpd.conf file.

    I'm screwed. I got 200+ people complaining already. :(
     
    BenjArriola, Oct 11, 2006 IP
  2. BenjArriola

    BenjArriola Peon

    Messages:
    175
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I got it fixed, but I was not sure how I got it fixed. But I was looking at the most recent httpd.conf backup and there was one just 3 weeks ago named httpd.conf- and I used that. I requested a hard reboot from the Datacenter. Restarted apache, and it was still not fixed.

    I decided to switch back the httpd.conf files to the original ones and it got fixed.

    I think all I needed was a reboot.

    I had no sleep, was not able to go to work. But at least it is fixed again. :D

    But the lesson I learned is...

    If you run cPanel, and login in WHM and do a modify account.

    Changing domain settings and username settings can mean disaster. This is the second time this has happened to me.

    I suggest, doing a back up, terminate account and create a new one instead, if ever you need to do domain and login changes.
     
    BenjArriola, Oct 11, 2006 IP