Pages

Saturday, 1 March 2014

Accidentally removed files in /var/cpanel/userdata, how to restore it [WHM/cPanel]



Follow the steps below,

- Take the backup of /var/cpanel/userdata
- Run /usr/local/cpanel/bin/userdata_update --reset so that /var/cpanel/userdata can be regenerated.
- Move the required files from new /var/cpanel/userdata to old one.
- Move the old /var/cpanel/userdata back after copying the required files.
- Rebuild Apache conf as /usr/local/cpanel/bin/build_apache_conf
- Restart Apache /etc/init.d/httpd stop ; /etc/init.d/httpd start

Suggested by cPanel :)

2 comments:

  1. LuckyClub Casino site & casino site in India 2021
    Luckyclub is luckyclub.live a popular online casino. They offer many different slots, live dealer games, and so much more. If you are looking for the best place  Rating: 4 · ‎Review by Lucky Club · ‎Free · ‎Game

    ReplyDelete
  2. The top 10 slots in Canada for 2020 - DrmCd
    1 Casino. 2 Casino. 3 서산 출장안마 Casino. 4 Casino. 5 서산 출장마사지 Casino. 6 군산 출장안마 Casino. 7 Casino. 구미 출장안마 8 Casino. 9 안동 출장샵 Casino. 10 Casino. 11 Casino. 12 Casino. 13 Casino. 14 Casino. 15 Casino.

    ReplyDelete