valorin Posted February 3, 2009 Share Posted February 3, 2009 We recently upgraded our version of WHMCS to v3.8.1 and now we are having problems with the cPanel module. Every time we attempt "Create" or "Terminate" the page hangs for a while before returning this error: Module Command Error An unknown error occured The action does happen on the server, i.e. it does create and terminate the account, just for some reason it fails to return a success and it hangs. The real problem with this is that orders which are automatically created are not being marked as 'complete' and our staff are wasting time dealing with them when before they'd simply automatically complete and not become a problem. Any ideas how I can get this resolved? 0 Quote Link to comment Share on other sites More sharing options...
msmom Posted February 3, 2009 Share Posted February 3, 2009 I had a similar error (mine was Module Command Error - couldn't connect to port, or something like that) - you might check that both incoming and outgoing ports are set to 2086 0 Quote Link to comment Share on other sites More sharing options...
valorin Posted February 3, 2009 Author Share Posted February 3, 2009 It is connecting fine and performing the actions on the server, it appears to be timing out before a decent response is received. 0 Quote Link to comment Share on other sites More sharing options...
AndrewMKP Posted February 3, 2009 Share Posted February 3, 2009 I also learned today you need port 2087 in inbound and outbound as well. Sounds like a firewall issue Valorin? 0 Quote Link to comment Share on other sites More sharing options...
valorin Posted February 3, 2009 Author Share Posted February 3, 2009 It is not a firewall issue - we've checked that already, and it wouldn't be working on the server if it was anyway! I tried it with another one of our cpanel servers and it worked fine, so there looks to be something wrong with the configuration of the server (either whmcs side or cpanel side). 0 Quote Link to comment Share on other sites More sharing options...
AndrewMKP Posted February 4, 2009 Share Posted February 4, 2009 Well no offence but if it is executing but timing out and hanging as you decribed something is obviously killing/blocking the process from finishing. The logical conclusion would be your firewall/process monitoring software. We use CSF and it is used as a firewall but it also monitors process' and kills them should they become executable and run suspicious commands that are not recognised. Maybe try disabling your firewall/monitoring software completely and see if it that solves your issue. Unless you have any other ideas? If its not then it's likely to be something either related to to your WHMCS .php files, so maybe re-upload all the latest .php files, clear the templates_c (cache) folder and also try running an update of whm/cpanel. Anyone else have any ideas? Regards Andrew 0 Quote Link to comment Share on other sites More sharing options...
MonkeyMagic Posted March 25, 2009 Share Posted March 25, 2009 Valorin - did you solve your problem? We seem to be having the exact same issue with one particular server. Every other cpanel/WHM server is working perfectly, but when we try to create an account on this server it returns the following error: Module Command Error An unknown error occured On further inspection, WHMCS is definately connecting 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 returns the error above, 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. Any ideas? 0 Quote Link to comment Share on other sites More sharing options...
valorin Posted March 25, 2009 Author Share Posted March 25, 2009 No, we switched servers we were actively provisioning on to one that works without the problem. We still don't know what caused it, as both were running identical environments. 0 Quote Link to comment Share on other sites More sharing options...
MonkeyMagic Posted March 26, 2009 Share Posted March 26, 2009 Thanks for responding Valorin. Strange indeed as our server too is the same as all the others - so why this one has a problem I am not sure. 0 Quote Link to comment Share on other sites More sharing options...
MonkeyMagic Posted March 28, 2009 Share Posted March 28, 2009 Some good news. With the excellent support of Matt and the team, they were able to diagnose the problem ... not the solution, but the problem. With that problem, I was able to speak with cPanel directly and had their support team check over it. In the end, the problem is that the cPanel account create API call (/xml-api/createacct) was terminating without any response at all. cPanel indicated that this is a known problem is some specific builds - solution - upgrade cPanel AND WHM to that latest version ... we were like .3 off of the latest version or something. So we upgraded, and everything worked straightaway. Cheers 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.