Skip to main content

Accidentally Deleted /usr/bin and /usr/lib directories

Comments

4 comments

  • pije76
    Almost forget, I also deleted /usr/local/bin directory too.
    0
  • cPanelMichael
    Hello :) Recovery is going to be difficult after the removal of those directories. You may want to consult with a qualified system administrator, but the likely best path to take here is to restore the accounts from backup onto a new system, or move the backup archives to a remote server and reinstall cPanel/CentOS on the current server. Thank you.
    0
  • pije76
    [quote="cPanelMichael, post: 1656492">Hello :) Recovery is going to be difficult after the removal of those directories. You may want to consult with a qualified system administrator, but the likely best path to take here is to restore the accounts from backup onto a new system, or move the backup archives to a remote server and reinstall cPanel/CentOS on the current server. Thank you.
    Hello Michael, thank you to answer my question. So it can not recover it through Cpanel/WHM dashboard? How about if I installing the same version of Cpanel & WHM from another VPS and then copy that directories into the broken VPS?
    0
  • cPanelMichael
    There are no tools in cPanel/WHM that will resolve this issue. You are welcome to see if copying over those files from another system helps, but keep in mind that it's not supported or guaranteed to work. Thank you.
    0

Please sign in to leave a comment.