LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-10-2003, 10:27 AM   #1
samble
LQ Newbie
 
Registered: Nov 2003
Posts: 15

Rep: Reputation: 0
Init 0 does not shutdown the server on its own


I have upgraded the kernel on my Red Hat 7.3 server from "2.4.18-3smp" to "2.4.18-5smp". The server has a dual Xeon based motherboard with a RocketRAID133 controller. When I was running "2.4.18-3smp" kernel I could issue "init 0" to shutdown the server and it would shutdown on its own. In "2.4.18-5smp" kernel whenever I issue "init 0" I have to manually shutdown the server. Would any of you have any suggestions for me to get over this deficiency?

Thanks in advance for any help

Srini
 
Old 11-10-2003, 10:45 AM   #2
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 39
try shutdown -h now
 
Old 11-10-2003, 11:28 AM   #3
samble
LQ Newbie
 
Registered: Nov 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for taking time to read through and make a suggestion. I tried "shutdown -h now" and its behavior is no different from "init 0". I still have to mnually shutdown the server after I issued the command. I am open to other suggestions.
 
Old 11-10-2003, 11:35 AM   #4
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Have you compiled the kernel? Probably you need the correct APM (advanced power management) option to be compiled in.
 
Old 11-10-2003, 12:12 PM   #5
samble
LQ Newbie
 
Registered: Nov 2003
Posts: 15

Original Poster
Rep: Reputation: 0
The kernel I am using "2.4.18-5smp" is from an RPM. I have not recompiled the kernel. I just had to drop in the driver for RAID and recreate the "initrd" using the "mkinitrd" command. Could you please elaborate on "APM"? I did not follow it fully.

Thanks for your help.
 
Old 11-10-2003, 01:38 PM   #6
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Well, I've dug a little bit, so I am currently not sure if it is a matter of PM or APM option.
Anyway I am sure it is a matter of kernel compiling options. If you have got a binary kernel - it could be compiled in any way.
Regarding your ask "Could you please elaborate on "APM" - what can be added more? If you not familiar with kernel compiling - it is a high time to do it :) During setting the options you'll find nice help and a lot of docs as well which comes with the kernel sources.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat Ent 3 AS init.d won't shutdown db ilerdl Red Hat 4 06-23-2009 08:45 AM
Shutdown problem : Usage: init PeterOnTheNet Slackware 12 03-03-2005 09:22 PM
Service Shutdown and Init Setup g_goblin Solaris / OpenSolaris 1 10-29-2003 03:53 PM
control reboot, init 6 ,shutdown paulmccs Linux - General 3 02-27-2002 02:50 PM
how can I remote shutdown other WinNT server from Linux Server? adelel Linux - Networking 2 01-06-2002 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:17 PM.

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
Open Source Consulting | Domain Registration