Due to some reason we were not able to see website accounts in WHM (Account Information->List Accounts). It may be due to a CPanel update. We have to run below script to fix it:
1. Log into server via SSH.
2. Executed the following:
/scripts/rebuildcpusers
This script will rebuilt the database after reading user accounts from source /var/cpanel/users directory.
1. Log into server via SSH.
2. Executed the following:
/scripts/rebuildcpusers
This script will rebuilt the database after reading user accounts from source /var/cpanel/users directory.