Rebuild userdata Files

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

Was this answer helpful?

 Print this Article

Also Read

Disable the cPanel Store as an SSL Certificate Provider in WHM

Disable the cPanel Store as an SSL certificate provider in WHM To disable the cPanel Store as a...

Fix License File Errors

1-) Verify your license IP address. In most cases, the system returns these errors because of an...

Disable the cPanel Store as an SSL Certificate Provider in WHM

Disable the cPanel Store as an SSL certificate provider in WHM To disable the cPanel Store as a...

Can a cPanel license be activated on more than one server?

No, you can transfer a server license to different IP addresses within the same server. You can...

End-user Features

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