List:General Discussion« Previous MessageNext Message »
From:Daevid Vincent Date:December 5 2002 7:33pm
Subject:issues with RedHat and mySQL.rpm run levels?
View as plain text  
I notice that I see mysql failing to stop on reboot of my machine,
however I believe it's because it already was stopped at an earlier

[root@daevid rc3.d]# locate mysql | grep "/etc/rc.d/"

So I decided I'd go through and remove all of these (mebbe they were
legacy or something) and then just re-install the new RPM's with the
idea that they would set things up properly. After that, I only have:

[root@daevid rc3.d]# find /etc/ -name *mysql*

[root@daevid rc3.d]# ll /etc/rc.d/rc0.d/K90mysql
lrwxrwxrwx    1 root     root           15 Dec  5 12:15
/etc/rc.d/rc0.d/K90mysql -> ../init.d/mysql
[root@daevid rc3.d]# ll /etc/rc.d/init.d/mysql 
-rwxr-xr-x    1 root     root         4365 Oct 16 09:52

How come there are no SNNmysql entries to START the database? Where
should they be (which rc.d directory), and at what NN number? Shouldn't
the RPM do that for me automatically? 

How do these rcX.d directories work anyways? If I'm running my server to
go to init level 3 (no X-windows), does it go through rc0.d, rc1.d,
rc2.d and rc3.d processing ALL the things in each dir or does it just
jump to rc3.d and skip the others? And why is there an rc6.d? I thought
5 was the highest?

[root@daevid rc3.d]# /etc/rc.d/init.d/mysql    
usage: /etc/rc.d/init.d/mysql start|stop

And furthermore, how come the options are only to start|stop? Why no
'restart' like it used to have? What happened to the VERY NICE version
that looks like all the other services that startup and stop in RedHat,
with the  "Starting mySQL            [  OK   ]" look to it? Does the
mySQL-max rpm hose that? 

issues with RedHat and mySQL.rpm run levels?Daevid Vincent5 Dec