> > > I have installed apache2 from source not rpm and can start it by > > > typing "/usr/local/apache/bin/apachectl start" however I would like > > > apache to start by its self when the machine boots. Can anyone > > > tell me how to accomplish this? > > > >Copy or symlink apachectl to /etc/init.d then chkconfig --add apachectl. > > > >Grig > I just tried this on my 7.2 installation and received a > "service apachectl does not support chkconfig"
Add this line to the beginning of apachectl: # chkconfig: - 85 15 It's a comment line, needed by chkconfig. > The is, I think, the Apache from the distribution. Oracle install > puts an Apache in the Oracle tree. > > I'm not sure about S99local because it seems to run at every init level. > > I created an S88apache and a K88apache and put them in rc2.d Shouldn't it be put in rc3.d? Put it there, if 3 is your default runlevel. > Is this the correct approach? Yes. > Robert Monical Grig -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list