[ale] RedHat chkconfig & init scripts

Jeff Lightner jlightner at water.com
Fri Mar 30 09:27:50 EDT 2007


In my original description I noted that I manually ran it successfully
for both start and stop from command line.

It succeeds on start after boot.

It does not even TRY to stop.   Again I don't believe the problem is
with the script - I believe the script is never even being attempted on
the stop during shutdown. 

-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
To: ale at ale.org
James P. Kinney III
Sent: Thursday, March 29, 2007 9:07 PM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] RedHat chkconfig & init scripts

On Thu, 2007-03-29 at 16:01 -0400, Jim Popovitch wrote:
> On Thu, 2007-03-29 at 15:55 -0400, Jeff Lightner wrote:
> > 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).
> 
> Couple of other things to check...
> 
> Is the execute bit set on /etc/init.d/pc1_mid_tier ?

What happens if you manually run /etc/init.d/pc1_mid_tier stop ?
If the app does not stop, the problem is on the init script stop case
statement.
> 
> Can you execute /etc/rc3.d/S99pc1_mid_tier
> and /etc/rc3.d/K019pc1_mid_tier?  (to make sure the symlinks are
> correct)
> 
> Does /etc/init.d/pc1_mid_tier depend on any env variables that might
not
> exist at shutdown?  Things like $PATH, $LANG, etc.
> 
> -Jim P.
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
-- 
James P. Kinney III          
CEO & Director of Engineering 
Local Net Solutions,LLC        
770-493-8244                    
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7



More information about the Ale mailing list