PDA

View Full Version : WHMCS and HyperVM module - a few errors and fixes



Fli
03-18-2014, 03:48 PM
Hi, just experienced an issue (my fault)

VPS was not setup automatically after payment.


http://:8888/webcommand.php?login-class=client&login-name=&login-password=&output-type=json&action=add&class=vps&v-type=openvz&name=rtnlvpzz.vm&v-num_ipaddress_f=1&v-contactemail=***@rediffmail.com&v-password=***&v-ostemplate=centos-6-x86_64&v-syncserver=localhost&v-plan_name=

Curl Error: 6 - Couldn't resolve host ''


http://:8888/webcommand.php?login-class=client&login-name=&login-password=&output-type=json&action=simplelist&resource=resourceplan


Curl Error: 6 - Couldn't resolve host ''

The cause in my case? I did not added my new server into group which is selected on Product / MyVPS / Module Settings

63

Also you need to have that group in: Setup / Product/Services / Servers - and then you must have (A) your server added. (B) Created group and in this group add your server too.


From WHMCS support:

This error message (Curl Error: 6 - Couldn't resolve host) indicates that you don't have a server selected for the account to be setup on. There are a few points you should check:

* Ensure you have a default server set in Setup > Products/Services > Servers (denoted by an asterisk *) and that a server is selected on the account that you are trying to setup.

* If a server group has been configured ensure at-least one server has been added to the group.

* The module selected under Setup > Products/Services > Servers is the same as the module selected under Setup > Products/Services > Products/Services > Edit > Module Settings tab.

http://docs.whmcs.com/Common_Troubleshooting_Tips#Server_Command_Error_-_Curl_Error_-_Couldn.27t_resolve_host__.286.29