Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    fog
    fog is offline
    Member
    Join Date
    Jun 2002
    Posts
    164

    Default Started rm -rf * on /usr by accident

    How can I fix this?

  2. #2
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    You can't, you will need to reload the server O/S and reinstall everything.
    Regards,
    David
    Forum Moderator

  3. #3
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    That brings back memories.

    Some directories could be replaced by copying from another server, but not that one. You do need a reinstall. If you have backups of your accounts you can put them back after the reinstall, but if the backups are on the same drive, you need to copy them elsewhere. If you don't have backups, I suggest copying as much as possible, if you still have access, before the reinstall to save work later.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

Similar Threads & Tags
Similar threads

  1. removed /usr/local/cpanel/bin/noshell by accident
    By ethical in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-23-2011, 08:08 PM
  2. Deleted SELINUX by accident....HELP!
    By nodecube in forum New User Questions
    Replies: 2
    Last Post: 07-01-2009, 01:13 PM
  3. Replies: 0
    Last Post: 02-26-2007, 05:19 PM
  4. accident
    By americastoner in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-17-2005, 12:59 AM
  5. Weird /usr/bin/yes started by cPanel
    By hicom in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-18-2004, 03:20 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube