?
Solved

linux power down

Posted on 2004-08-07
9
Medium Priority
?
350 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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
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
 
LVL 44

Assisted Solution

by:Karl Heinz Kremer
Karl Heinz Kremer earned 150 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 1350 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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.
Suggested Courses
Course of the Month14 days, 10 hours left to enroll

839 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