LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 12-31-2003, 08:41 PM   #1
hus
Member
 
Registered: Dec 2003
Location: Bangkok- Thailand
Distribution: Mandriva 10.0,Fedora Core 4
Posts: 79

Rep: Reputation: 15
Can't shutdown properly


After I type "halt" or "shutdown -h now"
It seems well but why my pc doesn't turn off ?
my HDD is still running.
What should I do?
 
Old 12-31-2003, 09:14 PM   #2
race
Member
 
Registered: Nov 2003
Distribution: debian
Posts: 66

Rep: Reputation: 15
shutdown

yeah its slightly tricky at first

but as root you can type in the command

shutdown -a -h -t 0 now
 
Old 12-31-2003, 09:14 PM   #3
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Hi hus!

Welcome to the LinuxQuestions.org forum. I believe, judging by your descriptions, that you are running Slackware (also because it's your first distro at your list...ghehe). Remember to tell us which distro you are trying to do an specific stuff, because it can be distro related. Well, if it's slackware, it's because a module is not loaded by default, which is the one responsible to totally shutdown the computer. Do this:

su -

modprobe apm

shutdown -h now

If it works, you could:

1 - Always load that module before shutting down, or
2 - Add that line (modprobe apm) to your /etc/rc.d modules (the path may be wrong, I'm on another distro right now, but should be somewhere around there. If you don't find, let me know and I boot into Slack).

A suggestion, a little unconnected though. At this forum, if you click at the button cp up there at the homepage, you can edit your "Distribution" field, placing one space after each comma. That would make your threads look nicer. Eg:

1 - You are using:

Slackware,Vector,Redhat,Mandrake,Debian

2 - It's better to:

Slackware, Vector, Redhat, Mandrake, Debian

Good luck and Happy New Year!
 
Old 12-31-2003, 09:32 PM   #4
hus
Member
 
Registered: Dec 2003
Location: Bangkok- Thailand
Distribution: Mandriva 10.0,Fedora Core 4
Posts: 79

Original Poster
Rep: Reputation: 15
Thank you for your suggestion Megaman X

I'll try this
and

Goodluck and Happy new year!
 
Old 12-31-2003, 10:26 PM   #5
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
My pleasure. Give race's idea a shot too. I have not seen that command before, but might be what you seek And thanks for placing the space at the distribution thing mate!
 
Old 01-01-2004, 04:24 AM   #6
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
I had the same problem with Slackware -

add

apm=power-off

to your

append

line in the Slackware stanza in lilo.conf - ie for example

append="devfs=mount hdc=ide-scsi acpi=off quiet apm=power-off"

then type

/sbin/lilo

to make the changes take effect

Then use

halt

as Root user to shut the system down........or if your using KDM you can use the GUI option
 
  


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
cannot shutdown properly space_beyond Linux - Security 7 07-15-2005 12:17 PM
gnome won't logout or shutdown properly RRolleston Debian 0 12-23-2004 05:33 PM
Help! X in Rh9 won't shutdown/logout properly! benjaminchoate Linux - Software 6 03-04-2004 03:26 PM
Vector Linux 3.2 - just how to shutdown properly ? alloydog Linux - Networking 4 05-30-2003 02:21 PM
Cannot Shutdown/Reboot properly skiu4ia Linux - Newbie 3 05-21-2002 06:03 AM


All times are GMT -5. The time now is 02:28 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration