Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2004
    Auckland, New Zealand

    starting programs like a service at startup

    i have two programs installed that i would like to be able to start at bootup
    i can run the programs in terminal fine.

    i read somewhere to edit /etc/rc.local
    and add the path to the programs

    but they dont start on bootup i can start them by executing rc.local after bootup.

    The two programs are located in

    my rc.local looks like this

    #This script will be executed after all other init scripts.
    #You can put your own initialization stuff in here if you don't
    #want to do the full Sys V style init stuff.

    touch /var/lock/subsys/local

    can anyone help please.!
    i have been looking everywhere for help before i have posted this question.

  2. #2

    Maybe it's just a typo but you have "user" in stead of usr in one of the paths...

    If that doesn't work, what does the boot.log say? (or messages)


    in Linux Computing we Trust

  3. #3
    Just Joined!
    Join Date
    Oct 2004
    Auckland, New Zealand
    sorry was just a typo user.
    so you think that the rc.local should be running the programs

    im a noobie as ,, im not sure where or how to find the log file / files?
    any help would be grate

  4. $spacer_open
  5. #4
    Hi again,

    No need to be sorry for beeing a newbe, we all need to crawl before we can walk!!!

    log files are in /var/log

    to look at the logs do one of the following;

    tail <logfile> - will show the last 10 entries of that file
    tail -100 <file> - will show the last 100 lines...

    more <file> - will show the whole file one screenshot at a time and let you deside when to move on...

    less <file> - less is more! less is an improved more program, you can scroll backwords and forwards and also do pattern searching.
    In order to search in a less session just type "/" and your search string.

    in Linux Computing we Trust

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts