LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-16-2003, 09:25 AM   #1
NamedRisk
LQ Newbie
 
Registered: May 2003
Posts: 4

Rep: Reputation: 0
Strange Question


I have slack 8.1, and create some init scripts, for mysql, proftpd, httpd, all init scripts works good but when i put on /etc/rc.d/

and reboot the pc. The rc.httpd up but rc.mysql and rc.proftpd don't up.

Is this a bug or a mistake

sorry my english =/
 
Old 05-16-2003, 09:44 AM   #2
rudolf
LQ Newbie
 
Registered: May 2003
Posts: 3

Rep: Reputation: 0
look in the /etc/rc.d/rc.inet2

there should by something like:

# Start the httpd daemon:
if [ -x /etc/rc.d/rc.httpd ]; then
echo "Starting httpd daemon"
/etc/rc.d/rc.httpd start
fi
# Done starting the httpd daemon:

and something alike for proftpd (in the case that you are not using any 'superserver' like inetd, xinetd for running these servers).

also check if root can launch your scripts ...
 
Old 05-16-2003, 09:47 AM   #3
Kordell
LQ Newbie
 
Registered: May 2003
Location: Pittsburgh, PA
Distribution: Slack 9.0
Posts: 19

Rep: Reputation: 0
Which file are you using to call the scripts? Just placing the scrips in a directory doesn't mean the system will run them.

Try adding commands to run the scripts in the file /etc/rc.4/rc.local

Good Luck........
 
Old 05-18-2003, 02:01 PM   #4
NamedRisk
LQ Newbie
 
Registered: May 2003
Posts: 4

Original Poster
Rep: Reputation: 0
i already found how it works but thanks =P
rc.M have all the inits, httpd, and others.
/etc/rc.d/rc.M
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
strange question cyph3r7 Linux - Security 2 06-04-2004 12:44 PM
strange question 8-) uncle_fungus1 Linux - General 1 03-22-2004 03:07 PM
heres a strange question.... zenji General 7 01-05-2004 05:50 PM
strange question pHoeNIgS Linux - Software 2 09-09-2003 11:23 AM
A Strange Question !!! hhegab Linux - Distributions 3 07-31-2002 05:36 PM


All times are GMT -5. The time now is 11:38 AM.

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