Solved

linux power down

Posted on 2004-08-07
9
326 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

707 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

13 Experts available now in Live!

Get 1:1 Help Now