Mark Coates

Well-Known Member
Mar 13, 2019
98
12
8
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.
 

Attachments

Last edited:

Mark Coates

Well-Known Member
Mar 13, 2019
98
12
8
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
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
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/
 

Mark Coates

Well-Known Member
Mar 13, 2019
98
12
8
Doncaster
cPanel Access Level
Root Administrator
Can you run the following and let me know if there is any output?

Code:
/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
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
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.
 

Mark Coates

Well-Known Member
Mar 13, 2019
98
12
8
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.
 

Attachments

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
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?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
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!
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston