kill / start script (for Beartooth)

chip yellowdog-general@lists.terrasoftsolutions.com
Fri May 2 16:51:01 2003


Beartooth,
Sorry about sending this back through the list, but it appears that your 
mail server is rejecting mail from my subnet (I'm on Cox@home) . . .


><karhunhammas@Lserv.com>:
>67.118.194.69 does not like recipient.
>Remote host said: 553 5.0.0 <karhunhammas@Lserv.com>... BLOCK hr.cox.net spam
>Giving up on 67.118.194.69.
>
>--- Below this line is a copy of the message.
>
>OK, first off, no problem, at one point in time we all had VDQs ;-)
>
>in your /etc directory there should be seven rc directories labelled rcx.d
>where x is 0-6.  These specify what happens at each run-level, normal
>run-levels are:
>0 - halt
>1 - single user mode
>2 - spare
>3 - networking, no x windows
>4 - spare
>5 - networking and x windows
>6 - reboot
>
>your machine is probably set to boot automatically into x windows, so your
>default runlevel is 5
>
>inside that directory are a bunch of scripts that start or stop the
>services on the machine, (actually they are links to scripts, but for this
>purpose it doesn't matter)
>
>scripts that start with a K (case is important) will stop a service if it
>is running, else they are ignored.  scripts that start with an S start
>services.  Apache is probably started by a script with a name like S80httpd
>(I haven't loaded 3.0 yet) - the httpd is the important part . . .
>
>rename that script to K80httpd in rc3.d and rc5.d and restart . . .
>mv S80httpd K80httpd
>
>that's it!
>Chip
>
>At 01:52 PM 5/2/2003 -0700, you wrote:
> > > If you aren't offering web services, turn apache off by changing the >
> >runlevel script from an S script to a K script . . . if you aren't >
> >sure > what I mean, email me . . .
> >
> >         I don[t even know what they are. VDQ is for Very Dumb Question
> >-- I've got lots, and figure I might as well label them. :-)
> >
> >--
> >Beartooth Implacable <karhunhammas (at) lserv.com>
> >PhD, Double Retiree, Neo-Redneck, Linux Duffer, Curmudgeon
> >What do they know of computers, who only windows know?