LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   System Halting while shutdown system. (https://www.linuxquestions.org/questions/linux-software-2/system-halting-while-shutdown-system-269387/)

LiloAma 12-22-2004 09:12 PM

System Halting while shutdown system.
 
Dear All,
I'm using RH ES3.0 Kernel 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2004 i686 i686 i386 GNU/Linux
I've a little problem.
My problem is,
Once I send command "shutdown -r now" in CLI.
The system will be shuting down process.
It looks good.
But It'll be frozen on "System Halting" line.
I've to come at Server then put the power button for power off it.
My aim that i don't want to come at system everyday to turn it off
Because it's remote system.
Anybody ever encounter this problem??

Please kindly get me out.

Regards,

dalek 12-23-2004 02:45 AM

Sounds like you need either APM or something to shut it off. Mine uses APM. It depends on the mobo though. May need to search for your mobo model and apm in www.google.com/linux and see what others use.

I bet that is a bummer though.

Later

:D :D :D :D

daihard 12-23-2004 02:53 AM

I'm sure it's a typo, but let's just make sure we are talking about "shutdown -h now" here. :)

You can type "apm -v" to see if your BIOS/kernel supports APM. If it comes back empty, you might want to try using ACPI instead of APM.

I've been told that server chipsets usually do not shut off automatically even though APM or ACPI is turned on. Just so you can prepare for the worst...

LiloAma 12-23-2004 03:40 AM

Thanks for you all,
I don't know this symtom regard with APM or not.
because of in previously time,
This system can shutdown by normally.
But a couple weeks ago.
This system needs to come and turn it off.
This is Dell Server.

I've run command that get result
$apm -v
APM BIOS 1.2 (kernel driver 1.16)
AC on-line, no system battery.

Could you have the other suggestion???

regards

daihard 12-23-2004 03:55 AM

Quote:

Originally posted by LiloAma
I've run command that get result
$apm -v
APM BIOS 1.2 (kernel driver 1.16)
AC on-line, no system battery.

Could you have the other suggestion???

Is your APM daemon running?

dalek 12-23-2004 03:59 AM

Hint:

Code:

root@smoker / # ps aux | grep apm
root        38  0.0  0.0    0    0 ?        S    Nov10  61:44 [kapmd]
root      8935  0.0  0.0  1444  480 pts/1    R+  04:08  0:00 grep apm
root@smoker / #

Something like that anyway.

:D :D :D :D

LiloAma 12-23-2004 04:42 AM

Thanks for your help
I didn't found this deamon.
How could i run this service and make it as auto??
regards,

LiloAma 12-23-2004 05:13 AM

again.
This is result.
$ apm -v
No APM support in kernel

Is this package need to be installed??

regards,

dalek 12-23-2004 05:53 AM

I think it has to be in the kernel. I'm not sure how Redhat does their kernel. I'm a Gentoo nut so I know how to redo mine but I have never used Redhat. You may want to see if you have the kernel sources installed. May also want to seach the Redhat section. I'm sure there is a how to in there somewhere.

Sorry I can't help more than that. Maybe a Redhat user will come along and help.

Later

:D :D :D :D

LiloAma 12-23-2004 06:21 AM

Hi Dalek,
Could you share that in this?
I'd like to know what did you do in Gento?

regards,

daihard 12-23-2004 01:10 PM

Quote:

Originally posted by LiloAma
Hi Dalek,
Could you share that in this?
I'd like to know what did you do in Gento?

Red Hat shoud have the APM support built in to the kernel. You get "No APM support" from "apm -v" when the apmd daemon is not running. I believe all you have to do is enable the "apmd" daemon to start up at boot time.

You should have the command-line tool called "chkconfig." That lets you do it. First, type in (as root):

# chkconfig --list apmd

This will show whether or not the apmd daemon is on the list of services. If it comes back empty, run (again as root):

# chkconfig --add apmd

This will add the daemon as a service that can be started at boot time. Type the following to make sure it's turned on:

# chkconfig apmd on

This should enable the apmd daemon to start at boot time.

Good luck!
Dai

LiloAma 12-23-2004 07:59 PM

Thanks you daihard,
I'll try.
Anyresult, will let you know

LiloAma 12-30-2004 03:21 AM

Dear,
I've followed as your advice above.
It doesn't work.
It's still forzen on:
$poweroff
|
|
|

Halting System
md: stopping all md devices.
Flushing ide devices: hda
Power down..

Then i've to turn power off button anyway.
Could you let me know any solution?

regards,

LiloAma 12-30-2004 03:30 AM

again,
I've turned it on already.
$chkconfig --list | grep apmd
apmd 0:on 1:on 2:on 3:on 4:on 5:on 6:on

megaspaz 12-30-2004 10:25 AM

what happens if you use this command?

/sbin/poweroff -p


All times are GMT -5. The time now is 11:46 PM.