LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


Hi,

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
named


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

/etc/rc.d/rc.local

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
fi

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)
id:3:initdefault:

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

Rep: Reputation: 271Reputation: 271Reputation: 271
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.
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:22 AM.

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
Open Source Consulting | Domain Registration