Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When try to shutdown the computer it stays on a "Stopping VirtualBox kernel modules" message. It looks like it has to do something with VirtualBox, but happens even if I didn't use VirtualBox at all. Also it happens randomly.

This is what I see on the screen.

The system is going down for halt now
* Stopping TiMidity++ ALSA MIDI Emulation...
hecking for running unattended-upgrades:
* Stopping UPnP devices daemon minissdpd
minissdpd[1194]: received signal 15, good bye
speech-dispatcher disabled; edit /etc/default/speech-dispatcher
* Stopping VirtualBox kernel modules

And it stays here forever if I don't do the "force power-off".

My specs: Ubuntu 12.04 LTS on Dell Studio 1555 Laptop

share|improve this question
Try reinstalling VirtualBox guest additions, seems like it's freezing because something went wrong in the kernel installation. If you get an error or a warning while installing, post here. – Evandro Silva Nov 2 '12 at 13:35
What is the output of lsmod | grep vbox? If there is some output, try sudo rmmod ARG where ARG is the first word in the above lsmod output? If this happens without any error messages please paste the file /etc/init.d/virtualbox-ose to some place and post the link to the file. – qbi Nov 2 '12 at 14:02
Output of lsmod: Insted of virtualbox-ose (I don't have this file) I uploaded /etc/init.d/virtualbox file here: – user568021 Nov 2 '12 at 15:01
up vote -1 down vote accepted

I think I found out what's causing this. It must be Apache or something, because if I stop xampp before shutdown, it all goes well. Unbelievable.

share|improve this answer
well...that means the problem is solved for me... – user568021 Nov 5 '12 at 18:15
Since there will be no more answers, think your answer is the right one, stopping xamp didn't work for me, though. – Evandro Silva Nov 6 '12 at 9:19
@EvandroSilva Could you try to rmmod to modules as described above? What happens? – qbi Nov 6 '12 at 20:02
@qbi Module vboxsf is in use, Module vboxguest is in use by vboxsf. – Evandro Silva Nov 7 '12 at 0:42
Could you paste the output of lsmod | grep vbox somewhere? Thanks. – qbi Nov 7 '12 at 9:47

Your Answer


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.