Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-08-2003, 10:13 AM   #1
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307

Rep: Reputation: 30
rc.local not running on boot???


I've added some lines to rc.local. I've pre tested the commands and they all run at a command prompt eg :

smbd -D
nmbd -D

Problem is, rc.local does not execute on startup????
It runs if i run it from command prompt :


I've checked /etc/rc.d/rc.M and sure enough :

# Start the local setup procedure.
if [ -x /etc/rc.d/rc.local ]; then
. /etc/rc.d/rc.local

And yes the file exists !! Totally bizzare !!!

I've made sure that multi user is enabled , and checked inittab under etc

# Default runlevel. (Do not set to 0 or 6)

Anyone else had this problem???? It's spooking me out!!
Old 09-08-2003, 01:01 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Not sure why it wouldn't be running if its calling it from your rc.M script, but given the services, you should really be running Samba to start off at boot time in either your inetd.conf file or creating their own script in rc.d and adding that to run from your rc.M script, etc.


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
rc.local not running? sbirnie Slackware 6 04-13-2005 01:18 AM
Running X as local user Ephracis Linux - Software 1 11-05-2004 04:07 PM
boot hangs after running /etc/init.d/boot.local eddieb Linux - Newbie 2 07-18-2004 06:57 AM
rc.local not running at boot anthjaz Fedora 7 05-12-2004 01:40 PM
running program in local directory bob10a Linux - General 6 11-04-2002 06:48 PM

All times are GMT -5. The time now is 12:52 PM.

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