Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

ML370 G2 - Debian Sarge - Shutdown Problems

Arthur Kant_1
Occasional Advisor

ML370 G2 - Debian Sarge - Shutdown Problems

We have ML370 G2 (1 CPU) latest firmware, running a hardware RAID1 on a 641/642 Smart Array adapter.

I have installed Debian Sarge on the system and everything work great, except the system always locks or hangs on shutdown when "Sending TERM Signal to all processes" am I missing something here? I am running the 2.4.27-2 kernel have tried upgrading via apt-get to SMP version of this kernel no changes. Should I move to 2.6 ?? I want to stay at 2.4 if at all possible.

Thanks all!

9 REPLIES
Ross Minkov
Esteemed Contributor

Re: ML370 G2 - Debian Sarge - Shutdown Problems

Arthur,

See if you can find anything in the log files to point us in the right direction.

-Ross
Bejoy C Alias
Respected Contributor

Re: ML370 G2 - Debian Sarge - Shutdown Problems

If u had a lot of services started which are resource hungry , then this may hang the machine at the "Sending TERM Signal to all processes" . Try booting to runlevel 2 and shutdown the machine . If it is shutting down properly , then remove the unnecessary services from ur startup .
Be Always Joy ......
Gopi Sekar
Honored Contributor

Re: ML370 G2 - Debian Sarge - Shutdown Problems


Please ensure that you have enabled APCI both in BIOS and in the debian kernel.

Linux kernel requires advanced power management functionalities to handle auto power off of servers during shutdown. The kernel you are using should have this functionality unless it is disabled intentionally during boot time.

Also check the kernel boot parameters and ensure you dont have apci=off as one of them, if so try removing it and see whether it works.

Regards,
Gopi
Never Never Never Giveup
Steven E. Protter
Exalted Contributor

Re: ML370 G2 - Debian Sarge - Shutdown Problems

2.6 kernel offers a lot of performance and stability advantages. that alone is worth it.

I would take a little more time though looking for an actual cause.

df -H

Does /var have enough space?

Lets check /var/log/messages for an error message.

shut the system down, let it hang for an hour or two and see if it finishes or the log gets updated.

If you find more data, please post back to this thread.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Arthur Kant_1
Occasional Advisor

Re: ML370 G2 - Debian Sarge - Shutdown Problems

"If u had a lot of services started which are resource hungry , then this may hang the machine at the "Sending TERM Signal to all processes" . Try booting to runlevel 2 and shutdown the machine . If it is shutting down properly , then remove the unnecessary services from ur startup ."


It was a very small installation nothing really but the command line and software I needed to run asterisk.

Stupid question, how do I change the runlevel as specified in your reply at boot?

Arthur Kant_1
Occasional Advisor

Re: ML370 G2 - Debian Sarge - Shutdown Problems

"Please ensure that you have enabled APCI both in BIOS and in the debian kernel.

Linux kernel requires advanced power management functionalities to handle auto power off of servers during shutdown. The kernel you are using should have this functionality unless it is disabled intentionally during boot time.

Also check the kernel boot parameters and ensure you dont have apci=off as one of them, if so try removing it and see whether it works.

Regards,
Gopi

----------

Yes this was enabled in BIOS and in the kernel from what I know. I actually though this was CAUSING the problem so tried to disable in the bios and the kernel... but that just caused more problems... but I have the machine back to the way it was problem continues.
Arthur Kant_1
Occasional Advisor

Re: ML370 G2 - Debian Sarge - Shutdown Problems

2.6 kernel offers a lot of performance and stability advantages. that alone is worth it.

I would take a little more time though looking for an actual cause.

df -H

Does /var have enough space?

Lets check /var/log/messages for an error message.

shut the system down, let it hang for an hour or two and see if it finishes or the log gets updated.

If you find more data, please post back to this thread.

SEP
"

Well I reinstalled Sarge with 2.6.8 kernel and that fixed the problem. I was told that by the time shutdown process got to the "sending all processes" the term signal that all drives are umounted from r+w ? So there would be know log... I check the log also before I did this and nothing looked wierd.


Also as tried letting the system hang on that prompt when it was locking for over 12 hours no avail ;( .. I really wanted to use 2.4 but I guess 2.6 will be ok...

Now I was reading that HP sells support packages for Debian now? Do any of you use Debian on HP hardware in production? What type of application?


Ross Minkov
Esteemed Contributor

Re: ML370 G2 - Debian Sarge - Shutdown Problems

You can find the HP ProLiant Linux Server Certification Matrix here:

http://h18004.www1.hp.com/products/servers/linux/hpLinuxcert.html


-Ross
Ross Minkov
Esteemed Contributor

Re: ML370 G2 - Debian Sarge - Shutdown Problems


Try this link --
http://h20219.www2.hp.com/services/cache/76815-0-0-225-121.aspx

HP Debian Linux Support Services

-Ross