chkconfig vs. /etc/rc.d/init.d/httpd -- what does each do best?
Mark Berkwitt
plug-discuss@lists.plug.phoenix.az.us
Mon, 16 Sep 2002 08:28:43 -0700
On Monday 16 September 2002 08:23 am, Jim wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> try 'apachectl status' as root to see if apache is running
replied with
Not Found
The requested URL /server-status was not found on this server.
--------------------------------------------------------------------------------
Apache/1.3.23 Server etc
I know it's there cause I can see it from my browser
>
> On Monday 16 September 2002 08:05, you wrote:
> > 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, daz@undertaker.homeip.net 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 - PLUG-discuss@lists.plug.phoenix.az.us
> > > > To subscribe, unsubscribe, or to change you mail settings:
> > > > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> > To subscribe, unsubscribe, or to change you mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
> - --
> Jim
>
> Freedom is worth protecting
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.5.8
>
> iQA/AwUBPYX3hysk3ywszI1FEQIxrwCg1Q21z2nYULyEorghogpra1WtKfgAniJF
> dtou9NO77MNI+owI8T/j++5q
> =VIcV
> -----END PGP SIGNATURE-----
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss