i've encountered the same problem before. maybe it's the file encoding. try 'dos2unix'.
----- Original Message ----- From: "[K][R][Y][P][T][O][N]" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 03, 2002 3:26 PM Subject: Re: [plug] RC.LOCAL > Thanks for all who replied on my query > good thing I have a backup of my rc.local file came on my roasted archives.. > whew! > > thanks.. > SUPERMAN > > ----- Original Message ----- > From: "Yardan Ambrose" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, July 03, 2002 3:05 PM > Subject: Re: [plug] RC.LOCAL > > > > ----- Original Message ----- > > From: "[K][R][Y][P][T][O][N]" <[EMAIL PROTECTED]> > > Date: Wed, 3 Jul 2002 09:23:52 +0800 > > To: <[EMAIL PROTECTED]> > > Subject: [plug] RC.LOCAL > > > > > > > Good day to all! > > > > > > I copied my rc.local file on a disk and edit it on M$ notepad, after I > over > > > write the existing rc.local file on /etc/rc.d/ dir. > > > it seem like there something wrong. I tried typing /etc/rc.d/rc.local to > run > > > the file but it seem like there is no file exsisting. > > > I restarted my server and this came up > > > /etc/rc.d/rc: /etc/rc.d/S99local: no such file or directory > > > > > > I checked the my rc.local file and its sitting there. I just want to > know > > > what happend to my file and why cant i run it mannually? > > > Im seeking advice on what step should I do to make it run automatically > when > > > i boot up my server. > > > > > > Thanks and more power to the PLUG. > > > > > > SUPERMAN > > > > > > > First, you shouldn't have overwritten your old rc.local file. But you did. > And I can't think of any way to recover that. > > > > Second, why didn't you just use a native text editor in linux instead of > M$ Notepad? For one thing, using a native linux text editor, like vim, > doesn't screw up the file's permissions. Oh well. To each his own. > > > > Check if your rc.local is executable. If not, as root, type: > > #chmod 755 /etc/rc/d/rc.local > > > > You might want to read 'chmod's man pages. > > > > #man chmod > > > > HTH > > -------------- > > Yardan Ambrose > > Certified Penguin Enthusiast > > [EMAIL PROTECTED] > > -- > > _______________________________________________ > > Sign-up for your own FREE Personalized E-mail at Mail.com > > http://www.mail.com/?sr=signup > > > > > > 1 cent a minute calls anywhere in the U.S.! > > > > > http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http:// > www.getpennytalk.com > > > > > > _ > > Philippine Linux Users Group. Web site and archives at > http://plug.linux.org.ph > > To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] > > > > To subscribe to the Linux Newbies' List: send "subscribe" in the body to > [EMAIL PROTECTED] > > _ > Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph > To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] > > To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED] > _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
