Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-19-2009, 12:35 PM   #1
LQ Newbie
Registered: Nov 2005
Posts: 26

Rep: Reputation: 0
rc.local does not work - Centos


It seems my system does not statup scripts in rc.local file (/etc/rc.d/). I tried the following (just for test):


touch /usr/src/test
echo "SPERMA" >> /usr/src/test

And it did not make any files or whatever.

Edit: Solved it - I made new rc.local script, but I forgot to make 755 rights.
I installed centos with bare minimum, is it possible that I have to enable the system, to check rc.local when it boots up?

Last edited by Black187; 07-19-2009 at 12:42 PM.
Old 07-19-2009, 12:38 PM   #2
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Any error message?
Does the script work when you execute it ?
Is /etc/rc.local executable?
Old 07-19-2009, 12:43 PM   #3
LQ Newbie
Registered: Nov 2005
Posts: 26

Original Poster
Rep: Reputation: 0
Originally Posted by repo View Post
Is /etc/rc.local executable?
Jup, that was the problem, I've allready edit my first post. As soon as I posted here, i checked the rights

Sorry for the thread.
Old 07-19-2009, 02:49 PM   #4
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
Originally Posted by Black187 View Post
Sorry for the thread.
No need to apologise: now if someone else has the same problem, they may come across this thread, and find the solution.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS: add SAN directory to local file system RobertSubnet Linux - Newbie 4 06-12-2009 01:32 PM
LXer: Install OpenSuse 11 DomU at Xen 3.3 CentOS 5.2 Dom0 via local HTTP Server (all LXer Syndicated Linux News 0 10-18-2008 12:20 PM
LXer: Install CentOS 5.2 & F9 PV DomUs at OpenSuse 11 Dom0 via local HTTP Server (all LXer Syndicated Linux News 0 10-16-2008 10:30 AM
LXer: Creating A Local Yum Repository (CentOS) LXer Syndicated Linux News 0 06-18-2007 08:01 AM
how do i set up an local apt respository on centos 4.2 server kiraninfotech Linux - Software 0 06-06-2006 04:20 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration