Problem with DirectAdmin API

HostHK

Verified User
Joined
Jan 1, 2010
Messages
13
Hello all!

I have several DirectAdmin servers, all setup exactly the same. I am having problems with just 1 server.

I use WHMCS to manage my servers/customers. However, my WHMCS cannot set-up accounts automatically on this 1 server. WHMCS works great on every other machine.

I have another DirectAdmin server which I want to copy it's DNS data from, to this problem server. Each time I try, I get this error message.

Unable to get api result. Check your configuration options

I am certain the details are correct!

I went 1 further and tried out this script: http://ip-66-51-122-131.tera-byte.com/forum/attachment.php?attachmentid=281&d=1136513044

Strangely, I can get a result! I am baffled as to what's going on! Any help would be really appreciated!
 
Hello,

it's possible DA blacklisted the whmcs box.
Check /usr/local/directadmin/data/admin/ip_blacklist to make sure the IP isn't in there.

Failing that, run DA in debug mode to see what's up:
http://help.directadmin.com/item.php?id=293

it may give you more info on the failed connection.

Also, check the DirectAdmin logs:
/var/log/directadmin/error.log

John
 
I cant see anything.

There is no blacklist file, not one that I can find anyway!

And the logs do not show any connection between my WHMCS box and itself, but I do see logs showing my loggin in, and now the DNS is syncing, which is good.

But still having problems with WHMCS.

So now I have a DA box, and a box running WHMCS, and they dont interact with each other.

My WHMCS box runs on a CPanel server in the US. My DA box is located in Hong Kong and has no problem pinging, or SSHing to the WHMCS box from it.

On the other hand, my WHMCS box can ping the DA box, but it CANT SSH into it, though it can ssh into other boxes I have.

I have not installed any firewalls on my DA box, and i have distabled IPTABLES.

Whats going on?
 
Back
Top