What should I do if the Linux boot file rc.local cannot be executed?

  

rc.local is an important boot file for Linux systems. This file is executed each time you boot. However, some users of Linux systems are unable to execute this file and cause a series of problems. What should we do if we encounter this problem?

In the Linux system, there is an important startup script files automatically:

/etc/rc.local---"/etc/rc.d/rc.local

I accidentally deleted it and recreated one, but the problem came out and it could not be executed automatically.

Reason:

The chain file under the /etc/rc.d/rc3.d/folder in the boot file has no effect, just modify it.

Solution:

Remove the /etc/rc.d/rc3.d/chain file pointing to /etc/rc.d/rc.local and redirect it. That is to get the actual correspondence of soft links.

After rebooting, /etc/rc.d/rc.local can be executed automatically.

The above is the Linux boot file rc.local can not be implemented. If you accidentally delete the rc.local file, you must link this file after re-creating this file to let Linux execute rc.local.

Copyright © Windows knowledge All Rights Reserved