Solved

RHEL, cant find rc.local

Posted on 2013-11-19
2
325 Views
Last Modified: 2013-11-19
On my RHEL 6.4 I have the following

drwxr-xr-x.  10 root root  4096 Mar 27  2013 .
drwxr-xr-x. 123 root root 12288 Nov 19 03:32 ..
drwxr-xr-x.   2 root root  4096 Nov 19 15:03 init.d
-rwxr-xr-x.   1 root root  2617 Mar  7  2013 rc
drwxr-xr-x.   2 root root  4096 Apr  4  2013 rc0.d
drwxr-xr-x.   2 root root  4096 Apr  4  2013 rc1.d
drwxr-xr-x.   2 root root  4096 Apr  4  2013 rc2.d
drwxr-xr-x.   2 root root  4096 Apr  4  2013 rc3.d
drwxr-xr-x.   2 root root  4096 Apr  4  2013 rc4.d
drwxr-xr-x.   2 root root  4096 Nov  2 13:58 rc5.d
drwxr-xr-x.   2 root root  4096 Apr  4  2013 rc6.d
-rwxr-xr-x.   1 root root   220 Mar  7  2013 rc.local
-rwxr-xr-x.   1 root root 19216 Mar  7  2013 rc.sysinit

Open in new window


As you can see the rc.local is not a directory

I assume that it should be from my reading

Any ideas how I can resolve this ?

Thanks
0
Comment
Question by:Los Angeles1
2 Comments
 
LVL 31

Assisted Solution

by:farzanj
farzanj earned 250 total points
ID: 39660414
/etc/rc.local
should be a file not a directory.

It is used to put commands that you need to run at the system startup.
0
 
LVL 48

Accepted Solution

by:
Tintin earned 250 total points
ID: 39660574
/etc/rc.local should definitely be a file.    It's purpose it to start up any process after all the other rc scripts have completed.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question