Init Cannot Execute /etc/rc.d/rc.s
Any ideas? 0 LVL 12 Overall: Level 12 Linux 1 Message Active today Expert Comment by:jazzIIIlove2008-10-14 Comment Utility Permalink(# a22716261) Could you try the following to probe the scsi... different. Best regards... 0 Message Author Comment by:se_15812008-10-14 Comment Utility Permalink(# a22715626) I cannot login on the server anymore. I've demonstrated the creation and recovery of a variety of different types of sysadmin catastrophes. this contact form
Jeff Dike Return to the Linux DevCenter. right? 0 Message Author Comment by:se_15812008-10-14 Comment Utility Permalink(# a22716935) I can open the system with live cd. 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):
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. samboe View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by samboe 08-16-2002, 11:42 PM #11 linuxcool LQ Addict Registered: Jun 2001 Posts: Replace the very 1.st line in the rc.sysinit with #!/bin/bash -n Bash -n reads, interprets the file, but does not execute any commands. My email address is [email protected] justiceisblind View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by justiceisblind 03-08-2002, 11:54 PM #8 justiceisblind Member
LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie INIT: cannot execute "/etc/rc.d/rc.S User Name Remember Me? The backup device will be an empty file that's large enough to hold our filesystem: % dd if=/dev/zero of=backup seek=600 bs=$((1024*1024)) count=1 My filesystem is just over 500MB, so I created Then i turned off the server and when i turned it on i got the message "Cannot execute /etc/init.d/rc". You > have to know the > syntax. > > > If there were syntactic errors, would that cause > the > > kernel to tell me it can't execute >
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 Royce Reply With Quote 03-04, 05:11 AM #2 Re: Cannot execute /etc/rc.d/rc.sysinit Royce Da 5'11" " wrote: Hello, Syntax-check it with bash -n option. Copy root_fs to no_bash, boot it up, log in, and get rid of bash: % cp root_fs no_bash
% linux ubd0=no_bash
usermode:~# rm /bin/bash
usermode:~# halt Not running hwclock." # Set the system time from the hardware clock using hwclock elif [ -x /sbin/hwclock ]; then echo "Setting system time from hardware clock." if [ -e /etc/hardwareclock
As for choosing an alternate sysinit file, I was informed on going through my linux install disc and running 'linux rescue' and copying/moving/whatever a backup. http://pgexch.com/init-cannot/init-cannot-execute-etc-init-d-rcs.html Here's the contents of the rc.S file #!/bin/sh # # /etc/rc.d/rc.S: System initialization script. # # Mostly written by: Patrick J. AWS Cloud Computing Linux Advertise Here 788 members asked questions and received personalized solutions in the past 7 days. By Ken in forum Microsoft Access Replies: 8 Last Post: 07-12, 10:19 PM Bookmarks Digg del.icio.us StumbleUpon Google Posting Permissions You may not post new threads You may not post replies
I will present a disaster and take submissions of solutions. 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) The time now is 07:53 PM. http://pgexch.com/init-cannot/init-cannot-execute-usr-bin-kdm.html Then execute: #mkdir /mnt #mount /dev/hda3 /mnt #chmod -R 755 /mnt/etc e.g.
now i am doing a backup, i will try tomorrow your suggestions. Copyright © 2012 TextNData.com. For some reason the kernel cannot execute /etc/rc.d/rc.sysinit.
apply cat /proc/partitions please... 0 LVL 12 Overall: Level 12 Linux 1 Message Active today Expert Comment by:jazzIIIlove2008-10-14 Comment Utility Permalink(# a22716885) oh sorry, can you open the system with
Mik View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Mik 03-05-2002, 12:02 PM #6 taz.devil Senior Member Registered: Nov 2001 Location: If you have only ksh, make the symbolic link to that: ksh is a superset of sh but many programmers have gotten used to using bash extensions in /bin/sh scripts so Login. 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
Does anyone else have a suggestion on how I could get the system to boot normally without reinstalling bash? Also, check to make sure you have at symlink between rc.0 and rc.6. Any ideas on where I could get a new rc.S file without having to download the entire distro again?? his comment is here If you are, you can use the msdos Notepad to edit it.
Both users are connected to the same CLI sessio‚Ä¶ Linux Conditional statements in Python Article by: Swadhin The purpose of this article is to demonstrate how we can use conditional statements All rights reserved. cat /proc/partitions? Knoppix doesn't load.
mc is blocking from time to time but it works from command line. I modified it so I can load a 2.6.3 kernel (coming from 2.4.22-1.2115.nptl). Nico Reply With Quote « Previous Thread | Next Thread » Similar Threads Macro won't execute on first run, must do it twice By Lucas in forum Microsoft Project Developer Replies: 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
We're going to simulate booting from a rescue disk. About How to use emacs to replace Mac carriage returns (the ^M line endings, and that includes even the "stubborn" ones!)… What files comprise an RPM package? thanks 0 LVL 12 Overall: Level 12 Linux 1 Message Active today Expert Comment by:jazzIIIlove2008-10-15 Comment Utility Permalink(# a22723637) my god...anythin you want to add as a comment...because let me I looked at what you have pretty closely, and it seems to match mine, but it wouldn't hurt to obtain the package and reinstall that script, I guess.
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 If anyone can help i would really appreciate it!!! -16 GB Amazon SD-rev. 2 board-mid overclock-latest HF Wheezy Posts: 14Joined: Fri Aug 31, 2012 5:34 pm by topguy » Fri Jun