WHM/cPanel server list accounts option shows zero sites

Follow

Sometimes during an update things can go wrong - a case in point is this error. 
You log into your WHM account - click on "List Accounts" and the list comes back empty.

What do you do? Thankfully this is a relatively simple fix. The most common problem is the file /etc/userdomains has been modified or reset and is now empty.

To fix it we just need to run one script - follow these steps:

 

* Log into the server via SSH (using putty)
* Type in this command and hit enter: cd /scripts
* Type in this command and hit enter: ./updateuserdomains
* Type in this command and hit enter: exit

Go back to your browser window and click the "List Accounts" menu option again - all your accounts will now be displayed again. 

Have more questions? Submit a request

Comments

Powered by Zendesk