chkconfig vs. /etc/rc.d/init.d/httpd -- what does each do be…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mark Berkwitt
Date:  
Subject: chkconfig vs. /etc/rc.d/init.d/httpd -- what does each do best?
Ok, so I just ran "./chkconfig httpd on" from /sbin. I then tried
http://localhost/ and nada.
If I were to use /etc/rc.d/init.d/httpd start
I would be able to see my index.html, or whatever topped the default list.
What did running "chkconfig httpd on" do and how can I do what I want which is
actually start httpd and control whether or not it starts at boot?

On Monday 16 September 2002 05:24 am, wrote:
> On Mon, 16 Sep 2002, Mark Berkwitt wrote:
> > /etc/rc.d/init.d/httpd seems to work well for me. I can start, stop or
> > find the status of apache at will. I just can't set apache to start at
> > boot.
> >
> > I ran
> > # /sbin/chkconfig --add httpd
> > then
> > # /sbin/chkconfig --list httpd
> > httpd    0:off    1:off    2:off    3:off    4:off    5:off    6:off

> >
> > What is this, and what function does it provide.
> >
> > What is chkconfig for and why should I use it?
>
> chkconfig helps you manage the processes started at boot. 'chkconfig
> --add service' only adds that service to the services that *might* be
> started at the different runlevels. 'chkconfig service on' actually sets
> a particular service to start on the current runlevel.
>
>
> David
>
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > PLUG-discuss mailing list -
> > To subscribe, unsubscribe, or to change you mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss