Solved

linux power down

Posted on 2004-08-07
9
330 Views
Last Modified: 2013-12-15
i have tried a number of different linux flavors but have the same problem with each. I can shutdown the machine but it refuses to power off.

Any suggestions?
0
Comment
Question by:PhillO
  • 4
  • 4
9 Comments
 
LVL 7

Expert Comment

by:troopern
ID: 11744584
Are you using "shutdown -h" ?
If so, recompile your kernel with APM support and with Power Down support under that.
And it should work nicely.
0
 
LVL 7

Expert Comment

by:troopern
ID: 11744590
That is if you know how to handle kernel recompiling.
0
 

Author Comment

by:PhillO
ID: 11744769
no i am not that confident with that.

i am using mandrake 10 at the moment with the apmd installed. the shutdown process tells me that it is powering down right at the end but it never does it

phill
0
 
LVL 7

Expert Comment

by:troopern
ID: 11745763
That's because the kernel doesn't have the correct parameters to send the shutdown signal to the hardware.

Take a look at:
http://www.tldp.org/HOWTO/Kernel-HOWTO/index.html
To get a closer view of how to recompile the kernel.
Do you have a friend that know's how to do this ask him/her for assistance and to teach you how to do it.

It's always handy to be able to recompile the kernel =)
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 44

Assisted Solution

by:Karl Heinz Kremer
Karl Heinz Kremer earned 50 total points
ID: 11746225
How old is your hardware? Early 32-bit APM BIOS routines had a problem with the shutdown. I had such a machine a few years ago. At one time there was an option in the kernel to use the 16-bit shutdown routine instead. I don't know is this is still there, but you should check your kernel configuration for an option to use the 16-bit code. Or, use ACPI instead of APM.
0
 

Author Comment

by:PhillO
ID: 11746228
troopern

I don't know anyone wh can help. so i'll just find another harddisk and give it a whirl.

BTW what do you think of mandrake 10 as a production server.

Phill
0
 

Author Comment

by:PhillO
ID: 11746232
khkremer

the hardware was purchased 2 years ago

phill
0
 
LVL 7

Accepted Solution

by:
troopern earned 450 total points
ID: 11746362
MDK10 could be used as a production server, but I'm not familiar at all with MDK. I've only used Slackware and Gentoo Linux for real. Been testing RH and Debian.
But I would go with Slackware, Gentoo, Debian, SuSe or Fedora for a production server.
It all depends on your level of knowledge and skill, any distro can be used in production as long as the admin is well aware of what he/she's doing and how to tighten the system up.
0
 

Author Comment

by:PhillO
ID: 11748066
i have accepted an answer even though i can't test the solution until i figure out how to recompile the kernel. this will take me a bit of time. thanks for the help

Phill
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
change time in cron 4 65
BASH script to modify crontab? 3 50
My bash alias isn't executing 5 47
Remove a folder in Linux 9 91
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now