Home > Init Cannot > Init Cannot Execute /etc/init.d/rcs

Init Cannot Execute /etc/init.d/rcs

is it ok to copy the files from knoppix? 0 Message Author Comment by:se_15812008-10-16 Comment Utility Permalink(# a22731698) i copied all the bin files from another debian server and it cat /proc/partitions? Do we actually have a sh in /bin??? They are still intact? 0 LVL 12 Overall: Level 12 Linux 1 Message Active today Expert Comment by:jazzIIIlove2008-10-14 Comment Utility Permalink(# a22717047) AFTER TRYING ABOVE COMMAND, if fails, boot the his comment is here

It's funny but now that I am thinking of this - this test actually didn't prove anything: firstly because the sshd script started with /bin/bash, not /bin/sh and secondly, because on com> Date: 2001-09-05 8:41:36 [Download message RAW] Hi: Yes! About O'Reilly Sign In Academic Solutions Jobs Contacts Corporate Information Press Room Privacy Policy Terms of Service Writing for O'Reilly Community Authors Community & Featured Users Forums Membership Newsletters O'Reilly Answers T3RM1NVT0R View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by T3RM1NVT0R Tags boot, debianlenny, fstab, init, mount Thread Tools Show Printable Version Email read this post here

If you have bash but no sh, just re-make the symbolic link. I will present a disaster and take submissions of solutions. How you boot with init=/bin/bash depends on which loader you have: the ones I know of are LILO and the legacy GRUB.

How do I fix this? Which package a file belongs to? Subscribe to our monthly newsletter for tech news and trends Membership How it Works Gigs Live Careers Plans and Pricing For Business Become an Expert Resource Center About Us Who We By the time you run out of possible shells, you are looking at a pretty badly damaged system.

[email protected]! Are you new to LinuxQuestions.org? Python Linux Programming Languages-Other Linux/ Unix Bash Shell: Navigating the File Tree Video by: Dototot Learn how to navigate the file tree with the shell. For example: have you installed Debian with SATA based RAID?

In my system, it indeed mounted as Read-Write. 0 Message Author Comment by:se_15812008-10-15 Comment Utility Permalink(# a22726717) did you get the inittab, i posted a few post ago. Then bott with init=/bin/bash and try invoking it yourself - see what is the error 0 LVL 34 Overall: Level 34 Linux 28 Message Active today Expert Comment by:Duncan Roe2008-10-15 When you are physically at the console, you can get a shell prompt by appending this string to the boot line (the boot line is usually just the kernel name): different.

I started the system using the rescue and root floppies, mounted my partitions, and /etc/init.d/rcS and /etc/init.d/rc seem to be there, with execute permissions set for everyone. http://www.linuxquestions.org/questions/debian-26/init-cannot-execute-etc-init-d-rc-879296/ Required fields are marked *Comment Name * Email * Website Notify me of follow-up comments by email. This happened, when I copied the target filesystem tree to my host PC and expanded it to my hard disk as (i.e. Join Now For immediate help use Live now!

Get 1:1 Help Now Advertise Here Enjoyed your answer? http://urldt.com/init-cannot/init-cannot-execute-etc-rc-d-rc.html When was /etc/inittab last modified? sshd. I wish I had dumped the contents of the file with hexdump at that time, but I was in a hurry (and all ready quite aggravated with this unexpected delay) so

I've demonstrated the creation and recovery of a variety of different types of sysadmin catastrophes. Join & Ask a Question Need Help in Real-Time? If you are worried about sudoers then you can give sudoers only access that they required not more than that. weblink Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ

Have a look around and post back with what you find - unless of course you fix it straight away 0 LVL 12 Overall: Level 12 Linux 1 Message Active It is possible to make them happen on a physical machine, but it should be apparent that simulating them with UML is far more convenient, and almost completely authentic. right? 0 Message Author Comment by:se_15812008-10-14 Comment Utility Permalink(# a22716935) I can open the system with live cd.

You need to discover how rc is invoked (e.g.

Device Boot Start End Blocks Id System /dev/hda1 * 1 3681 29567601 Covered by US Patent. Thanks guys. 0 LVL 34 Overall: Level 34 Linux 28 Message Active today Expert Comment by:Duncan Roe2008-10-18 Comment Utility Permalink(# a22747495) You can expect instability if the binaries off the to /bin/bash.

i am trying with knoppix your solution right now 0 Message Author Comment by:se_15812008-10-14 Comment Utility Permalink(# a22716212) Unbelievable... what command you executed? 0 LVL 12 Overall: Level 12 Linux 1 Message Active today Expert Comment by:jazzIIIlove2008-10-14 Comment Utility Permalink(# a22715775) well, have you given execution permission to /etc/init.d/rc? We're going to do so using root_fs as the rescue disk, assigning that to be disk 0, and moving the damaged filesystem to disk 1: % linux ubd0=root_fs ubd1=no_bash So, log check over here Posts: 2283Joined: Tue Oct 09, 2012 11:46 amLocation: Trondheim, Norway by pjc123 » Fri Jun 28, 2013 11:11 am That's "fsck".....not "fschk".

http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". If you'd like to contribute content, let us know. What should I try next? __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Recommended for You Tagged Articles Be the first to post this article to del.icio.us Linux Online The Linux FAQ linux.java.net Linux Kernel Archives Kernel Traffic DistroWatch.com Sponsored by: © 2016,

Join the community of 500,000 technology professionals and ask your questions. Backed up my personal files and all is well now! LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian INIT : cannot execute /etc/init.d/rc User Name Remember Me? I am so confused.

The Linux Pages Pages About The Latest How to install multimedia codecs in Fedora 24 (to play MP3s) Best article on the net on the topic of installing codecs in[…] More How does BusyBox deal with this? You can extend it by simply running dd on the file with a larger seek argument and retrying the backup. It's being used as a raw data device in exactly the same way as a tape.

If you need to reset your password, click here. There was a file in there which was called sh, but it was not a link to a real shell and it was not an executable file. Please, write down each procedure, so other people may use this... As you say - a reinstall will fix it. 0 Featured Post How to run any project with ease Promoted by Quip, Inc Manage projects of all sizes how you want.

Now copy root_fs to trashed and boot it up with backup as disk 1. % cp root_fs trashed % linux ubd0=trashed ubd1=backup Log in, and make the backup on /dev/ubd/1. Then execute: #mkdir /mnt #mount /dev/hda3 /mnt #chmod -R 755 /mnt/etc IAfter that you can reboot without livecd and i got very stressed here.... Device Boot Start End Blocks Id Why can't be executed, the permissions are there? 0 LVL 34 Overall: Level 34 Linux 28 Message Active today Expert Comment by:Duncan Roe2008-10-15 Comment Utility Permalink(# a22725744) Post the contents If you still can't get to a prompt, then you'll need to use a live cd or you can use the installation cd... 0 Message Author Comment by:se_15812008-10-14 Comment Utility