Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

rescue mode /bin issue

803116Oct 12 2010 — edited Oct 13 2010
Hi

I previously had to copy /bin from second server because I accidently deleted the one on local server.. all worked fine until I did more changes to it and tried to make it look more like the source system’s permissions etc.. now my linux server is not booting due to some issues with /bin/* directory and files.
I get screen saying (none)login: ... if I enter root and press enter it comes back with the same prompt again and again!!
it also mentioned of init=/bin/sh and init cant execute /etc/x11/prefdm
init id x respawning too fast…

tried rebooting from the console by doing ctrl + alt +del but comes back with /cant open /var/run/shutdown.pid

I tried the following but no joy!

Inserted the linux installation cd.. ( rescue mode)...
Checked the permission on /bin and it was set to ?r- -rw-rx tried to do chmod –R 775 but got error operation not permitted ...
Already had backup of /bin so Untar’d the /bin/bin.tar and tried to over write the /bin but got this error: can not overwite /bin bin not a directory...
For some strange reason /bin is not own by root the owner and group name are both numeric, So i tried chown –R root but keep getting user root does not exist!
If I do id.. i can see that i have logged on as root and it does exist in /etc/passwd
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 10 2010
Added on Oct 12 2010
6 comments
1,192 views