Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-15-2008, 03:41 AM   #1
Registered: Apr 2008
Posts: 48

Rep: Reputation: 15
Slackware 12.1 RC.Local won't start (AMP)

Hey, i've setup apache php mysql on my server, i added start commands to the rc.local file, but after reboot they aren't started, rc.local is chmodded with -x. and if i manually execute if after boot it works.

# /etc/rc.d/rc.local: Local system initialization script.
# Put any local startup commands in here. Also, if you have
# anything that needs to be run at shutdown time you can
# make an /etc/rc.d/rc.local_shutdown script and put those
# commands in there.

/etc/rc.d/rc.mysqld start
echo MySQL Started
/usr/local/apache/bin/apachectl start
echo Apache Started
/usr/local/sbin/pure-ftpd &
echo FTP Started
That's my rc.local, can someone tell why it doesn't get called ?
I'm using slackware 12.1
Old 06-15-2008, 05:17 AM   #2
Bruce Hill
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Fedora, Gentoo, Ubuntu (all servers at work are openSUSE)
Posts: 6,931

Rep: Reputation: 128Reputation: 128
Because it is "chmod -x" rather than "chmod +x"

Also, you would be better served by posting your Slackware
questions in our Slackware forum.
Old 06-15-2008, 05:25 AM   #3
Registered: Apr 2008
Posts: 48

Original Poster
Rep: Reputation: 15
Ok, stupid me, i fixed it by removing the if is executable checks from rc.M
Old 06-15-2008, 05:36 AM   #4
Registered: Mar 2005
Location: england
Distribution: slackware, win2k
Posts: 364

Rep: Reputation: 35
Ok i'm curious, did you install MySQL and Apache using the packages from slackware. If you did then you don't need to add anything to rc.local. Look in the rc.d directory for rc.mysqld and rc.httpd. they are normally told to start from rc.M



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
AOL UK && BT Voyager 100 && Slackware 10.2 && RP-PPPoE pitt0071 Linux - Networking 3 01-17-2006 07:10 AM
(FreeBSD && Fedora Core 4 && Slackware 10.0) Filesystem Support taylor_venable *BSD 1 07-14-2005 03:24 PM
Auto start with rc.local kingchaos Linux - Newbie 6 09-18-2004 03:01 PM
vncserver won't start from rc.local GD_19 Linux - Software 5 03-13-2004 01:27 AM
Slackware 9.1 & ALSA-Where do i start? ic3 Slackware 4 10-31-2003 02:12 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:08 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