LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Services boot order in Mandrake 9.1 (https://www.linuxquestions.org/questions/linux-general-1/services-boot-order-in-mandrake-9-1-a-79215/)

ccool 08-05-2003 11:11 AM

Services boot order in Mandrake 9.1
 
Hi,

Here is my problem, I have a service called bacula on my mandrake 9.1. This service needs mysql to be started before it starts. For some reason, Mandrake seems to boot everything in an alphabetical order. Is there a "clean" way to make mysql start before my bacula service does ??? :Pengy:

Thanks all
Ccool

sk8guitar 08-05-2003 01:53 PM

this is just a guess and i'd double check before diong it, but maybe you could go into

/etc/rc.d/rc1.d

and on my machine it lists mysql as K10mysql@

if you have bacular in that folder you could change the order of the numbers. like if bacula is k24 make it k7 or something.

but if they are in other folders i dunno what to tell ya

ccool 08-05-2003 02:09 PM

Both bacula and mysql are in many rcX.d... I'm a bit confused

look

[root@emperor rc.d]# find . -name '*bacula*'
./init.d/bacula-dir
./init.d/bacula-fd
./init.d/bacula-sd
./rc0.d/K99bacula-dir
./rc0.d/K99bacula-fd
./rc0.d/K99bacula-sd
./rc1.d/K99bacula-dir
./rc1.d/K99bacula-fd
./rc1.d/K99bacula-sd
./rc2.d/S20bacula-dir
./rc2.d/S20bacula-fd
./rc2.d/S20bacula-sd
./rc3.d/S20bacula-dir
./rc3.d/S20bacula-fd
./rc3.d/S20bacula-sd
./rc4.d/S20bacula-dir
./rc4.d/S20bacula-fd
./rc4.d/S20bacula-sd
./rc5.d/S20bacula-dir
./rc5.d/S20bacula-fd
./rc5.d/S20bacula-sd
./rc6.d/K99bacula-dir
./rc6.d/K99bacula-fd
./rc6.d/K99bacula-sd
[root@emperor rc.d]# find . -name '*mysql*'
./init.d/mysql
./rc0.d/K10mysql
./rc1.d/K10mysql
./rc2.d/S90mysql
./rc3.d/S90mysql
./rc4.d/S90mysql
./rc5.d/S90mysql
./rc6.d/K10mysql

sk8guitar 08-05-2003 02:10 PM

hmm. don't know man. i've only had to move something in there once. have you tried doing a google search?

ccool 08-05-2003 02:30 PM

that's what I'm doing...

I just need to find the correct word to get my answer, google is kindda full of crap (and good stuff) ;)


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