Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-03-2004, 01:39 PM   #1
Registered: May 2004
Location: El Sobrante, CA (the scraps)
Distribution: Fedora, RH, & Slack
Posts: 57

Rep: Reputation: 15
fedora c2; rc.local didn't run???

I tried to add a line to my
-rwxr-xr-x 1 root root 248 Jul 2 07:35 /etc/rc.d/rc.local


This should start my TeamSpeak server and it does;
if I run rc.local from a terminal window but it either fails or doesn't run at startup.
Anyone know what I have done wrong?

Is this file run before the user login screen?
Old 07-03-2004, 02:39 PM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
it should run "after all other init scripts"..that read somewhere. perhaps in it's manpage..anyway, you can test if it works by adding there a line (in the rc.local file) that creates some empty

touch /home/username/worked

now next time you reboot, this is what happens: if the rc.local is read and run, you'll get a file called "worked" in your /home/username/ directory (replace username with your login username) - if the script isn't run, so it doesn't work, you don't get that file. simple? after this test just remove the line...if the script works, you'll got to figure out some other thing...
Old 07-03-2004, 09:44 PM   #3
Registered: May 2004
Location: El Sobrante, CA (the scraps)
Distribution: Fedora, RH, & Slack
Posts: 57

Original Poster
Rep: Reputation: 15
Thanks b0uncer,
That showed me rc.local is getting called.
too bad for me, the server is not launching
I think it may be because it doesn't like to run as root.


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
Error after editing /etc/rc/rc.local, Fedora freezes when tries to run the script simeandrews Fedora 1 06-24-2005 11:52 AM
always have to re-run rc.local calcon Slackware 4 04-02-2005 11:32 AM
rc.local not being run gw1500se Mandriva 6 05-31-2004 03:49 PM
run vnc-server as other user in rc.local jvdbossc Linux - Newbie 2 05-26-2004 03:10 AM
rc.local won't run at boot on 9.1 aus9 Slackware 24 04-22-2004 05:35 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:12 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