|
Posted by Spare Brain on 08/28/05 21:09
"Spare Brain" <spare_brain@yahoo.com> wrote in message
news:_4mQe.86820$dJ5.10313@tornado.tampabay.rr.com...
> Hi,
>
> I recently installed SuSE 9.3 on x86, and it seems to contain scripts
> "apache2" and "mysql" in the /etc/init.d folder. However, these two
> (Apache
> or MySQL) are not running when I fresh reboot the machine. I am having to
> execute a "./apache2 start" and "./mysql start" every time I reboot.
>
> I am a newbie when it comes to unix admin, and I am trying to read up
> about
> the rc scripts and how they link into the scripts under the /etc/init.d
> folder. Before I rush and do what appears "natural" to me (create a S??
> and
> K?? links in the rc?.d), I'd like to find out some basic questions it
> raises:
>
> 1. Why would the install place the apache2 and mysql scripts under the
> /etc/init.d but not have any entries in any of the rc scripts?
> 2. What do I need to do (anything specific to SuSE) to make the apache and
> mysql launch on reboot? Which rcN gets it?
>
> Thanks!
> Angus
>
>
>
After wading through many (many) different sites, I'd need to do this, even
though apache2 and mysql came packaged:
chkconfig --add apache2
chkconfig --add mysql
And then reboot for it to take effect (or do a /etc/init.d/<program> start
if you don't want a reboot right away).
This answers #2 above, but #1 is still open.
Angus
[Back to original message]
|