Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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-upgrade before this.

share|improve this question
I am experiencing exactly the same issue. – Kouber Saparev Dec 28 '11 at 22:28
See if this helps. it forced the shutdown, though the red "failed" didn't disappear. – user113733 Jan 15 '12 at 13:53

2 Answers

up vote 13 down vote accepted

I've experienced the same, so I had to use halt which worked

shutdown -h now
share|improve this answer
This may require sudo to run – Simon Sheehan Jan 20 '12 at 1:20

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.