Results 1 to 8 of 8
Hi.
I issuesed below in order to shutdown 2.6 linux system.
/sbin/shutdown -c Cancelling current shutdown if exists"
/sbin/shutdown -r now
I don't know why would shutdown hang for about ...
- 07-30-2008 #1Just Joined!
- Join Date
- Jul 2008
- Posts
- 7
shutdown is taking about 15 minutes "shutdown -r now" invoked on 2.6 kernel
Hi.
I issuesed below in order to shutdown 2.6 linux system.
/sbin/shutdown -c Cancelling current shutdown if exists"
/sbin/shutdown -r now
I don't know why would shutdown hang for about 15mins and then broadcast message came up and started shutting down.
Thanks
- 07-30-2008 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,086
Welcome to the forums!
I usually issue one of the following two commands for shutdown (halt) and shutdown (reboot):
...but neither of them ever hangs the system.Code:shutdown -h now shutdown -r now
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 07-30-2008 #3Just Joined!
- Join Date
- Jul 2008
- Posts
- 7
Hi OZ,
We even don't see this issue all the time. But sometime I find it hangs for about 15mins, and there is no logs written to /var/log/syslog. Not sure what else system log I could look at.
Thanks
- 07-30-2008 #4forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,086
Maybe you could run top to see what processes are running, and then kill them one at a time, and then issue the shutdown command after each kill to see which process is hanging things up.
I really don't know of anything else to try.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 08-02-2008 #5Just Joined!
- Join Date
- Jul 2008
- Posts
- 7
Hey OZ,
Could you assist me how do I debug this issue. I want to know which processes are hung because of which shutdown -r now is hanging while shutting down. If I run top / ps command , I think shutdown will kill them. Any other good suggestion to track down which process are hung. Or How do I know "by strace on init/ shutdown pid" so that I can track which process shutdown/init is waiting on before shutting down the system
Need urgent reply
Thanks
- 08-02-2008 #6
I think it may be related to APM and/or ACPI, you could modify your /boot/grub/menu.lst file to disable them.
just add this code to the kernel line of the above mentioned file:
it should look something like this, but yours will be different.Code:acpi=off noapm noapic
If it doesn't help, then you can change the file back and try something else.Code:title Gentoo Linux root (hd0,0) kernel /boot/kernel-2.6.24-gentoo-r8 real_root=/dev/hda8 acpi=off noapm noapicI do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 08-02-2008 #7Just Joined!
- Join Date
- Jul 2008
- Posts
- 7
Thanks
uname -a
Linux Node1 2.6.10-telco-1.45-mckinley-smp #1 SMP Tue Apr 1 23:16:59 UTC 2008 ia64 GNU/Linux
{MM-1}root@Node1:~# cat /boot/grub/menu.lst
cat: /boot/grub/menu.lst: No such file or directory
I don't have this file with me.
Is there any other configuration file for editing the same
- 08-02-2008 #8
Uhhh, are you using Grub as a boot loader? Perhaps Lilo?
You could try /boot/grub/grub.conf
Make sure /boot is mounted or you will never find it.I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.


Reply With Quote
