Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 12-30-2008, 04:57 PM   #1 (permalink)
Registered User
 
Join Date: Dec 2008
Posts: 3
OS: linux


accidentally removed the /bin folder on an ESX server

I had intended to backup the folder structure of my VMware ESX server and accidentally removed the /bin folder instead of copying it. I have an ssh session open but new sessions will not authenticate because of the files needed to do so in the /bin folder. I have the folder and all of its contents on another machine but, I don't know how to get it back to the ESX server because the mv command and others are nolonger available because they were removed with the /bin folder.

HELP please.
smithd is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 12-30-2008, 05:08 PM   #2 (permalink)
Moderator/Fedora Amb.
 
wmorri's Avatar
 
Join Date: May 2008
Location: /pm/etc
Posts: 2,814
OS: Window 7/Fedora 10

My System

Send a message via AIM to wmorri
Re: accidentally removed the /bin folder on an ESX server

Welcome to TSF!!

Hi,

Are you the only one that has ssh access to the server, or might there be a person that can get physical access to it. If you or someone else can get physical access to it they can find the /bin folder and move it back to the correct place. I am not quite sure what else can be done at the moment, but let me see if I can dig something up for you.

Cheers!
__________________


Linux Forever!

wmorri is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-30-2008, 05:13 PM   #3 (permalink)
Registered User
 
Join Date: Dec 2008
Posts: 3
OS: linux


Re: accidentally removed the /bin folder on an ESX server

i can get console access to it but haven't been able to log into the server yet. it prompts me for the username and upon entering it, it just asks me for the username again instead of prompting for the password. Just to clarify, the /bin folder resides on a serparate machine now, the ESX server nolonger has it at all
smithd is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-30-2008, 06:59 PM   #4 (permalink)
Moderator/Fedora Amb.
 
wmorri's Avatar
 
Join Date: May 2008
Location: /pm/etc
Posts: 2,814
OS: Window 7/Fedora 10

My System

Send a message via AIM to wmorri
Re: accidentally removed the /bin folder on an ESX server

Hi,

Best of luck with the livecd idea, I am sure that either that will work, or contacting support will get the job done.

Cheers!

EDIT: What users don't know is that the user and I chatted online for about 1 hour working on the problem. This was the solution that he had in the beginning and was what we decided on.
__________________


Linux Forever!


Last edited by wmorri; 12-31-2008 at 03:48 PM.
wmorri is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-31-2008, 02:21 PM   #5 (permalink)
Registered User
 
Join Date: Oct 2007
Location: Littleton, Colorado USA
Posts: 470
OS: xp 64 sp2 Fedora Core 8 (vmware xp core 8 x32) Minix


Re: accidentally removed the /bin folder on an ESX server

Been there, done that!

Try the CD boot and copy all the /bin files to the other mount point. Set the correct permissions for the files and do a reboot. It should work. You might have to change the hard drives to read-write if the system boots up with the HD in read-only mode.

Another way is to pull the drive and install a minimum configuration to the new drive. Then mount the old drive under it and copy the missing files. Move the old drive back where it was and reboot.

I once deleted some of /usr/bin on a Solaris system. Luckily, there was another machine that had the same OS and we copied the files from it.
lensman3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 09:30 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85