LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 07-03-2004, 01:39 PM   #1
GrumpyGnome
Member
 
Registered: May 2004
Location: Ridgecrest, CA; nowhere near a ridge
Distribution: Fedora C2 & RH9
Posts: 34

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


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

/home/alc/tss2/server_linux

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
b0uncer
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 file...like

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
GrumpyGnome
Member
 
Registered: May 2004
Location: Ridgecrest, CA; nowhere near a ridge
Distribution: Fedora C2 & RH9
Posts: 34

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.
 
  


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


All times are GMT -5. The time now is 08:08 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration