As a result, I have included a set of instructions on how to do this with minimal … Linux SSH access using public key Article by: Kerem Daily system administration tasks Knoppix doesn't load. Knowing that my UID was unknown to my embedded development box I thought that the system refuses for some reason to run a file whose user is unknown to the system. All rights reserved. his comment is here
scriptname" vs "./scriptname" to execute beeblequix Linux - Enterprise 3 11-07-2005 05:40 PM cannot execute "/sbin/agetty" <-- appears during kernel boot process CestusGW Linux - General 2 01-10-2004 06:16 PM does 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 Active today Best Solution byjazzIIIlove Please send your damned inittab... depending on what is hosed your easiest path may bereinstall. Thinking back - this also did not make sense, since about 1000 things had already ran from that NFS volume before it got to the point when it attempted to run
How do I fix this? You will be root. Finance - Get real-time stock quotes Bret Hughes 2002-08-24 22:27:03 UTC PermalinkRaw Message Post by john-paul delaneyHello List...While on holidays my home pc running rh 7.0 suffered some power outages (due 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
Quote: Originally posted by jschiwal Try entering as root: chmod 755 /etc Sounds like the x bit isn't set even for root which for a directory means that you can't enter. it gets to Probing SCSI... Get 1:1 Help Now Advertise Here Enjoyed your answer? http://www.linuxquestions.org/questions/mandriva-30/booting-dies-with-'cannot-execute-etc-rc-d-rc-sysinit-'-mandrake-9-2-a-167576/ Registration is quick, simple and absolutely free.
Hmm… What the… Did a cat /etc/passwd, looking for root's entry: root::0:0:root:/root:/bin/bash At this point some thoughts (this time - real ones) began to form in my head. Top gerald_clark Posts: 10595 Joined: 2005/08/05 15:19:54 Location: Northern Illinois, USA cannot execute "/etc/rc.d/rc.sysinit", NEED HELP! But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Join our community for more solutions or to ask questions.
Probably just provides a link called sh in /bin? Click on the UK / US composite flag. the same goes for the file rc.sysinit.As I said, I'm a relative newcomer and I'm stuck not knowing why INIT cannot execute the said files.With fdisk I can print the partition Usually when people suggest editing the rc.sysinit file directly, they don't understand the dangers.
Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. http://urldt.com/init-cannot/init-cannot-execute-etc-rc-d-rc.html Apparently not. 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 If you'd like to contribute content, let us know.
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? CONTINUE READING Join & Write a Comment Already a member? You are currently viewing LQ as a guest. weblink 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
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 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 it worked, is running but is quite unstable.
Blogs Recent Entries Best Entries Best Blogs Blog List Search Blogs Home Forums HCL Reviews Tutorials Articles Register Search Search Forums Advanced Search Search Tags Search LQ Wiki Search Tutorials/Articles Search now i am doing a backup, i will try tomorrow your suggestions. Are you new to LinuxQuestions.org? sshd.
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 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 <
After this, in order to get write permissions, I remounted the root partition with: mount -o remount,rw / Then I tried to boot using ksh as the shell by tricking the Except now I have to try to fix all the other permissions that got messed up.