Skip to main content

Error adding account

Comments

14 comments

  • Mark Coates
    Hi Just a quick update overnight the WHM did an update and told me to run this command to fix some RPM. /usr/local/cpanel/scripts/check_cpanel_rpms --fix I have done this and now only get this error. WHM Account Creation Status: failed (XID 6crzgk) The domain "example.com" already exists in the userdata. WHMCS (XID aqg5my) The domain "example.com" already exists in the userdata. @cPanelLauren i can see you have done something like this before but i did not understand the page it sent me to and couldnt find anything else. The page it sent me to was WHM API 1 Functions - domainuserdata - Developer Documentation - cPanel Documentation
    0
  • cPanelLauren
    Hi @Mark Coates It sounds like when the account was added through WHMCS it was only partially added. Can you run the following and let me know if there is any output? /scripts/whoowns example.com
    If you go to the following locations do you see userdata for the account? /var/cpanel/users
    /var/cpanel/userdata/
    0
  • Mark Coates
    Can you run the following and let me know if there is any output? /scripts/whoowns example.com

    this one comes back with nothing when its run (obviously changing the domain name) on the second lot of commands /var/cpanel/users the user is not in the above location but the user is in this location /var/cpanel/userdata/ i have worked around this now as this was only a temp account although the folder is still there. am i ok to delete this folder or is there a way to do it properly
    0
  • cPanelLauren
    i have worked around this now as this was only a temp account although the folder is still there. am i ok to delete this folder or is there a way to do it properly

    Delete that folder then try and readd the account manually and let me know if you run into further issues.
    0
  • Mark Coates
    Hi i have deleted the account and tried making an account through WHMCS and it failed (image attached) i tried making a different manual account through WHM and still no luck. I have attached images of both. i have checked the folder you mentioned before and no accounts are in there either.
    0
  • cPanelLauren
    Hi @Mark Coates This error is different and seems to be referencing an inability to connect to PostgreSQL are you using that or MySQL? If you go to WHM>>Service Configuration>>Service Manager what is selected for PostgreSQL?
    0
  • Mark Coates
    Hi Lauren it"s enabled and monitor
    0
  • cPanelLauren
    Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved. Thanks!
    0
  • Mark Coates
    hi @cPanelLauren the ticket is 12434373
    0
  • cPanelLauren
    Thanks @Mark Coates I see someone is already working on it and I'll update here with the outcome.
    0
  • Mark Coates
    Hi @cPanelLauren When this came to be checked everything was working so i can only presume the overnight cpanel update fixed this issue.
    0
  • cPanelLauren
    Hi @Mark Coates Well, in that case, if it does occur again please let us know as soon as possible.
    0
  • cPanelLauren
    i am facing some issue about adding accounts. can anybody solve my issues.

    I'd suggest reading this:
    0
  • Mark Coates
    i am facing some issue about adding accounts. can anybody solve my issues.

    I notice some issues I have including this is is to update cPanel through whm and then a reboot
    0

Please sign in to leave a comment.