Ubuntu shutdown fail “* Killing all remaining processes…”

本文讨论了Ubuntu Server 11.10版本中遇到的关机失败问题,详细描述了使用sudoshutdownnow命令后的现象,并提供了使用shutdown-hnow作为解决方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

http://superuser.com/questions/360544/ubuntu-shutdown-fail-killing-all-remaining-processes

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.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值