Home > Debian Cannot > Debian Cannot Execute /etc/init.d/rc

Debian Cannot Execute /etc/init.d/rc

Carefully examine /etc/init.d/rc - does it have execute permission? 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): everything looks ok. Reply to: debian-laptop@lists.debian.org ilguSo7+ (on-list) ilguSo7+ (off-list) Next by Date: Debian on Dell XPS 15 Next by thread: Debian on Dell XPS 15 Index(es): Date Thread Linux Content All Articles Interviews http://homeshareware.com/debian-cannot/debian-cannot-mount-floppy.html

Thanks. 0 LVL 12 Overall: Level 12 Linux 1 Message Expert Comment by:jazzIIIlove2008-10-14 Comment Utility Permalink(# a22717029) so, you open the system...you execute fdisk -l? But following this experience I'm converting back to the more regular gui installers or manually typed interactive apt-get sessions. I have executed the following commands, to make the script executable and to add it with the default parameters to the startup sequence. You are currently viewing LQ as a guest. http://www.linux-pages.com/2011/03/cannot-execute-etc-init-d-rcs/

Why did Michael Corleone not forgive his brother Fredo? All I had done in terms of removing programs was: apt-get remove --purge libwine apt-get remove --purge wine apt-get remove --purge quanta apt-get remove --purge mozilla-thunderbird* I tried a CD update-install If you have an erroneous carriage return, it will show up as ^M. –Jenny D May 2 '14 at 13:08 thank for the fast help! no one change anything /etc.inittab 0 LVL 12 Overall: Level 12 Linux 1 Message Expert Comment by:jazzIIIlove2008-10-14 Comment Utility Permalink(# a22715986) Did you try <

  1. Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us.
  2. 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
  3. thanks. 0 Message Author Comment by:se_15812008-10-16 Comment Utility Permalink(# a22730955) the bin folder is empty.
  4. cat /proc/partitions?
  5. How do I handle this?
  6. Once selected, in the Boot Optionsbox type init=/bin/bashif you are using GRUB Boot loader This will launch you straight into a Bash shell prompt which comes up even before the Single

Could you right the exact error on the screen (if you write, please rewrite, i am lost here) and follow this, its first page is taking backup, second page may resemble My orange squeezer broke this morning too. Probably just provides a link called sh in /bin? Now when it boots i get the following message:INIT: version 2.88 booting INIT: cannot execute "/etc/init.d/rcS"INIT: Entering runlevel: 2 INIT: cannot execute "/etc/init.d/rc"following this, it then saysDebian GNU/Linux 7.0 (none) tty1(none)

For example "Linux init 3" this will pass an option to the kernel to enter runlevel 3. init=/bin/csh will get you the C shell, which is ... Fortunetaly I've documented and automated most things for a custom low-calorie Kanotix notebook installation. If it's a new install, may be best to install again?

This of course was pulled out of thin air, as the system does not care about whose file it runs as long as it has the x bit's set. Thanks. 0 Comment Question by:se_1581 Facebook Twitter LinkedIn Email https://www.experts-exchange.com/questions/23814359/Cannot-execute-init-d-rc.htmlcopy LVL 12 Best Solution byjazzIIIlove Please send your damned inittab... Not the answer you're looking for? Could you right the exact error on the screen (if you write, please rewrite, i am lost here) and follow this, its first page is taking backup, second page may resemble

I apt-get removed a few seemingly innocent apps, but I didn't read closely enough before pressing 'y' because it wanted to remove a whole lot more. https://www.raspberrypi.org/forums/viewtopic.php?t=48428&p=378489 Not sure why you would like to have it mounted as ro. QGIS restore attribute table order to original Why is (a % 256) different than (a & 0xFF)? Looking at the target's /etc/init.d dir all files were ‘-rwxr-xr-x', but they did not belong to root:root but to :users.

piper - 28.08.2006, 20:03 Uhr Titel: RE: Odd startup error: cannot execute "/etc/init.d/rcS& ockham23 I am allergic to Ubuntu period Swynndla - 28.08.2006, 23:11 Uhr Titel: RE: Odd startup error: cannot http://homeshareware.com/debian-cannot/debian-cannot-find-lpam.html ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor… If it's a new install, may be best to install again? Covered by US Patent.

So, we need to shut it down with the mconsole and figure out how to fix it. Converting the weight of a potato into a letter grade Do Morpheus and his crew kill potential Ones? By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. this content I would suggest that you keep the / as defaults in fstab and let it mount as rw partition.

When editing an existing file that already uses CRLF line endings, the carriage returns might be hidden from you. 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 But I can't run netcardonfig; this returns "no supported cards are found", yet the cards definitely exist and worked fine yesterday.

I hope this helps.

This is the script at current. #! /bin/bash # /etc/init.d/testsam case "$1" in start) #echo "starting script" ;; stop) #echo "stopping script" ;; *) #echo "Usage: /etc/init.d/testsam {start|stop}" exit 1 ;; Product of all divisors=cube of number. blink182 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by blink182 05-08-2011, 04:56 AM #4 T3RM1NVT0R Senior Member Registered: Dec 2010 Location: i had received the file through the wget command and it was indeed a windows based file. –Sam Vanhoutte May 2 '14 at 13:46 On some servers I could

samba is working fine, apache is working. line is very strict, and carriage return is not allowed there, unless your interpreter is actually called /bin/bash^M There will never be carriage returns in a file created with a proper thanks 0 LVL 12 Overall: Level 12 Linux 1 Message Expert Comment by:jazzIIIlove2008-10-15 Comment Utility Permalink(# a22723637) my god...anythin you want to add as a comment...because let me say you http://homeshareware.com/debian-cannot/debian-cannot-open-display-0-0.html 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 Expert

Here is my fstab : Code: # UNCONFIGURED FSTAB FOR BASE SYSTEM proc /proc proc defaults 0 0 /dev/hdc1 / ext2 ro 0 0 /dev/hdc2 /etc ext2 rw 0 0 /dev/hdc3 Thanks for sharing that bit of experience. Backed up my personal files and all is well now! I will also take submissions of proposed disasters.

if a change the user to something else and come back to root it gives an error. Download an English-language one. 0 Message Author Comment by:se_15812008-10-15 Comment Utility Permalink(# a22721993) i set the permission again i also copied rc and rcS from live cd to the harddrive Wumbley 1,648915 4 To verify whether this is in fact the problem, do cat -v /etc/inti.d/testsam. So, the first task in the moment > is to find a way to install libc6... > > (a lot of things in /lost+found/.)is there a way with apt-get or so

All rights reserved. Replace /etc/init.d/rc from cd to the specifiec destination(/etc/init.d/rc) 0 LVL 12 Overall: Level 12 Linux 1 Message Expert Comment by:jazzIIIlove2008-10-14 Comment Utility Permalink(# a22716108) Tell me your progress please... 0 sudo chmod 755 /etc/init.d/testsam sudo update-rc.d testsam defaults When trying to test the script, I execute the following: sudo /etc/init.d/testsam start But when doing so, I get an error: unable to Thanks. 0 LVL 12 Overall: Level 12 Linux 1 Message Expert Comment by:jazzIIIlove2008-10-14 Comment Utility Permalink(# a22715765) ???

If you favor a different backup tool, feel free to use it. Now, it's time to fix it back up. it gets to Probing SCSI... They are still intact? 0 LVL 12 Overall: Level 12 Linux 1 Message Expert Comment by:jazzIIIlove2008-10-14 Comment Utility Permalink(# a22717047) AFTER TRYING ABOVE COMMAND, if fails, boot the live cd,

Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest So I chowned the entire /etc to root:root which, naturally, didn't solve my problem… Ok, the next thing that came to mind was that for some reason my NFS mounting command After that everything worked with no more trouble… 🙂 Trying to analyze this "series of unfortunate events" I am thinking that what had happened, most likely was, that while assembling my what command you executed? 0 LVL 12 Overall: Level 12 Linux 1 Message Expert Comment by:jazzIIIlove2008-10-14 Comment Utility Permalink(# a22715775) well, have you given execution permission to /etc/init.d/rc? 0

Obviously, this is only a tiny sample of the possible disasters that can happen. Now, you can check that it is fixed by halting UML and booting it on "trashed" again and seeing that it's fine.

Back to Top