mrprez Posted March 17, 2010 Share Posted March 17, 2010 Anyone that is using CSF mind posting which ports you have open? For some reason, WHMCS cannot communicate to any remote servers. Even with CSF/LDF disabled, it cannot connect. TIA John 0 Quote Link to comment Share on other sites More sharing options...
bear Posted March 17, 2010 Share Posted March 17, 2010 If it's disabled and you can't connect, it's not CSF to blame, I'd suggest. What do your logs suggest, and do you get any errors? 0 Quote Link to comment Share on other sites More sharing options...
mrprez Posted March 17, 2010 Author Share Posted March 17, 2010 Yeah well that is what I say too. Can't find anything in the log files. All we get in WHMCS is Module Command Error. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted March 17, 2010 Share Posted March 17, 2010 Check your server settings, perhaps? Module command error doesn't mean it's not connecting, it means it can't do what you've asked, I believe. 0 Quote Link to comment Share on other sites More sharing options...
mrprez Posted March 17, 2010 Author Share Posted March 17, 2010 I've checked everything until I can't see anymore. Matt says it isn't connecting. I can't for the life of me figure out why. 0 Quote Link to comment Share on other sites More sharing options...
ScrltOTara Posted March 17, 2010 Share Posted March 17, 2010 We're having the same issues - WHMCS won't connect to do anything automated (suspend, create account, unsuspend) with any of our four servers. If you find anything out , let me know! We also tried disabling csf to no avail. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted March 18, 2010 Share Posted March 18, 2010 In WHM -> Tweak Settings Do you have this enabled? Require security tokens for all interfaces. This will greatly improve the security of cPanel and WHM against XSRF attacks, but may break integration with other systems, login applications, billing software and third party themes. If so try disabling it. 0 Quote Link to comment Share on other sites More sharing options...
ScrltOTara Posted March 18, 2010 Share Posted March 18, 2010 no, that's not set. 0 Quote Link to comment Share on other sites More sharing options...
mrprez Posted March 18, 2010 Author Share Posted March 18, 2010 (edited) Using netstat, I can see the server that has WHMCS connecting to the remote server. tcp 0 0 72.52.195.123:2086 72.232.221.250:25591 ESTABLISHED then when the command fails tcp 0 0 72.52.195.123:2086 72.232.221.250:25591 TIME_WAIT So, the problem is changed. The servers ARE connecting, but the commands are either not being sent from WHMCS or are not being handled by the remote server. Also, just to prevent some confusion, ScrltOTara, works for my client so we are talking about the same system. Edited March 18, 2010 by mrprez 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted March 18, 2010 Share Posted March 18, 2010 (edited) Do you have 2086 listed in TCP_OUT in /etc/csf/csf.conf? Also try turning csf's rules off with "csf -f" as root - then see if you can connect; if you can't, it's nothing to do with csf. grep TCP_OUT /etc/csf/csf.conf: TCP_OUT = "20,21,22,25,37,43,53,80,110,113,443,587,873,953,2082,2083,2086,2087,2089,2122,2703,20123" Let us know .. [not to ignore that you appear to have an established connection there, of course, just wondering if it would help] Edited March 18, 2010 by brianoz 0 Quote Link to comment Share on other sites More sharing options...
mrprez Posted March 18, 2010 Author Share Posted March 18, 2010 Did you read my last post? It is connecting. I was running netstat on the remote and local servers and saw the connection. It has nothing to do with CSF. Thanks for the input though. John 0 Quote Link to comment Share on other sites More sharing options...
ScrltOTara Posted March 18, 2010 Share Posted March 18, 2010 Just to add, we did try turning off the firewalls entirely on BOTH machines and that didn't help. So it's not a firewall issue. 0 Quote Link to comment Share on other sites More sharing options...
ScrltOTara Posted March 24, 2010 Share Posted March 24, 2010 Some additional information - I removed the root passwords in the server setup and entered the server hashs instead and it now won't log into any of the servers. I don't know if this is related. 0 Quote Link to comment Share on other sites More sharing options...
msmom Posted March 25, 2010 Share Posted March 25, 2010 When we first started seeing this issue was when cpanel was upgraded; Matt said that the API wasn't connecting and it was a Cpanel bug. I believe that has been fixed tho. 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted March 25, 2010 Share Posted March 25, 2010 Try turning off ssl just as a test; we had problems with curl not being compiled for ssl ... 0 Quote Link to comment Share on other sites More sharing options...
ScrltOTara Posted March 25, 2010 Share Posted March 25, 2010 No change when turning off SSL. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.