SOLVED Why is WHMCS suspending my accounts?

3clouds

Member
May 28, 2019
13
2
3
India
cPanel Access Level
Root Administrator
Hi Guys,

My clients account automatically suspended. The suspension reason is: Over Due Payment

First I thought This is WHMCS error. Because the service was already paid. I contacted WHMCS and they said, It is not their errors! There is something outside which creating this issue!

I received some weird emails from WHM:

20:51 - Account Terminated domain.com
20:51 - New account domain.com
20:52 - Upgrade/Downgrade domain.com (I checked, upgrade is from Same Package to Same Package)

I am facing too much trouble now. Please create a private ticket for me and fix this thing!

Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,912
2,241
363
Hello @3clouds,

Can you submit a support ticket using the instructions on the link below so we can take a closer look?

Submit A Ticket

Post the ticket number here once it's opened and I'll follow-up.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,912
2,241
363
Thanks. Please correspond directly through the ticket and I'll update this thread with the outcome once it's closed.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,912
2,241
363
Hello :)

To update, the /usr/local/cpanel/logs/api_tokens_log log file indicated multiple WHMCS installations were authorized to perform actions on this cPanel & WHM server using the same API token. Here's an example of the output you'll notice in this log file for anyone experiencing the same issue:

Rich (BB code):
info [whostmgrd] Host: ['1.2.3.4'] HTTP Status: ['200'], User: ['root'], Token Name: ['token_name_01-01-2019'], Request: ['POST /json-api/suspendacct HTTP/1.1']
info [whostmgrd] Host: ['4.5.6.7'] HTTP Status: ['200'], User: ['root'], Token Name: ['token_name_01-01-2019'], Request: ['POST /json-api/suspendacct HTTP/1.1']
1.2.3.4 and 4.5.6.7 represent the IP addresses of two different hosts, and token_name_01-01-2019 represents the name of the API token.

To prevent one of the hosts from performing additional actions, the shared API token must be removed and then re-created using the option documented on the link below:


Once you do this, browse to the WHMCS server configuration page to add the newly generated API Token in the necessary field.

Thank you.