Debian :: Hang On Shutdown / Reboot - KVM Hardware Virtualization

Aug 25, 2015

Every shutdown/reboot always hangs on

Code: Select allkvm: exiting hardware virtualization

I have tried rebooting/shutting down with

Code: Select allshutdown -h now
reboot
shutdown -r now
halt
init 0
init 6

And all hang on the same line. This is 100% reproducible. I am not actually running a virtual machine. I don't have qemu-kvm installed. I do have separate partitions on my system. I have a /boot, /, swap, and /home partition.

From looking at other posts: [URL] .....

Solutions tend to be across the board: not unmounting properly, acpi settings in grub, using a different shutdown command.

My fstab file is:

Code: Select all# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation

[Code] ....

and the result of Code: Select allmount is

Code: Select allsysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=498135,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,relatime,size=800408k,mode=755)

[Code] ....

View 2 Replies


ADVERTISEMENT

Ubuntu :: Monitor Out Of Sync During Boot And Shutdown (also Shutdown Hang)?

Jun 30, 2010

when my pc boots and shuts down my monitor goes into 'input out of range' mode for a bit between the gui and the text only phases of boot/shutdown.is there a way to fix this? or where to start troubleshooting?also, when it shuts down it hangs after coming back to the text only part

View 4 Replies View Related

Debian :: PC Not Capable To Shutdown Or Reboot?

Aug 10, 2010

I am facing the issue that the PC not capable to shutdown or reboot; In order to debug that, htop tells me the running processes but all seems normal, I killed few but still cold reset is needed.There is certainly a problem somewhere. the best would be to know which process are weirdly hanging. It could make this testing debian bit better to know which package has these issues.

View 1 Replies View Related

Debian Multimedia :: Debian Wheezy Xfce4, No Reboot, No Shutdown?

Sep 3, 2011

i have fresh installed debian wheezy xfce4, and using slim to start it but i can't get reboot, shutdown and thunar can't open flash and others volumes. i using .xinitrc (exec ck-launch-session startxfce4)

View 3 Replies View Related

Debian :: Reboot/shutdown Command Without Sudo?

Mar 11, 2011

I've added entries to my Openbox menu labeled Reboot and Shutdown. Problem is, reboot and shutdown h only work as root, and I never login as root. I've tried su-to-root -c reboot, but the menu entries remain unresponsive. I do not have sudo installed because I feel it is a security issue. However, I found that sudo reboot works with the menu entry, but only if my account is set to use sudo without a password in /etc/sudoers. I use tint2 as my panel, but have had no luck with finding a shutdown/reboot button.

View 4 Replies View Related

General :: [FYI] "last -f <old Wtmp> -x Reboot Shutdown" Incorrect For Last Reboot And Shutdown?

Mar 25, 2010

Further to this LQ thread which Tinkster solved by suggesting the last command (thanks Tinkster) I have been exploring last -x reboot and have found that the reported duration is incorrect for the last reboot and shutdown when a old wtmp file is used. Not having a record for the following shutdown, last assumes that the system has been up until the current time and similarly for the shutdown.

The output comes in time order, latest first, each line showing the time of the reboot and the uptime from then to shutdown. Using last -x reboot shutdown to show the shutdown time, here's an illustration

Code:

shutdown system down 2.6.29.6-smp Sun Mar 7 15:35 - 03:02 (11:27)
reboot system boot 2.6.29.6-smp Sun Mar 7 09:35 (05:59)
09:35 until 15:35 is 05:59.

When the uptime exceeds 24 hours it is shown as (<days>+<hours:minutes) like this
Code:
shutdown system down 2.6.29.6-smp Sun Feb 21 12:39 - 13:20 (00:40)
reboot system boot 2.6.29.6-smp Sat Feb 20 09:39 (1+02:59)
09:39 until 12:39 the next day is 1 day 02:59.

The time in parentheses at the end of the shutdown lines is normally the time until the next shutdown.

So far so good. The incorrect output is for the last reboot and shutdown of an old wtmp file. Here's the output of last /var/log/wtmp -x reboot shutdown; last -f /var/log/wtmp.1 -x reboot shutdown

Code:

[snip]
reboot system boot 2.6.29.6-smp Fri Mar 12 07:42 (01:54)
shutdown system down 2.6.29.6-smp Fri Mar 12 01:31 - 09:37 (08:05)
wtmp begins Thu Mar 11 08:25:26 2010
[snip]
reboot system boot 2.6.29.6-smp Wed Mar 10 14:12 (15+01:42)
shutdown system down 2.6.29.6-smp Wed Mar 10 12:41 - 15:54 (15+03:13)
[snip]

The boot started at "Wed Mar 10 14:12" which had an actual uptime of 1 day 11:20 is reported as 15 days 03:13 which is the time from then until the last -f /var/log/wtmp.1 -x reboot shutdown command was issued. The time from shutdown to shutdown is similarly affected.

View 1 Replies View Related

Debian :: Run Script / Command Before Shutdown / Reboot In Jessie

Feb 20, 2016

How to run a script/command before shutdown/reboot in Debian Jessie.

I created a script myshutdown.sh in /etc/init.d/ to shutdown rTorrent if the reboot or shutdown now -h command was executed.

#!/bin/bash
#rTorrent Shutdown Script
echo "Shutting down rTorrent!"
kill -2 `pidof rtorrent`

I set the file as executable.
sudo chmod +x /etc/init.d/myshutdown.sh

I inserted a symlink in the rc0.d directory with the process order K04.
sudo ln -s /etc/init.d/myshutdown.sh /etc/rc0.d/K04myshutdown.sh

I also inserted a symlink in the rc6.d directory with the process order K04.
sudo ln -s /etc/init.d/myshutdown.sh /etc/rc6.d/K04myshutdown.sh

Apparently rc0.d is for shutdown and rc6.d if for reboot

After reboot it appears that rtorrent does not run (I cannot connect to rtorrent via rutorrent) but really what is going on. I am trying to do this because rtorrent does a hash check on all files if it is not shutdown properly. I just want it to shutdown automatically and safely, before the system shuts down.

View 9 Replies View Related

Debian :: Login Window Pops Up On Reboot/shutdown?

Jul 5, 2011

Every time I reboot or shutdown my PC, the login window shortly pops up. The PC does shutdown or reboot normally afterwards. When I use the terminal to shutdown/reboot (sudo shutdown -h now or sudo reboot) all goes well. The PC is running Debian Squeeze with the GNOME desktop environment.

View 7 Replies View Related

Debian Hardware :: Reboot / Restart Instead Of Shutdown (wheezy)

Oct 16, 2012

Come across with a situation where all methods of shutdown result in a restart/reboot? I've tried commands:

- shutdown
- halt
- poweroff

.. with various parameters, nothing works. The laptop seems to power off, but after a sec it restarts/reboots. I've Googled high and low, but there's very little on this topic. Maybe it is specific to the current kernel in Wheezy? I'm not suspecting a harware failure, since this was not happening with Windows installed.

This happens on me with Wheezy on a HP Elitebook 8530w.

View 14 Replies View Related

Debian :: Fighting With Making Running A Script At Startup Only But Not At Shutdown/reboot?

Nov 30, 2010

So I found many methods on google, but no one works. It seems that this one is THE Debian way.

Code:
### BEGIN INIT INFO
# Provides: mystartupscript

#[code]...

View 5 Replies View Related

OpenSUSE Install :: 11.4 - KDE 4.6 Hang On System Shutdown

Aug 23, 2011

I am new to opensuse, coming over from debian based systems. However I am having an issue in which my system will not power off on shutdown. Restarts just fine. i get a missing error during shutdown, but there is nothing to relate the error to on that line. Then the shutdown procedes to The System will be halted immediately then hangs. The keyboard powers off and then thats it. All fans are still running. I have searched extensively on this forum and google.

View 9 Replies View Related

Red Hat / Fedora :: Make A Server Hang On Shutdown?

Feb 10, 2010

How do I make a server wait on shutdown for a set amount of time?I tried making a service that just does Code: sleep 7m and made it first priority on shutdown but it seems to ignore itI'm pretty sure it runs... I'm currently testing that to make sure

View 4 Replies View Related

CentOS 5 :: System Hang During Shutdown (halt)?

May 23, 2009

I'm running V5.3 (newly installed) on an FJ E8020 laptop. The problem I have is when shutting down (*not* rebooting). NetworkManager fails to stop and after (during?) the postfix shutdown, the system seems to hang.I cannot access via another screen or remotely. I can't find any clues in the log files.

[Code]...

View 1 Replies View Related

Slackware :: Console App Causing System To Hang On Shutdown?

Jul 14, 2011

I have been looking for a lightweight bandwidth monitoring app and came across bmon. It does what I need. However it has an interesting way of exiting.

when it is running and you close it down it ask you 'Really quit (y/n)' and does not shut down. I am used to just right clicking on my desktop and selecting 'leave' when it comes to shutdown time.

A few times now the laptop hangs on shutdown if bmon is open. I guess it is due to the app asking if it should shutdown. Is there a way to disable the app asking or alternatively nuke it for sure with some script on shutdown.

I could search the relevant konsole running the app and go thru the steps to shut it down but sometimes I am in a hurry and it doesn't feel like the way to go anyhow?

View 3 Replies View Related

Slackware :: Hang On 'Restarting System' While Using Reboot

May 1, 2011

fairly new to linux and tried Slack as a way to force myself to learn. I am running current and when i issue the reboot command it will hang on "Restarting system". If i use the shutdown -r now command it will reboot fine. Any ideas?

View 4 Replies View Related

Ubuntu Servers :: 10.4.1 Hang On Reboot After Mounting LVM Volume

Jan 4, 2011

I added another disk in server and create mount point in fstab:
/dev/VolGroup00/LogVol00 /opt ext3 defaults 1 2
Everything is working perfect... halt, boot, system... but when I wanna to reboot with a command sudo reboot, it hangs at the end of all initialization when it's rebooting and some number. If I remove disk in fstab, than reboot working.

View 3 Replies View Related

Fedora :: Kernel Update - Computer Will Hang During Startup And Shutdown Unless Move Mouse Around

May 11, 2011

I just updated to kernel 2.6.35.13-91.fc14.x86_64, and I'm now having a weird issue where my computer will hang during startup and shutdown unless I move the mouse around.

While moving the mouse, it will boot up or shut down normally. Once i stop moving the mouse around it will hang (until I begin to move the mouse again).Once fully booted it acts fine..

View 13 Replies View Related

CentOS 5 :: Reboot Hang - Blank Screen Blinking Cursor?

Aug 19, 2009

This is probably not possible, but just wondering, restarted centos 5.2 remotely, hung at shutdown, kvm'ed to see what was hanging it up, control c'ed and then ctl alt del, just trying to kill the process, was brought back to the login screen, but unable to type anything. Alt-f1 switched to a different virtual console, which was just a blank screen and a blinking cursor, but now able to type things. Want to avoid hard shutdown. Is there anyway to force shutdown/reboot the machine from this console?

View 1 Replies View Related

Server :: Unable To Shutdown/reboot Server, No Shutdown Process Running?

Mar 30, 2010

I'm trying to reboot the server (shutdown -r now).But it seems like nothing happened.

When I try "shutdown -c", the system prompts "shutdown: cannot find pid of running shutdown."

View 5 Replies View Related

Ubuntu Networking :: Hang On Reboot When Connected To NFS/ldap Server Via Wireless

Jun 18, 2010

School with linux running on students' laptops, connecting via wlan to a Debian NFS and LDAP server. Every student logs on his/her profile residing on the NFS server.The clients are set up with autofs. Earlier, I had set up the wireless network in /etc/network/interfaces, but this time I decided to configure network manager so as to bring up both wireless and wired network before logon. This setup has been working on for the last fire or five years with only minor changes. Also worked with Karmic Koala, but still with the interfaces file instead of networkmanager. The Vostro is also new here, we've previously used mostly Dell Latitude D505s.

So here is what works:

1: Clients can log on to LDAP and NFS servers both wired and wirelessly. Everything is smooth.

2: While on LAN, shutdown and restart works flawlessly (and quick as a breeze, I'm really impressed by startup/restart/shutdown times, under 25 secs!).

3: Shutdown and restart also works wirelessly when doing it either from a local account or from the GDM chooser.

What doesn't work, however, is shutting down or restarting directly from a networked account connected while only being connected over the wireless network. This is what's being displayed on the terminal after it has tried tho shut down for a while:

Code:

The system is going down for halt NOW!

acpid: exiting
init: cron main process (1011) killed by TERM signal.
init: tty1 main process (1365) killed by TERM signal.

[code]...

If I try ctrl-alt-del at this stage, it says:

"init: rc main process (3030) killed by TERM signal"

"Checking for running unattended-upgrades: "

And then it will hang again, until I hold the powerbutton for some seconds. The unattended-upgrades part is what seems to be the culprit. I suspect it is about the wireless network not being connected any longer or something like that, but I'm not sure about how to go about debugging shutdown scripts here. I'd be grateful for pointers. I will try and see how it goes with the old interfaces file setup, but I'd rather make nm work.

View 3 Replies View Related

Ubuntu :: Unable To Reboot / Shutdown

Mar 9, 2010

I have recently upgraded to the 10.04 Alpha and have been unable to reboot or shutdown. I know it's just an alpha and therefore problems are bound to exist, so I tried reinstalling from a live cd of Alpha 3. But I am still unable to reboot or shutdown.To clarify what happens, I click on shutdown or reboot, the pop-up appears, I click on the shutdown/reboot button and it seems to complete it. It says that processes have been killed and something has exited with 255. But my computer is still on. I am guessing that Ubuntu is shutting down, it's just not actually shutting my computer down or restarting it.

View 5 Replies View Related

Ubuntu :: Cannot SIGKILL - Can't Reboot - Shutdown?

Jul 15, 2010

I have a remote server (Xubuntu 10.04) which suffered an electricity brownout yesterday. The server itself is backed with an ups, but it is connected to a external firewire disk, which is not, and this disk malfunctioned as a result of the brownout.

The problem: Now, any process trying to access the external disk freezes and ends up in eternal D state in the process list, including ls and umount. Even trying to ls a directory which contains a symbolic link to a file in that drive just causes ls to freeze. These processes cannot be killed even with SIGKILL, so I proceeded to reboot but...

None of the reboot commands work. Instead they just get added to the ever increasing list of D state processes. I tried (sudo) shutdown -r now, reboot -f now and finally plain shutdown -h now. Is there anything else to try other than ask somebody to actually go to the server and pull the plug (which is not at all trivial)? Some way to tell kernel not to worry about messing stuff up, and just reboot?

View 1 Replies View Related

Ubuntu :: Failed Shutdown/reboot In 10.10?

Nov 23, 2010

we've just bought 30 newest nettops ACER Aspire R3700 with ION 2. I've tried ubuntu, kubuntu, xubuntu. Everything works as expected, but... the first one freezes when trying to reboot, shutdown or enter sleep mode. Checked on several hardware units. The desktop just freezes and nothing happens (ubuntu 10.10, both x32 and amd64). Also no one installs the wi-fi drivers, only ethernet

View 4 Replies View Related

Ubuntu :: Natty Won't Reboot / Shutdown - What To Do?

May 4, 2011

Natty won't shutdown for me - the start up/shutting down graphic comes up and the 'light' go down from 5 to 3 then it just hangs there.

Is there a shutdown log? I've looked in /var/log/messages but there's nothing relevant there.

View 3 Replies View Related

Ubuntu :: Shutdown Or Reboot Only Logs Out?

Jun 26, 2011

From a 11.04 Ubuntu, I installed the meta-package xfce4 (*). Now, in the xfce4 session, "suspend" and "logout" (from the xfce4-panel button) works, but "shutdowmn" and "reboot" not, they only lead to GDM. (the shutdowm option there works.)

I tried to solve that by installing the meta-package "xubuntu-desktop" (maybe there are some necessary settings included?), and in fact, the login-screen changed (it's still GDM, I suppose) and there is now a "xubuntu" session, but in that, the probem is just the same: shutdown only leads to the login screen.

In Gnome Classic or Unity, shutdowmn works as it shoulds, so it's not a general problem with my computer.

In Detail, in forst tried to install xfce4 with ubuntu-software-center, but although it seemed to succeed, there was no xfce session. In Synaptic, installing the xfce3 metapackage worked. In fact, software-center seemed to have overlooked some dependencies...

View 4 Replies View Related

Debian Configuration :: Kernel For Virtualization ?

Apr 12, 2010

I was wondering if anyone can assist me. I am looking to build a server with Debian as the host. When I installed Debian (Squeeze) the default kernel was "2.6.32-3-trunk-amd64". When I tried to install 'Virtualbox' application, I got a failure because I didn't have the 'kernel-headers' installed on my machine. I noticed there are no specific header package the 'trunk' kernel I was using. I have a few questions so I guess I should begin:

Is it safe to remove the 'trunk' kernel and boot my system on just the regular 2.6.32-3-amd64 kernel? Is this OK or not recommended? Please explain whatever is the correct answer. This is my 1st time using a 'Trunk' kernel so I don't know the in's and out's of it.

If I am using Debian 'Testing' for virtualization via 'Vbox', is there a specific kernel I "should" be using?

View 12 Replies View Related

Fedora X86/64bit :: 12 Crushes During Reboot & Shutdown?

Jan 4, 2010

Recently I installed Fedora 12 64bit in my HP Compaq 6720s. Among many other problems that I had and I solved with your help, I have the following problem:When I restart or shut-down Fedora 12 it crushes and hangs and only thing that I can do is to stop and restart my laptop by means of ON/OFF button.My question is:Is there any way to see this error (maybe some log file or something) so I can send this message or log file here in this forum and get some help?

View 1 Replies View Related

Fedora :: F13 Extra Long Reboot And Shutdown?

May 30, 2010

I hoping someone can point me in a direction. I installed F13 KDE from the live cd and now when I Shutdown or Reboot, it takes 2 minutes and 8 seconds for the machine to power off. Yes, I timed it.Happens everytime like that. Even when booting from both "mainstream" live cd and the KDE spin live cd. When I hit the Shutdown or Reboot, it goes through the daemons/services shutdown the flashes up the Halting System or Please wait while the system reboots messages (respectivley), turns off the LCD and then just... sits with the power light on and hard drive activity light on. I should mention this is on a Toshiba Laptop about 2 years old now. Intel Chipsets. (Satellite Pro S300M-S2142 if anyone is really curious). The hard drive light stays on for about 1:03 minutes and then it turns off, at 2:08 minutes - the Power light finally turns off and the thing finally shuts down or reboots. If this sounds familiar, it's because it is and I've posted about it with F12 and it's still there with F13. Running kernel-2.6.33.3-85.fc13.x86_64

View 1 Replies View Related

Fedora Servers :: Can't Reboot Or Shutdown Server

Feb 25, 2011

After a couple of days, some commands related to the disk (df) or files (ls) or killing process (kill -9) doesn't respond. Even I can't reboot or shutdown my server. After an hard reboot, some files are not here anymore or the log files are not filled anymore until I restart.My disk are behind the RAID controller i6 and are configure in RAID 1. The disks are two HP SCSI 72,8GB 10k RPM.Maybe I am totally wrong to check the disk access side, so I am open to other explanation.I can also add that my CPU is running under 1% et my RAM under 10%.

View 14 Replies View Related

Fedora Installation :: Adding A Reboot And A Shutdown?

Jun 1, 2011

I don't follow why the Suspend option is there and the Reboot and Shutdown is not. Can anyone guide me to the code needed to add the selections. I know I can use a Terminal to shutdown or reboot but a simpler solution would be nice. I expect there are methods to fix most of what I don't like about Gnome 3 but I haven't found them yet. Is there a central place for the solutions needed to deminimalize Gnome 3? I really prefer one click control.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved