[NTLUG:Discuss] problems getting some services to start at boot
Jack Snodgrass
idiotboy at cybermail.net
Fri Nov 30 15:21:51 CST 2001
on redhat, you put your startup scripts in the
/etc/rc.d/init.d directory. ( I generally use
linuxconf to handle what gets started or not started,
but you can manually do it with chkconfig too )
chkconfig expects the file your adding/checking to be
in the /etc/rc.d/init.d directory. Also, the first couple
of lines of a startup script have to have special keywords
so that all of this stuff will work. Specifically, they
have to have
# chkconfig: 2345 10 90
but I think that
# description: Activates/Deactivates all network interfaces configured to \
# start at boot time.
and maybe some more is also required.
the first set of number is the run levels. These are changed
by the chkconfig command. The second number is the priority
for starting and the 3rd number is the priority for stopping.
With the priorities, make sure that the network is started
before your internet servers and make sure your servers are
stopped before you network.
------------------------------------------------------------
Jack - 817-455-1216
Available for Linux administration, configuration and setup.
------------------------------------------------------------
----- Original Message -----
From: "Raymond Norton" <ray at lctn.k12.mn.us>
To: <discuss at ntlug.org>
Sent: Friday, November 30, 2001 8:41 AM
Subject: Re: [NTLUG:Discuss] problems getting some services to start at boot
> After running "/sbin/chkconfig --level 3 httpd on" I get "error reading
> information on service httpd: no such file or directory"
>
> What do I do about that?
>
> Raymond
>
> ----- Original Message -----
> From: Rev. wRy <slot0k at pogox.com>
> To: <discuss at ntlug.org>
> Sent: Friday, November 30, 2001 8:34 AM
> Subject: Re: [NTLUG:Discuss] problems getting some services to start at
boot
>
>
> > Raymond Norton wrote:
> >
> > > I also have about the same problem with apache.
> >
> > [root at suicide]# /sbin/chkconfig --level 3 httpd on
> >
> > > Raymond
> >
> > Ry
> > (probably something similar for mrtg)
> >
> > _______________________________________________
> > http://www.ntlug.org/mailman/listinfo/discuss
> >
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>
More information about the Discuss
mailing list