Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Changing run levels -init.d

Changing run levels -init.d

2004-03-25       - By Percent, Lonnie M.

 Back
Reply:     1     2     3     4     5     6     7  


I have put my scripts in init.d - and have not added them to chkconfig.
that 's ok as I don 't want them changed that way by anyone.

The redhat doc is a little jumbled when it gets to the exact lines about
Using the K* to stop process and S* to start processes

if I am booting up to init 3 when init gets to this point, checks the
inittab
does it run the K* scripts before S* scripts???
*I thought* it only ran the S*
Also
A.
if I go from init 3 to init 5 then *I thought*:
init looks in rc3.d and runs all the K* scripts
then looks in rc5.d and runs all the S* scripts
B.
but the RH doc is saying if I go from 3 to 5
   init looks in rc5.d and runs all the K* scripts
then looks in rc5.d and runs all the S* scripts

I am confused about this as I have googled on runlevels and seen
It stated as in A.

Does anyone know exactly how RH 2.1 works in this instance.

TIA

Lonnie Percent


-- --Original Message-- --
From: redhat-list-bounces@(protected)
[mailto:redhat-list-bounces@(protected)] On Behalf Of Jurvis LaSalle
Sent: Thursday, March 25, 2004 2:40 PM
To: General Red Hat Linux discussion list
Subject: Re: Changing run levels -init.d



On Mar 25, 2004, at 3:00 PM, Percent, Lonnie M. wrote:

> Hi all,
>
> RH AS 2.1
>
> I have two processes that I want to 1. start on going to init 3 or
> init 5 And stop on going to init 0,6
>
> I have the start and stop script in init.d and have symbolic link To
> the appropriate rc dirs.
>
> My question is :
> I have put in Start and Stop for my db and app server. I put start at
> S98 so It would be started after the system is up and stop at K16 so
> they would
> be
> Stoped early before other process are stopped.
> For 0 and 6 I just put the stop (K 's).
>
> But i notice that the start and stop links (S* & K*) are not the same
> in
> each rc
> Dir for the same processes i.e. it stops httpd but never starts it.
> There may be
> Reasons for that. But I am questioning where I put my start and stop
> links.
>
> Any insight is appreciated
>
> Lonnie Percent
>

managing the rc scripts is a real pain. so much so that some kind soul
(Erik Troan) wrote chkconfig. Read it 's man page and revel in it 's
simplicity.

hth,
Jurvis LaSalle



--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list