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 acer asus bios bsod computer crash dns driver drivers error ethernet excel freeze gaming google hard drive hardware hdmi internet laptop mac malware memory monitor motherboard mouse network printer problem ram registry router server slow software sound svchost.exe trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
destroyed my server NEED HELP PLEASE!

Reply  
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, 09: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
Member with 312 posts.
 
Join Date: Oct 2003
Location: Europe:Salzburg Austria;USA:Fl
Experience: a little education can be
16-Jun-2006, 10: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 89 posts.
 
Join Date: Apr 2006
Experience: Advanced
16-Jun-2006, 12:22 PM #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 736 posts.
 
Join Date: Apr 2006
Experience: Advanced
21-Jun-2006, 12:27 AM #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
Reply

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.

Search Tech Support Guy

Find the solution to your
computer problem!




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



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 10:32 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.