Jump to content

whmcs connect cpanel database problem


Daniel80

Recommended Posts

Hi fellows!

 

I have installed whmcs and now setting up everything and when i come to "servers" and under "server details"

and have cPanel selected under type with login and password.

When i press Test connection i got "FAILED: Array"

 

Have put in hostname, ipadress, ns1 and ns2 with ip.

 

I belive there something simple I'm just forgot?

 

All help is welcome :)

 

Best regards

Daniel

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi,

There are potentially a number of causes for this error:

 

  • The cPanel server has Force SSL Redirect enabled in WHM but the secure connection checkbox is not tick on the server in WHMCS
  • Firewall restriction: The WHMCS server's IP address needs to be able to communicate with cPanel
  • /etc/hosts.allow : WHM allows managing /etc/hosts.allow to deny all. You will need to add the WHMCS server's IP address to the /etc/hosts.allow list above the deny rule.
  • This can also be caused by SELinux being enabled on the cPanel server.
  • "Limit logins to verified IP addresses" is enabled in WHM under "Security Center >> Configure Security Policies". This either needs the IP under Help > License Information or to be disabled at your discretion.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated