LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-16-2012, 11:10 AM   #1
Beernut
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
inadvertant deletion


looks like i've inadvertantly deleted the -/usr file. Now at startup I'm getting...

INIT: Id "x" respawning too fast: disabled for 5 minutes

Can anyone suggest a fix?
 
Old 07-16-2012, 11:21 AM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Usually "/usr" is a directory...not a file (depending on the Linux distro).

You should be able to recover from a backup if you have one.

-C
 
Old 07-16-2012, 11:25 AM   #3
Beernut
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks Custangro. Assuming that I can locate the backup, what is my next step? Simply re-boot from the backup source?
 
Old 07-16-2012, 12:29 PM   #4
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Depending on how you backed up the server...

But you will need to boot from a live cd of some sort.

Mount the HD of the server (something like this)

Code:
mount /dev/sda1 /mnt/
Then restore the "/usr" directory (something like this)

Code:
cp -a usr /mnt/
It would help if you would provide the OS you are running and how you backed it up.

-C
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Account deletion acdc LQ Suggestions & Feedback 5 07-06-2011 04:34 AM
RSync without deletion nidhoegger Linux - Server 2 02-16-2010 06:49 AM
LILO deletion?? Psyco26 Slackware 11 01-06-2007 11:16 AM
deletion cerin MEPIS 3 12-04-2005 03:38 PM
File Deletion mhkhalqani Linux - General 1 10-12-2005 03:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration