Rebuild cPanel userdata Files in 7 steps

1- Move the corrupt userdata directory to a new location

mv/var/cpanel/userdata/var/cpanel/userdata.orig

2-  Create a new userdata directory.

mkdir/var/cpanel/userdata

3- Run the userdata_update script to rebuild userdata files for all of your accounts.

/usr/local/cpanel/bin/userdata_update --reset

4- Run the fix_userdata_perms script to validate the userdata permissions settings.

/usr/local/cpanel/bin/fix_userdata_perms

5- Run the updateuserdatacache script to update the system's cache.

/scripts/updateuserdatacache

6- Rebuild Apache

/scripts/rebuildhttpdconf

7- Restart Apache

/script/restartsrv_httpd


Peace Out ! 

Was this answer helpful?

 Print this Article

Also Read

Create a WHM Reseller Without An Associated Domain

1. Log in as the root user on the server via SSH.2. To create a new user, run the following...

System Requirements to cPanel&WHM

Minimum Hardware Requirements     Supported Virtual Environments* Supported...

End-user Features in cPanel&WHM

Manage Email Accounts Add or Remove Suspend or Reactivate Custom Quotas Per Account Webmail...

Error 550; No such user here error solution

Sometimes cPanel email accounts may have issues while receiving emails. If the error is "Error...

Error 550; No such user here error solution

Sometimes cPanel email accounts may have issues while receiving emails. If the error is "Error...