Solved

RHEL, cant find rc.local

Posted on 2013-11-19
2
316 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

746 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now