Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Applications > startup appz HELP???

Forgot Password?
 Linux Applications   I cant get "X" app to work... also discussion about linux programs.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 01-18-2003   #1 (permalink)
Just Joined!
 
Join Date: Aug 2002
Posts: 26
Send a message via AIM to smonice
startup appz HELP???

how is it possible to start a program upon bootup. i have a system util called cpudocker (thats the executable command). I tried adding that command to the /etc/rc.d/rc.local as itself with nothing else there but no luck. If anyone knows an easy way to start an app on boot, please let me know asap.
smonice is offline  


Reply With Quote
Old 01-18-2003   #2 (permalink)
Linux Engineer
 
Join Date: Jan 2003
Location: Lebanon, pa
Posts: 994
that is strange it didn't work in there. Did you get an error at all?
genlee is offline   Reply With Quote
Old 01-18-2003   #3 (permalink)
Just Joined!
 
Join Date: Aug 2002
Posts: 26
Send a message via AIM to smonice
nah it just didnt do anything at all, here is what the files says so far:

{#blah blah blah

touch /var/lock/subsys/local

cpudocker}

now do i need to put the path to /usr/local/bin ????
smonice is offline   Reply With Quote
Old 01-18-2003   #4 (permalink)
Linux Engineer
 
Join Date: Jan 2003
Location: Lebanon, pa
Posts: 994
Yeah try putting the full path to the binary in the rc.local file
/path/to/cpudocker and try that. If that path wasnt set in $PATH, your system has no idea where that command is.
genlee is offline   Reply With Quote
Old 01-18-2003   #5 (permalink)
Just Joined!
 
Join Date: Aug 2002
Posts: 26
Send a message via AIM to smonice
this time i put in:

{#blah blah blah

touch /var/lock/subsys/local

/usr/local/bin/cpudocker}


and still nothing.....and its not the program cause it works from the shell normally.....wtf
smonice is offline   Reply With Quote
Old 01-18-2003   #6 (permalink)
Linux Engineer
 
Join Date: Jan 2003
Location: Lebanon, pa
Posts: 994
hmm, does it need to be passed any options?
genlee is offline   Reply With Quote
Old 01-18-2003   #7 (permalink)
Just Joined!
 
Join Date: Aug 2002
Posts: 26
Send a message via AIM to smonice
nope, thats all it needs, its a real simple app, just thought it would be nice to load when linux does without having to do it myself. If anyone else knows a different way that will work, please let me know.
smonice is offline   Reply With Quote
Old 01-18-2003   #8 (permalink)
Linux User
 
Join Date: Jul 2002
Location: Daytona Beach, FL
Posts: 487
Send a message via AIM to majorwoo
yeah that is pretty odd that it will not work - is there some chance that you turned off the local script? I have seen that done before, make sure it is S99local in the runlevel director
__________________
majorwoo

Quiet brain, or I\'ll stab you with a Q-tip.
majorwoo is offline   Reply With Quote
Old 01-18-2003   #9 (permalink)
Linux Engineer
 
Join Date: Jan 2003
Location: Lebanon, pa
Posts: 994
I would write a wrapper for it so it saves the output to a file when the system runs it to see what the error is.
genlee is offline   Reply With Quote
Old 01-18-2003   #10 (permalink)
Just Joined!
 
Join Date: Aug 2002
Posts: 26
Send a message via AIM to smonice
genlee: how do i go about doing that??? also majorwoo, how do i go about checking that (for reference, this is an out of the box RH7.3). Thanx guys, i appreciate
smonice is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:20 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2