[ale] RedHat chkconfig & init scripts

Jeff Lightner jlightner at water.com
Thu Mar 29 15:55:39 EDT 2007


Yep.  I have it as K01pc1_mid_tier.   - the next thing to be stopped is
K03dataeng and it runs fine.

On start it is the last thing started (S99pc1_mid_tier).



-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Jim
To: ale at ale.org
Popovitch
Sent: Thursday, March 29, 2007 3:42 PM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] RedHat chkconfig & init scripts

On Thu, 2007-03-29 at 15:21 -0400, Jeff Lightner wrote:
> Recently I wrote a start/stop init script for some RHEL AS 3 boxes
> (modeled on an existing one).   I used chkconfig to turn it ON in my
> multiuser run levels.   It worked like a charm on startup to start the
> application (Oracle Middle Tier).   It also worked fine from command
> line to stop the application.

Something else that popped into my mind is to check what position your
shutdown script is set to execute in.  (chkconfig --list, IIRC).  What
you want to make sure of is that your script shutdown before any of it's
dependencies do (i.e. mount points, network, etc.)

-Jim P.

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale



More information about the Ale mailing list