Results 1 to 3 of 3

Thread: scripts in rc.local

Hybrid View

  1. #1

    scripts in rc.local

    Hi,
    We have 2 scripts that we would like to have executed automatically when the RH 7.3 server boots, so we put them into the rc.local file. Unfortunately, neither one is running when the server boots. In the rc.local, we have:
    /usr/bin/scripts/startinv &
    /usr/bin/scripts/startwk &

    I can type these exact commands at a prompt and they work fine. Any help would be greatly appreciated. Thanks.

  2. #2

    Re:scripts in rc.local

    Make sure that rc.local is set to be executed on startup for the runlevel you are starting in. Unfortunately I am not sure what the best way to set what scripts are executed in Redhat since I don't use it.

    Also maybe make sure that rc.local and the two scripts set executable.
    Code:
    chmod +x scriptName
    hope this helps

  3. #3

    Re:scripts in rc.local

    hello,
    do you have a link from the run-level to rc.local? for me run-level 3 & 5 have .e.g. /etc/rc3.d and /etc/rc5.d there should be a link
    S99local -> ../rc.local , much like pwrhouse was saying

Similar Threads

  1. Disable HTML Scripts with media files
    By regix in forum Windows - General Topics
    Replies: 1
    Last Post: 01-03-2005, 10:27 PM
  2. Any good site search scripts?
    By NGene in forum Programming
    Replies: 2
    Last Post: 08-28-2003, 11:46 AM
  3. Icons for personal scripts
    By doggiebone in forum Redhat / Fedora
    Replies: 5
    Last Post: 04-05-2003, 09:54 PM
  4. Can this be done with Scripts ??
    By Compunuts in forum Programming
    Replies: 14
    Last Post: 11-08-2002, 07:06 AM
  5. creating my own scripts
    By flandercan in forum Programming
    Replies: 9
    Last Post: 05-22-2002, 02:26 AM

Bookmarks

Posting Permissions

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