LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rc.local not running on boot??? (https://www.linuxquestions.org/questions/linux-software-2/rc-local-not-running-on-boot-90506/)

Evilone 09-08-2003 10:13 AM

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

trickykid 09-08-2003 01:01 PM

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.


All times are GMT -5. The time now is 02:29 PM.