Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem ram recovery router safe mode screen slow sound spyware trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
destroyed my server NEED HELP PLEASE!

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
haswalt's Avatar
Computer Specs
Senior Member with 414 posts.
 
Join Date: Nov 2004
Location: South Coast, UK
Experience: Advanced
16-Jun-2006, 08:05 AM #1
destroyed my server NEED HELP PLEASE!
I have a server running centos and was deleting uneeded stuff when i removed a directory called "virtfs". This onbly contained a folder from an account that didn't exist anymore (i removed the account because everytime i added it i got a massive file usage) it appears now that it had copied my system files into that account, hence tha massive folder size, but i did not relaise this until i had a message saying:

could not remove /home/virtfs/lib/ file is in use

fter that i stopped it and none of my bash commands like "ls" work linux is still running but now if i try to log on it doesn't accept my password.

does anyone have any ideas how to get round this without whiping the system and starting again?

Thanks

harry
__________________
LQD Internet Limited
We've just got better! With the launch of our new site we have SLASHED our prices and upped the offering. Check it out!

10% Discount for ALL Tech Support Guy Members
Simply use the promo code of "T3CHGUY" when ordering to recieve your 10% discount on all shared and reseller hosting packages.
utanja's Avatar
Computer Specs
Senior Member with 308 posts.
 
Join Date: Oct 2003
Location: Europe:Salzburg Austria;USA:Fl
Experience: a little education can be
16-Jun-2006, 09:27 AM #2
Quote:
Originally Posted by haswalt
I have a server running centos and was deleting uneeded stuff when i removed a directory called "virtfs". This onbly contained a folder from an account that didn't exist anymore (i removed the account because everytime i added it i got a massive file usage) it appears now that it had copied my system files into that account, hence tha massive folder size, but i did not relaise this until i had a message saying:

could not remove /home/virtfs/lib/ file is in use

fter that i stopped it and none of my bash commands like "ls" work linux is still running but now if i try to log on it doesn't accept my password.

does anyone have any ideas how to get round this without whiping the system and starting again?

Thanks

harry
can you log on as root user?
Cappi's Avatar
Member with 85 posts.
 
Join Date: Apr 2006
Experience: Advanced
16-Jun-2006, 11:22 AM #3
There are programs written in linux that allow you to undelete. For example: http://amadeus.uprm.edu/~undelete/welcome.html. There others out there as well. I found this by typing undelete linux.
rob.rice's Avatar
Computer Specs
Senior Member with 636 posts.
 
Join Date: Apr 2006
Experience: Advanced
20-Jun-2006, 11:27 PM #4
IF you have another parttion to install to or an extra hard drive (or can you brrow one)
install the system to some place else and mount the broken system then copy the missing system files from the working system to the broken system
reinstall the boot loader
you most likely have lost the configuration files BUT most likely you still have the data files
read the cp man page for the options to do this
there is also a linux HOWTO on hard drive up grading
the will discribe how to fix this in detail
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 07:41 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.