anzenketh Posted July 25, 2010 Share Posted July 25, 2010 When I try to suspend/create/terminate/change password for a hosting plan I get the following error. If I go into servers and click on the whm link i can get in just fine. Module Command Error Login Failed 0 Quote Link to comment Share on other sites More sharing options...
b.ahmed Posted July 25, 2010 Share Posted July 25, 2010 Make sure that the account details such as domain, username and package are same in WHMCS admin area and in WHM. If your server have cPanel then use then fill in the password & key field in your WHMCS Admin server section. 0 Quote Link to comment Share on other sites More sharing options...
anzenketh Posted July 25, 2010 Author Share Posted July 25, 2010 The problem is also with creating an account. 0 Quote Link to comment Share on other sites More sharing options...
b.ahmed Posted July 25, 2010 Share Posted July 25, 2010 Re-Generate the Access Hash key and update it in WHMCS server area. If this doesn't solve your problem then there is problem in your server PHP settings. Would you like to tell me where are you hosting your website or do you have your own VPS / Dedicated server. 0 Quote Link to comment Share on other sites More sharing options...
anzenketh Posted July 25, 2010 Author Share Posted July 25, 2010 (edited) I have already regenerated the key. That did not solve the issue. It is a VPS/Dedicated so I can do all sorts of things to it. On a side note. This is a reinstall of whmcs using a manual backup of the database. I do not think that that caused the issue however. I also get the following error when attempting to import accounts. Warning: Invalid argument supplied for foreach() in /home/virtualo/public_html/billing/admin/whmimport.php on line 0 Edited July 25, 2010 by anzenketh Additional info. 0 Quote Link to comment Share on other sites More sharing options...
b.ahmed Posted July 25, 2010 Share Posted July 25, 2010 if you own your server then please check your server settings in Main >> Server Configuration >> Tweak Settings I have attached a snap shot of security settings under Tweak Settings of one of my server where WHMCS is installed and working fine. Your WHMCS was working fine before moving it to new location? 0 Quote Link to comment Share on other sites More sharing options...
anzenketh Posted July 25, 2010 Author Share Posted July 25, 2010 Duplicated Tweak setting same error. It was not moved to a new location it was reinstalled same location. A fresh reinstall also has this issue. 0 Quote Link to comment Share on other sites More sharing options...
b.ahmed Posted July 25, 2010 Share Posted July 25, 2010 Ok, You said you restored the database right? In your WHMCS installation directory there is a configuration.php and it contains a line like this: $cc_encryption_hash = "dfdfdfddfdf4P1s6fdfdfdfdfddfd43434fdd1d90hb3434dTMdfdfdfdfdEUun3434hu"; You have to change this line with the same line in your OLD configuration.php file from previous installation. When you use the database of old installation then you have to copy this line from old configuration.php file. I'm sure this will solve your problem. do tell me what happened. 0 Quote Link to comment Share on other sites More sharing options...
anzenketh Posted July 25, 2010 Author Share Posted July 25, 2010 Nope problem still exists. Account was not created in whm. 0 Quote Link to comment Share on other sites More sharing options...
b.ahmed Posted July 25, 2010 Share Posted July 25, 2010 There must be some misconfiguration. You must open a support ticket and provide WHMCS staff with your details. I hope they will help you out. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted July 26, 2010 WHMCS Support Manager Share Posted July 26, 2010 The Login Failed error means the login details under Setup > Servers > Edit is incorrect. 0 Quote Link to comment Share on other sites More sharing options...
adabisnis Posted April 1, 2011 Share Posted April 1, 2011 Please check the details on the server the account is being created on in Setup -> Servers. If these are correct, please check for any Brute Force protection on your server and ensure that the IP that WHMCS is installed on is correct. 0 Quote Link to comment Share on other sites More sharing options...
davet Posted April 14, 2011 Share Posted April 14, 2011 Under the Server details in WHMCS make sure you have the username specified. It cannot be blank. You need to enter the username as well as the current Access Key you can get from within WHM > Setup Remote Access Key. 0 Quote Link to comment Share on other sites More sharing options...
pbnet Posted November 21, 2011 Share Posted November 21, 2011 I'm not sure if this will help anyone... but I was having an issue with this as well. Trying to run any Module Commands failed. Fortunately, as it seems, a simple fix was: - under Setup - Servers - Edit the server you're using - Tick to use SSL Mode for Connections I recently recompiled server software to use Curl and Curl SSL. This was done as part of making some changes to secure the server. 0 Quote Link to comment Share on other sites More sharing options...
farnood Posted March 10, 2012 Share Posted March 10, 2012 I have a same problem /admin/configservers.php we server IP is correct Server Details Type is Cpanel Username root is ok and password is ok and Access Hash (Instead of password for cPanel servers) is correct copy from Main >> Cluster/Remote Access >> Setup Remote Access Key and set tick Tick to use SSL Mode for Connections but when we Create/Suspend/Unsuspend/Terminate/Change Package/Change Pasword show this Error : Module Command Error Login Failed Please Help Me 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted March 10, 2012 Share Posted March 10, 2012 most cpanel servers now require ssl login try ticking "secure" 0 Quote Link to comment Share on other sites More sharing options...
cutstock Posted April 7, 2012 Share Posted April 7, 2012 I have the same problem... I just did an upgrade the other day to v.5.0.3. I went in to a client's account and clicked "terminate" for product and got the same error. I changed the hash code, changed the root password, ticked the use SSL Mode and still have this issue, please help. 0 Quote Link to comment Share on other sites More sharing options...
SiCkShOt Posted April 10, 2012 Share Posted April 10, 2012 Same... I've never had this problem, I haven't run an update and this randomly started happening. Ever since cPanel updated to the new interface none of my WHMCS's have been able to run commands, I keep getting login failed. 0 Quote Link to comment Share on other sites More sharing options...
SiCkShOt Posted April 10, 2012 Share Posted April 10, 2012 Just remembered. I had someone on one of our clients blogs get in and try bruteforcing the root password so CPHulk blocked the server ip. Therefor a server trying to login to itself wouldn't create the account. Flush or remove your server from cphulk or the firewall and try again. I feel foolish for wasting 45 minutes to find that out when it was so simple. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted April 10, 2012 Share Posted April 10, 2012 does it correctly login to WHM when you click the WHM button on setup>servers ? 0 Quote Link to comment Share on other sites More sharing options...
cutstock Posted April 10, 2012 Share Posted April 10, 2012 Yes, mine does successfully log in. 0 Quote Link to comment Share on other sites More sharing options...
cutstock Posted April 10, 2012 Share Posted April 10, 2012 I just did the cphulk flush and it now works... thanks SickShot! 0 Quote Link to comment Share on other sites More sharing options...
gobbly2100 Posted April 11, 2012 Share Posted April 11, 2012 Excellent, a flush fixed it right away! 0 Quote Link to comment Share on other sites More sharing options...
rldev Posted April 23, 2012 Share Posted April 23, 2012 This doesn't work for me. I have cphulk disabled anyway. IP is whitelisted in CSF Firewall. This started happening after updating to version 5. 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.