Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Error adding account

Discussion in 'General Discussion' started by Mark Coates, May 25, 2019.

  1. Mark Coates

    Mark Coates Well-Known Member

    Joined:
    Mar 13, 2019
    Messages:
    76
    Likes Received:
    10
    Trophy Points:
    8
    Location:
    Doncaster
    cPanel Access Level:
    Root Administrator
    hi all,

    I think i may have had an issue updating to cPanel 80. Everything seems to be ok untill a new account is to be created. I get this error both through WHMCS.

    Order Accept Encountered Problems
    API failure: Can't locate IO/SigGuard/syswrite.pm in @INC (you may need to install the IO::SigGuard::syswrite module) (@INC contains: /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0 /opt/cpanel/perl5/528/site_lib/x86_64-linux-64int /opt/cpanel/perl5/528/site_lib) at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/IO/SigGuard.pm line 118.

    This makes no sense to me although i hope someone knows what it means.

    When i make it manually through whm i get this far and then nothing happens.(image)

    when i refresh the page it says there is already an account with that username when there is not. this is the error message.

    Account Creation Status: failed

    (XID u5fxz4) This system already has an account named “alzamzam”. at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 610.

    I have looked on my vps and this file above does not exist either.
     

    Attached Files:

    #1 Mark Coates, May 25, 2019
    Last edited: May 25, 2019
  2. Mark Coates

    Mark Coates Well-Known Member

    Joined:
    Mar 13, 2019
    Messages:
    76
    Likes Received:
    10
    Trophy Points:
    8
    Location:
    Doncaster
    cPanel Access Level:
    Root Administrator
    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
     
  3. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,262
    Likes Received:
    482
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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?

    Code:
    /scripts/whoowns example.com
    If you go to the following locations do you see userdata for the account?

    Code:
    /var/cpanel/users
    Code:
    /var/cpanel/userdata/
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Mark Coates

    Mark Coates Well-Known Member

    Joined:
    Mar 13, 2019
    Messages:
    76
    Likes Received:
    10
    Trophy Points:
    8
    Location:
    Doncaster
    cPanel Access Level:
    Root Administrator
    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
     
  5. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,262
    Likes Received:
    482
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Delete that folder then try and readd the account manually and let me know if you run into further issues.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Mark Coates

    Mark Coates Well-Known Member

    Joined:
    Mar 13, 2019
    Messages:
    76
    Likes Received:
    10
    Trophy Points:
    8
    Location:
    Doncaster
    cPanel Access Level:
    Root Administrator
    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.
     

    Attached Files:

  7. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,262
    Likes Received:
    482
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Mark Coates

    Mark Coates Well-Known Member

    Joined:
    Mar 13, 2019
    Messages:
    76
    Likes Received:
    10
    Trophy Points:
    8
    Location:
    Doncaster
    cPanel Access Level:
    Root Administrator
    Hi Lauren it’s enabled and monitor
     
  9. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,262
    Likes Received:
    482
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Mark Coates

    Mark Coates Well-Known Member

    Joined:
    Mar 13, 2019
    Messages:
    76
    Likes Received:
    10
    Trophy Points:
    8
    Location:
    Doncaster
    cPanel Access Level:
    Root Administrator
  11. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,262
    Likes Received:
    482
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Thanks @Mark Coates

    I see someone is already working on it and I'll update here with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Mark Coates

    Mark Coates Well-Known Member

    Joined:
    Mar 13, 2019
    Messages:
    76
    Likes Received:
    10
    Trophy Points:
    8
    Location:
    Doncaster
    cPanel Access Level:
    Root Administrator
    Hi @cPanelLauren

    When this came to be checked everything was working so i can only presume the overnight cpanel update fixed this issue.
     
  13. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,262
    Likes Received:
    482
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Mark Coates

    Well, in that case, if it does occur again please let us know as soon as possible.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Mark Coates likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice