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.

CPanel User Files - Restoring?

Discussion in 'General Discussion' started by idn, Jun 1, 2003.

  1. idn

    idn Well-Known Member

    Joined:
    Aug 18, 2001
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    What to do, what to do.....

    Is there anything that can be done to rebuild CPANEL USER FILES (the ones that contain the username, ip, reseller/owner, etc) if all I have is the /home/ drives for them......

    My datacenter reinstalled cpanel, therefore all of the /usr/ files for cpanel were cleared... Im stuck in a shit hole, and i dont think its going to be easy to get out..

    any info would be greatly appreciated.

    cPanel.net Support Ticket Number:
     
  2. idn

    idn Well-Known Member

    Joined:
    Aug 18, 2001
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    alright..

    i have the /var/cpanel/user files back,however apache still tells me that the usernames in the CONF file are bad.

    cPanel.net Support Ticket Number:
     
  3. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    That's probably because those users and groups have not been recreated on the system.

    Any time a system is rebuilt the accounts also need to be recreated. Check in /etc/passwd and you'll probably see that the user ids are not in there.

    cPanel.net Support Ticket Number:
     
  4. idn

    idn Well-Known Member

    Joined:
    Aug 18, 2001
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Yep, that was the prob. I realized that about 5 mins after I posted, and ran the rebuildetcpasswd script.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page