Home > Init Cannot > Init Cannot Execute Etc Rc D Rc

Init Cannot Execute Etc Rc D Rc

Join & Ask a Question Need Help in Real-Time? samba is working fine, apache is working. Good Linux bookmarks How to ask questions about Linux LDP's HOWTOs Directory of Linux Bash Commands Linux Newbie Administrator Guide Rute User's Tutorial and Exposition A /dev/random forum run by Sensei The kernel starts up fine, but then the init process gets and error while trying to run one of the init scripts in /etc/init.d, which screws up the entire process. this contact form

For example "Linux init 3" this will pass an option to the kernel to enter runlevel 3. as a user, not as root). it gets to Probing SCSI... It can be something as simple as no carriage return at the end of the script to a symbol. http://www.linuxquestions.org/questions/linux-newbie-8/init-cannot-execute-etc-rc-d-rc-s-15517/

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 don't know what was wrong with it, but it works fine now. 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

Get 1:1 Help Now Advertise Here Enjoyed your answer? no one change anything /etc.inittab 0 LVL 12 Overall: Level 12 Linux 1 Message Active today Expert Comment by:jazzIIIlove2008-10-14 Comment Utility Permalink(# a22715986) Did you try <

Please visit this page to clear all LQ-related cookies. Suggested Solutions Title # Comments Views Activity Virtual host in apache 31 65 57d YII framework installation error 5 128 72d Most secure Linux or x86 Unix that are least prone Advanced Search Forum Community Help: Check the Help Files, then come here to ask! https://www.redhat.com/archives/redhat-install-list/2004-March/msg00045.html ksandre View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by ksandre Thread Tools Show Printable Version Email this Page Search this Thread Advanced

init=/bin/csh will get you the C shell, which is ... If this happens, you may have to edit the file from a # boot disk) # # . /etc/rc.d/rc.serial # Carry an entropy pool between reboots to improve randomness. # Load If you have bash but no sh, just re-make the symbolic link. But yes, I can see etc, proc, mnt and all those stuff.

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. Newbies Corner Hardware Software Installation Window/Desktop Managers Kernels and Modules Networking Web/Security Mobile Computing Games Programming/Scripts Technical How I Did It! Ok, assuming you are chroot /mnt/linux Lets see if something works. Why "silver-tongued" for someone who is convincing?

Check the rescue section of the howtos and search your distro's site for rescue recovery as their rescue is designed for their setup. http://pgexch.com/init-cannot/init-cannot-execute-etc-init-d-rcs.html Carefully examine /etc/init.d/rc - does it have execute permission? possibly editing rc.S or inittab Last edited by samboe; 08-17-2002 at 05:24 PM. This is going to" echo "cause serious problems." echo echo "If you're using the UMSDOS filesystem, you **MUST** mount the root partition" echo "read-write!

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 When I boot up to my old kernel 2.2.14 and my new kernel 2.4.9, I get: == INIT: cannot execute "/etc/rc.d/rc.sysinit" INIT: cannot execute "/sbin/mingetty" (About 10 more lines of this) could you post here /etc/mkinitrd/mkinitrd.conf file Now, i am going bed... http://pgexch.com/init-cannot/init-cannot-execute-usr-bin-kdm.html Last edited by justiceisblind; 03-04-2002 at 07:05 PM.

It's being used as a raw data device in exactly the same way as a tape. bin dev home lib misc opt root tmp var Last edited by fancypiper; 07-28-2002 at 03:17 AM. more hot questions question feed lang-bsh about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation

Probably just provides a link called sh in /bin?

Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for Reply With Quote 07-28-2002,01:38 AM #11 fancypiper View Profile View Forum Posts Wrong Labels Suck Join Date Jul 1999 Posts 4,035 I finally traced down the page you need at redhat 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, You will be root.

mc is blocking from time to time but it works from command line. When was /etc/inittab last modified? Try this and see if it fixes the issue. his comment is here Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

if [ "$HC" = "utc" ]; then /sbin/hwclock --utc --hctosys else /sbin/hwclock --hctosys fi fi if [ "$ROOTTYPE" = "umsdos" ]; then # we need to update any files added in Click on the UK / US composite flag. share|improve this answer answered Oct 26 '12 at 4:40 dafydd 4171414 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign This had some unfortunate # side effects, however, since root isn't yet read-write, and /var might not # even be mounted the .pid files can't be correctly written in /var/run and

Do we actually have a sh in /bin??? Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started How does BusyBox deal with this? Not the answer you're looking for?

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 Same binary OK on RHEL0How to Get and Install Teradata Client for RHEL platform?1How to boot RedHat Linux in normal mode in VMWare?5Why would bash commands sometimes not return output?4change default By the time you run out of possible shells, you are looking at a pretty badly damaged system. Any ideas on where I could get a new rc.S file without having to download the entire distro again??

i went through the files and they are ok. 0 LVL 12 Overall: Level 12 Linux 1 Message Active today Expert Comment by:jazzIIIlove2008-10-14 Comment Utility Permalink(# a22717068) I am really Registration is quick, simple and absolutely free. From the Linux Newbie Administrator Guide: Floppy. Having a problem logging in?

Unfortunately this didnt work since ksh is not compatible and /etc/rc.d/rc.sysinit uses several bash-specific tricks. This will fix the problem *AND* eliminate this annoying message. :^) EOF echo -n "Press ENTER to continue. " read junk; fi fi # remove /etc/mtab* so that mount will create 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 Best regards... 0 Message Author Comment by:se_15812008-10-14 Comment Utility Permalink(# a22715626) I cannot login on the server anymore.

Just for kicks I tried to run the script. cat /proc/partitions? Linux PPC Other UNIX-Based Hardware Trading JustLinux Help File Library Audio Hardware Configuration Hardware Installation Networks Programming Software X Window Events JL Talkback JL Ideas Feedback Forum Suggestions Post Your Forum