LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-24-2003, 06:12 PM   #1
snocked
Member
 
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482

Rep: Reputation: 30
Proper way to shutdown?


"System will be halted immediately"

PC is still on though. Do I hit the power switch in the back of the tower or what?
 
Old 01-24-2003, 06:15 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well once it's stopped doing things, yes. The system does not just kick the legs out from underneath it like windows does, so it takes a little time, but if you have an ATX power supply it should turn itself off... make sure you use "halt -p" or "poweroff" if you do this from a terminal
 
Old 01-25-2003, 02:53 AM   #3
snocked
Member
 
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482

Original Poster
Rep: Reputation: 30
After it says the system will be halted immediately, a few seconds later and I think I hear it shutdown, although my fans are still going and there's still the screen with that halted message.
 
Old 01-25-2003, 03:01 AM   #4
tunedLow
Member
 
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133

Rep: Reputation: 15
Have you tried: (as root)

# modprobe apm
 
Old 01-25-2003, 10:03 AM   #5
deadbug
Member
 
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355

Rep: Reputation: 30
Try: shutdown -h now
 
Old 01-25-2003, 03:49 PM   #6
snocked
Member
 
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482

Original Poster
Rep: Reputation: 30
shutdown -h now:
"System will be halted immediately", but pc stays powered on.

modprobe apm:
modprobe: Can't locate module apm

Last edited by snocked; 01-25-2003 at 04:27 PM.
 
Old 01-27-2003, 02:48 PM   #7
deadbug
Member
 
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355

Rep: Reputation: 30
It must be issued as root.

su
<password>
shutdown -h now
 
Old 01-27-2003, 05:15 PM   #8
snocked
Member
 
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482

Original Poster
Rep: Reputation: 30
I was logged in as root.
 
Old 01-27-2003, 06:32 PM   #9
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
My home computer does automatically power down, the one at work doesn't. It's a bit hit and miss presently. Once it displays that message just switch it off, any noises you hear are probably irrelevant.
 
Old 02-11-2003, 08:21 AM   #10
snocked
Member
 
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482

Original Poster
Rep: Reputation: 30
Am I wearing down my power supply by switching it off and on everyday? When I was using Windows, it would shutdown and powered off, but won't do it in linux. And I only have linux currently.
 
Old 02-11-2003, 08:43 AM   #11
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Nope, the power switch just sends a signal to the mobo
 
Old 02-11-2003, 08:50 AM   #12
snocked
Member
 
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482

Original Poster
Rep: Reputation: 30
So by turning on the power supply from the back of the tower, it just tells the mobo it can be powered on?
 
Old 02-11-2003, 09:26 AM   #13
KayJay
Member
 
Registered: Mar 2002
Location: dev/null
Distribution: redhat, mandrake
Posts: 218

Rep: Reputation: 30
Quote:
Originally posted by mhearn
Nope, the power switch just sends a signal to the mobo
but for shutting it down with the OS u dont use your power switch..
I think modprobe apm might do it.. or your Linux doesnt like your mobo that much.. I have the same thing @ home

anyway.. maybe it's not even apm but acpi.
so u might check if u have advanced power management or acpi
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Please help on how to save services shutdown or shutdown from the terminal. wambuzz Linux - General 2 03-11-2005 08:38 AM
Linux full shutdown vs. manual shutdown? LQtoto Linux - General 9 01-26-2005 07:21 PM
the proper way to shutdown services. Blu-star Linux - General 10 01-01-2004 10:15 PM
killall X - this is not the proper shutdown mechanism, is it?? e-regular Linux - Newbie 4 09-10-2003 10:42 AM
Proper shutdown linuxRules Linux - General 6 05-24-2002 04:56 PM


All times are GMT -5. The time now is 12:53 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration