0 votes
asked by (6k points)

1 Answer

0 votes

1. Take the backup of /var/cpanel/userdata

# cp /var/cpanel/userdata /var/cpanel/userdata.bak

2. Run /usr/local/cpanel/bin/userdata_update –reset so that /var/cpanel/userdata can be regenerated.

# /usr/local/cpanel/bin/userdata_update –reset

3. After doing this rebuilt the userdatacache by running

# /usr/local/cpanel//scripts/updateuserdatacache --force

5. Rebuild Apache conf

# /usr/local/cpanel/bin/build_apache_conf

6. Restart Apache.

# /etc/init.d/httpd stop

# /etc/init.d/httpd start

answered by (6k points)
...