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.

rebuildcpusers script in the new version of whm 11.28 still available?

Discussion in 'General Discussion' started by kenzeng123456, May 12, 2011.

  1. kenzeng123456

    kenzeng123456 Registered

    Joined:
    May 12, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    rebuildcpusers script in the new version of whm 11.28 still available? If not, there are other additional scripts, can be reconstructed account?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The "rebuildcpusers" script is depreciated as of cPanel 11.28. Ideally, when restoring an account, you should restore the data from a cPanel generated backup file.

    If you are attempting to restore a cPanel user file that existed in "/var/cpanel/users", you can check to see if the following directory exists:

    /var/cpanel/users.cache

    If it does, you can attempt to restore the cPanel user file for the account via:

    Code:
    /scripts/restorecpuserfromcache
    Note: In cPanel 11.30+ , the "/scripts" directory has been relocated to "/usr/local/cpanel/scripts".

    Thank you.
     
  3. kenzeng123456

    kenzeng123456 Registered

    Joined:
    May 12, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Thank you for your answer.

    Because my CPanel account do not show, I want to rebuild the way, let him appear in the "List Accounts", and my CPanel version is 11.28.

    Please help, how to /var/cpanel/users/ folder of the account, back to the "List Accounts"?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    If the account is not displayed when accessing "List Accounts" in Web Host Manager, it does not always indicate the problem is with the cPanel user file. You can first check for the existence and content of the cPanel user file via:

    Code:
    cat /var/cpanel/users/username
    If it already exists, there is likely no need to restore it. There could be other causes, such as no entries found in the httpd.conf file for the domain name. You should also ensure there are no error messages when running:

    Code:
    /scripts/updateuserdomains
    Beyond that, free to open a support ticket for this problem so we can determine the exact cause of this for you:

    Submit a ticket

    Please do provide us with the ticket ID if you choose to open a ticket.

    Thank you.
     
Loading...

Share This Page