Re: where to put apache in startup order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2004-07-05 at 10:41, Henry Leparskas wrote:
> Thanks for the great suggestions.
> This 'chkconfig' is a nice feature. I see that it makes the symbolic link
> very nicely. It uses S85. Okay. Fair enough.
> 
> I still wonder why making the link manually doesn't work.
> 
> I'm getting old!
> 
> Thanks again.
> 
> HEnry
> 

I am wondering why you are looking at the link in /etc/rd2.d/ for
apache.??

What run level are you actually in?  Most of us are in run level 3
(console mode) or run level 5 (graphics mode).

Run level 2 is seldom used, although certainly possible.

My inittab file has this as the descriptions of the various run levels.
__________________
#Default runlevel. The runlevels used by RHS are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have
networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
#
____________________________


If you are in run level 3 or 5, then changing the link in rc2.d will not
have any effect.

Using chkconfig it creates the S85 links in the current run level only
or in the run levels you explicitly list.

> 
> > Under FC1, my apache daemons are not starting up at boot
> time.
> > Originally, my link to the startup script was numbered
> > /etc/rc2.d/S90apache.
> > I tried as low as S78apache.
> >
> > With either of these numbers, the daemon won't start on its own.
> >
> > It starts just fine manually at a later time with a;
> >
> > 		' /etc/rc2.d/S78apache start'
> >
> > I wonder why it's not starting. On my other systems, including solaris,
> > the S78 spot seems just fine.
> >
> > Details:
> > 	On this system, the level 2 startup scripts are:
> >
> > S00microcode_ctl
> > S08iptables
> > S09isdn			(hmm, I don't need this!)
> > S10network
> > S12syslog
> > S20random
> > S26apmd
> > S40smartd
> > S55cups
> > S55sshd
> > S78apache
> > S85gpm
> > S90crond
> > S90xfs
> > S90anacron
> > S99local
> > ---------------
> >
> > Thanks,
> > Henry
> >
> >
> 



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux