I have just upgraded my computer from ubuntu 12.10 to ubuntu 13.04, and now when I go to turn off my computer, it will not shut down fully. The Power supply keeps running, even when it is "off" Any suggestions please?
|
I modified the script responsible for sending the kill signal with allocated delay, /etc/init.d/sendsigs, and reduce the amount of time it does to kill the remaining processes in 2 iteration. Healthy or not it gets the job done on my system and is no longer hanging on shutdown and restart. Below is a portion of the /etc/init.d/sendsigs with modification indicated by # <--- :
then on the lower part of the script:
NOTE: This may not be the best solution since the original script is working on other systems, for those systems like mine where several suggested solutions did not apply - this is what I can share considering I am only running the system as a workstation with no critical services running after closing all the desktop applications I use before clicking on the shutdown or restart icon. System in use is an Asus X550DP laptop. |
||||
|
|
|
Try the command
in the terminal. If even after broadcast, the state remains active, then force shutdown by holding the power key pressed for 5 seconds reboot and go to
and forcefully add
(as pointed by mauro above) this must work again with the normal shutdown or shutdown from the terminal. |
||||
|
|
|
it might be a bug.Please check the link below: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1010981 |
|||
|
|
|
I had the same trouble with my Macbook Pro running Ubuntu 13.04. After some tries and worries, I found a workaround. Does your computer run with 2 CPUs or more? In my case I had to edit the GRUB2 config file in order to add the parameter MAXCPUS=1 (and get rid of ACPI=OFF). |
|||
|
|
|
I've seen problems with this and 'Modem Manager' which is installed by default. Unless you are using a modem, which these days is unlikely, you can
See my comment about viewing the progress of shutdown. |
|||
|
|
|
enter terminal, and type "sudo shutdown -p now". If your system still hangs on shutdown, you could always do it the hardware way, and hold your power button down for 5-10 seconds, and force the system to shutdown without getting an error or "Unexpected shutdown". |
|||
|
|
|
Try opening Terminal and typing |
||||
|
|
|
Check your BIOS if ACPI is enabled. ACPI is the Advanced Configuration and Power Interface and is used to tell the different devices in your computer to shut down (or not). In this case it seems that the OS is installed with ACPI enabled and later is was disabled. I assume the signal is send to the BIOS to shut down, but the BIOS does not send the signal to the different devices... The opposite is also possible (OS installed with ACPI enabled and later it is disabled). |
|||
|
|
|
Try running this command in terminal |
||||
|
|
|
Try adding
to
this worked for me in 13.10 |
|||
|
|
|
In addition to the answers already given:
|
|||
|
|
|
Like many has suggested, I used the terminal console, but for many who I have introduced Linux, the black terminal screen scares them. I found an alternative that also works. I install cairo-dock which has a shutdown button. So far that one has worked when the regular shutdown failed. |
|||
|
|
|
Just do:
or logout and then choose power off. |
||||
|
|
sudo shutdown -h nowand see if it full shuts off. – Max Tither Jun 13 '13 at 16:07sudo shutdown -P now] – Omio Jun 24 '13 at 15:13-h Requests that the system be either halted or powered off after it has been brought down, with the choice as to which left up to the system.-P Requests that the system be powered off after it has been brought down.– Janus Troelsen Jun 30 '13 at 17:47