LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-30-2014, 10:43 AM   #1
pittendrigh
Member
 
Registered: Jun 2014
Posts: 32

Rep: Reputation: Disabled
sudo halt stops aborts the operating system but the system fan keeps running


I just built a linux backup server. Works fine. I gave this box a reserved IP address of 192.168.1.200 so all other boxes on my basement network can talk to it.

However, when I do a "sudo halt" at the bash command line the box never completely shuts down. The screen goes black and almost blank but hangs there with a "system halted" message on a black background terminal like display. And the fan continues to run. More or less for ever. And the "system halted" message never goes away.

What would be the cause? How do I get this machine to really shut down when I want it to--without manually pulling the power cord?

uname -a displays:
Linux mybackupserver 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014 i686 athlon i686 GNU/Linux

PS: I just did a sudo apt-get upgrade and then rebooted.

Now a "sudo halt" seems to stop the operating system, sort of. But gets hung displaying a white and green curly-cue Mint Linux logo.

The boot screen announces "Mint 16 Quiana" ....or something like that.

Last edited by pittendrigh; 06-30-2014 at 11:00 AM.
 
Old 06-30-2014, 10:59 AM   #2
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
This is what you want:
Code:
sudo halt -p
or
Code:
sudo poweroff
(they are the same thing)

from the halt manpage:
Quote:
-p When halting the system, switch off the power. This is the
default when halt is called as poweroff.
 
Old 06-30-2014, 11:11 AM   #3
pittendrigh
Member
 
Registered: Jun 2014
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by coralfang View Post
This is what you want:
Code:
sudo halt -p
Cool. Thank you. That works. Interesting however. No other linux box I've ever run required the -p parameter. In fact the one I'm using right now shuts down with halt only. Good to know.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Running GNU R on Linux operating system LXer Syndicated Linux News 0 01-24-2013 10:41 AM
Debian fan - the universal operating system chokmah LinuxQuestions.org Member Intro 3 11-11-2011 07:25 PM
how to get remote pc's running operating system name ? hk_centos Linux - Newbie 4 06-21-2011 02:28 AM
'Operating system not found' Any operating system installed wont work. TechniSlave Linux - Newbie 55 02-09-2009 11:02 AM
how to halt a system with private ip from a system in other net work seabark99 Linux - Networking 3 03-20-2005 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration