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

Set Up the Google Drive API in cPanel&WHM

Set up the Google Drive API for your Google accountTo configure the Google Drive API for your...

cPanel Features

cPanel File Manager,  views all the files  to manage and edit your files. cPanel Images, allows...

Disable the cPanel Store as an SSL Certificate Provider in WHM

Disable the cPanel Store as an SSL certificate provider in WHM Navigate to WHM >> Home...

Overselling

What is overselling ? Overselling means that the system limits resellers via the resources that...

Why my order has been marked as fraud?

Panellicense.com uses a third-party tool to detect fraudulent activities on our system. The fraud...