Solved

RHEL, cant find rc.local

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
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 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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

831 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