Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
scripts in rc.local
Results 1 to 3 of 3

Thread: scripts in rc.local

  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. Scripts
    By countach44 in forum Windows - General Topics
    Replies: 8
    Last Post: 05-25-2005, 10:47 PM
  2. Startup scripts
    By cloverm in forum Linux - General Topics
    Replies: 2
    Last Post: 06-20-2003, 03:01 PM
  3. Can this be done with Scripts ??
    By Compunuts in forum Programming
    Replies: 14
    Last Post: 11-08-2002, 08:06 AM
  4. KDM startup scripts.
    By Kernel_Killer in forum Programming
    Replies: 0
    Last Post: 09-08-2002, 08:15 PM
  5. Scripts kiddies
    By Bogler in forum Linux - General Topics
    Replies: 12
    Last Post: 03-04-2002, 10:10 PM

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
  •