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? 0 Users Found This Useful (0 Votes)