Solved

RHEL, cant find rc.local

Posted on 2013-11-19
2
327 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Stressed Out?

Watch some penguins on the livecam!

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

726 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