LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-17-2014, 03:23 PM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 564

Rep: Reputation: 103Reputation: 103
INIT: Cannot execute /etc/rc.d/rc.M wtf?


Slackware 14.1 64 bit, fairly clean install

Out of the blue, I get this on the console when rebooting:

INIT: Entering runlevel: 3
INIT: cannot execute "/etc/rc.d/rc.M"

If I login and manually execute rc.M, it seems to work and everything in the file runs that I think should run. No errors are displayed, and the last item executes normally. All I did was edit it and add a new section to it, identical to the other sections to auto start a daemon. When I saw this happen, I restored it to where it was before I screwed with it, but I'm still getting this.

"wtf" at this point is a mild understatement.....what could I possibly have done to cause this?
 
Old 11-17-2014, 03:29 PM   #2
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 564

Original Poster
Rep: Reputation: 103Reputation: 103
AHAHAHAHAHA did you know that if the first line in the file is:

#!/bin/shsh

It won't execute? How the bloody hell did that get there?

I'm going to go to lunch now and if I happen to pass a bar I probably won't be back.....it's too early in the week for weird things like this....
 
4 members found this post helpful.
Old 11-17-2014, 08:14 PM   #3
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 232

Rep: Reputation: 50
Have one for me! Looks like something I'd do....
 
Old 11-18-2014, 12:51 PM   #4
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,330

Rep: Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851
Please mark this thread as [SOLVED] so that nobody else will see it and say "hmm, interesting" :-)
Thanks though
 
Old 11-19-2014, 05:13 AM   #5
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.1 and Slackware Arm
Posts: 478

Rep: Reputation: 41
6 minutes from post until solution, and the smart LQers didn't even have to offer anything; the mere act of posting caused you to find the fix!

THAT'S how good LQ is!
 
1 members found this post helpful.
Old 11-19-2014, 02:17 PM   #6
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 564

Original Poster
Rep: Reputation: 103Reputation: 103
Quote:
Originally Posted by slackist View Post
6 minutes from post until solution, and the smart LQers didn't even have to offer anything; the mere act of posting caused you to find the fix!

THAT'S how good LQ is!
I can't tell you how many times that happens. I spend bloody HOURS on some stupid thing like this, and I finally give up and cry for help on LQ. Ten minutes later, I find the fix.

Maybe if I just took a break and went outside to play for a few minutes the fix would have come to me?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to Execute Init. No Init found. ihjaz Linux - Server 4 11-20-2012 04:02 AM
INIT : cannot execute /etc/init.d/rc blink182 Debian 3 05-08-2011 04:56 AM
INIT cannot execute Peter Shepard Ubuntu 4 12-14-2006 01:28 PM
INIT cannot execute ricnoah Red Hat 1 02-19-2006 10:18 PM
INIT: cannot execute "/etc/rc.d/rc.S justiceisblind Linux - Newbie 12 08-17-2002 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration