Answers:
I've experienced the same, so I had to use halt which worked
shutdown -h now
本文讨论了Ubuntu Server 11.10版本中遇到的关机失败问题,详细描述了使用sudoshutdownnow命令后的现象,并提供了使用shutdown-hnow作为解决方法。
I have a fresh installation of Ubuntu Server. "reboot" works, but shutdown fails on the * Killing all remaining processes... step. I am using:
sudo shutdown now
After the failure, indicated by [fail] (with "fail" in red), I get this message:
* will now switch to single-user mode
with no other error messages. The user is root after the program exits.
Any ideas about how to trouble-shoot this, or what the problem might be?
The Ubuntu version is 11.10 and I ran sudo aptitude update && sudo aptitude dist-upgradebefore this.
Answers:
I've experienced the same, so I had to use halt which worked
shutdown -h now
From the man pages of shutdown: "... runlevel 1 is used to put to system into a state where administrative tasks can be per- formed; this is the default if neither the -h or -r flag is given to shutdown."
Shutdown shuts the system down from a user perspective, as linux is designed as a multi-user-system. Therefore the system-wide message and optional time delay. To shut down the machine us, as already said, the -h option.
And I wouldn't worry about some processes that couldn't be killed in time, what probably is the meaning of the [fail]-msg you get.
6494
2055

被折叠的 条评论
为什么被折叠?