LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Shutdown not doing anything

[ILUG] Shutdown not doing anything

Niall niall at mailtest.inpho.ie
Tue Jan 25 21:29:02 GMT 2000


On Tue, 25 Jan 2000, Kathryn Cassidy wrote:
 
> 'shutdown -h now' and 'shutdown -r now' give me the 
> following message:
> 
> Broadcast message from root (0) Tue Jan 25 17:15:48 
> 2000...
> The system is going down for system halt NOW !! 
> 
> But the machine stays up.  If I hit enter again after 
> issuing the shutdown command I'm returned to the bash 
> prompt.  Nothing appears on the monitor attached to the 
> linux box either.  It appears to be cheerfully ignoring 
> my shutdown command.

I used to have this with Linux and I never did solve it. However,  some
time ago it started happening on a Solaris box and I investigated it in
greater depth and came up with the  answer, which may well be your
problem. When you do a shutdown on Linux you eventually do an  init 0 and
init will not change run-level if it has not completed bringing the
machine to the current run-level, so if any of your default run-level's
start scripts don't finish, init 0 won't work. So, you need to look in a
ps output and see if there are any hanging init scripts. If so, establish
why they are hanging. To solve the current problem, you can simply kill
the hanging scripts, and then init should be able to change run-level.


Kindest regards,


Niall  O Broin






More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell