Here are some problems you might encounter while customizing how your system starts up:

The applications I put in rc.local don't run.
Check the following:
  • Make sure that the file is executable; use the chmod command to correct this, if necessary:
    chmod +x /etc/rc.d/rc.local
  • Make sure that the executable is in a directory that's included in the PATH environment variable as it's defined when the system executes /etc/rc.d/rc.local.
I messed up my rc.local file, and now I can't boot.
You can:
  • Boot from CD and correct your rc.local file.


  • Boot your system into "debug shell" mode: press Space during booting up, then press F5 to start the debug shell.

    Once you're in the debug shell (fesh), enter the exit command, then wait for the second shell prompt. Type this command:

    export PATH=/bin:/usr/bin:/sbin:/usr/sbin

    You can then correct your rc.local, or move it out of the way so that you can boot without it:

    cd /etc/rc.d
    cp rc.local rc.local.bad
    rm rc.local