LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Strange Question (https://www.linuxquestions.org/questions/slackware-14/strange-question-60109/)

NamedRisk 05-16-2003 09:25 AM

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 =/

rudolf 05-16-2003 09:44 AM

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 ...

Kordell 05-16-2003 09:47 AM

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........

NamedRisk 05-18-2003 02:01 PM

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


All times are GMT -5. The time now is 09:20 AM.