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???
 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
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 01-17-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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu StartUp Freeze fresch1 Ubuntu Help 3 02-22-2007 03:58 PM
Fedora Core 4 startup problem modem Redhat / Fedora Linux Help 10 09-08-2005 09:25 PM
Postfix Errors wfernley Linux Newbie 0 08-24-2005 02:23 PM
Help...here is my recent /var/log/messages hyeoncb Linux Security 9 04-16-2004 11:40 AM
a newbie request for which/version of decent appz kwede Linux Newbie 3 03-04-2004 05:57 PM

Free Magazines
Free Network Mapping Tool for Microsoft® Office Visio® Professional 2007 Users
Don't map your network by hand – let LANsurveyor Express for Microsoft Visio Professional 2007 automatically create network diagrams for you.
subscribe
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say.
subscribe

Safe, Secure Backup


All times are GMT. The time now is 07:31 PM.






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

Content Relevant URLs by vBSEO 3.3.0 RC2