change the shutdown sequence in red hat linux

Microsoft Microsoft windows xp home edit...
January 28, 2010 at 22:42:26
Specs: red hat linux kernel 2.6, 2G RAM
Hi,
I use red hat linux kernel 2.6
I want to add the application shutdown in shutdown sequence .
I add the K script in /etc/rc.d/ all sub directory for all
running level .
But the auto shutdown application is not appear when
I type "shutdown -r now" ..
There is no indication the application shutdown in the
display ...
The shutdown seq is hang/stop and I need to shutdown the application
by command manually .Then the shutdown process can be continue ....

Why ??/
how can I change the shutdown seq ???
Any advice ...


See More: change the shutdown sequence in red hat linux

Report •

#1
January 30, 2010 at 12:04:52
This yould happen, if a application tries to access the network, while the network is already down.
You may have to change the number to sequence so, that this application shuts down first.
E.g.:
If your applications K-script is listed as K05application, simply rename it to e.g. K10application to change the order for shutdown.

You may also check the K-script itself for the depending services, by unsing an editor like vi.


Report •

#2
January 31, 2010 at 17:07:44
You should find out why that app is hanging. Any forced shutdown can not be good for data.

Playing to the angels
Les Paul (1915-2009)


Report •
Related Solutions


Ask Question