testvto

Member
Jan 28, 2009
5
0
51
Hi,
I couldn't create cpanel account using createacct().Since no error messages are coming,i couldn't identify the problem.

Cpanel version and other info's are,
cPanel 11.24.4-R34387 - WHM 11.24.2 - X 3.9
CENTOS 5.2 x86_64 on standard

Please help me to solve this issue.
 

norgaard

Member
Mar 17, 2007
12
0
151
Try reinstalling cPanel.

In WHM 'Upgrade to latest version'. Mark 'Force a reinstall even if the system is update to date.' or

/scripts/upcp --force

or maybe cPanel scripts are broken? - /scripts/wwwacct

John
 
Last edited:

testvto

Member
Jan 28, 2009
5
0
51
I feel the problem is due to CURL.
In the server php is not compiled with curl.
In local the same account creation script works and account is created in the cpanel server.
So it WHM might not be having any problem.
Let us see whether installing curl will solve this issue or not.

Thank you for your reply.:)
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Hi,
I couldn't create cpanel account using createacct().Since no error messages are coming,i couldn't identify the problem.

Cpanel version and other info's are,
cPanel 11.24.4-R34387 - WHM 11.24.2 - X 3.9
CENTOS 5.2 x86_64 on standard

Please help me to solve this issue.
Is this createacct() from our WHM Accounting API or the /xml-api/createacct function from the XML API?
 

monkeymagic

Registered
Mar 27, 2009
2
0
51
Is this createacct() from our WHM Accounting API or the /xml-api/createacct function from the XML API?
We are having a similar problem on one particular server of ours.

We are using WHMCS (www.whmcs.com) which uses the /xml-api/createacct function to create accounts on the remote cPanel Server.

Creating the account on our server does not work, and on further inspection, WHMCS is definately connecting to the server, and it seems to be going through the process because we can see the domain being created in httpd.conf, etc/passwd, etc/group and more - but it does not seems to finish, and when checking for the domain in cpanel/whm, the domain account it is no where to be seen. It does not show up in 'List Accounts' nor in the DNS zones.

As far as we know, all servers are setup the same, so why this one server is having problem is very strange.

I contacted WHMCS Support and this is their exact response verbatim after they tried to fix the problem:

-----------------------------------------------------
When running the create command, a very unusual thing seems to be occuring and that is the cpanel account create API call terminating without any response. Here is the command sent and response received:

Request: /xml-api/createacct?username=whmcss&password=NLws9QIWe6gY&domain=whmcssupport.com&plan=Plan+Two&savepkg=0&featurelist=default&quota=1000&bwlimit=30000&ip=n&cgi=y&frontpage=y&hasshell=n&contactemail=newclient%40domain.com.au&cpmod=x3&maxftp=unlimited&maxsql=unlimited&maxpop=unlimited&maxsub=unlimited&maxpark=5&maxaddon=1&reseller=0&

Data:

This is very unusual not having seen it before so you'll need to contact cPanel to look into it for you. Normally it should always give a success or error message response - never blank.
-----------------------------------------------------

Does anyone have any ideas at all how to solve this?

Really need help on this one
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
We are having a similar problem on one particular server of ours.

We are using WHMCS (www.whmcs.com) which uses the /xml-api/createacct function to create accounts on the remote cPanel Server.

Creating the account on our server does not work, and on further inspection, WHMCS is definately connecting to the server, and it seems to be going through the process because we can see the domain being created in httpd.conf, etc/passwd, etc/group and more - but it does not seems to finish, and when checking for the domain in cpanel/whm, the domain account it is no where to be seen. It does not show up in 'List Accounts' nor in the DNS zones.

As far as we know, all servers are setup the same, so why this one server is having problem is very strange.

I contacted WHMCS Support and this is their exact response verbatim after they tried to fix the problem:

-----------------------------------------------------
When running the create command, a very unusual thing seems to be occuring and that is the cpanel account create API call terminating without any response. Here is the command sent and response received:

Request: /xml-api/createacct?username=whmcss&password=NLws9QIWe6gY&domain=whmcssupport.com&plan=Plan+Two&savepkg=0&featurelist=default&quota=1000&bwlimit=30000&ip=n&cgi=y&frontpage=y&hasshell=n&contactemail=newclient%40domain.com.au&cpmod=x3&maxftp=unlimited&maxsql=unlimited&maxpop=unlimited&maxsub=unlimited&maxpark=5&maxaddon=1&reseller=0&

Data:

This is very unusual not having seen it before so you'll need to contact cPanel to look into it for you. Normally it should always give a success or error message response - never blank.
-----------------------------------------------------

Does anyone have any ideas at all how to solve this?

Really need help on this one
I first recommend updating to the latest cPanel builds. If that does not resolve the issue, please let our technical analysts take a look at this for you:

http://tickets.cPanel.net/submit
 

monkeymagic

Registered
Mar 27, 2009
2
0
51
Great news - we upgraded to the very latest stable version as suggested - everything is working perfectly now.

Cheers