Opened 9 years ago
Last modified 9 years ago
#14752 new defect
The GUI and the command line vboxmanage report different status of VM
Reported by: | Hammerhead2006 | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.0.8 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description (last modified by )
I have RHEL 7 and VirtualBox-5.0-5.0.6_103037_el7-1.x86_64.rpm installed.
I found that the GUI and the cli(vboxmanage) are reporting the VM as "powered off" but as you can see from the attachment and the "ps" below it is indeed running. If I "start" the VM from either the GUI or the cli, while the VM is running, it will start another instance of the VM.
#> ps -ef |grep VB cgreen 3637 3619 2 Oct15 ? 05:16:13 /usr/lib/virtualbox/VBoxHeadless --comment dhcp02-mmr --startvm 6f889019-5659-4587-836e-1044e8f30703 --vrde config
Attachments (8)
Change History (14)
by , 9 years ago
Attachment: | dhcp02-mmr.png added |
---|
comment:1 by , 9 years ago
Linux vserver02.prtc.lowcountry.com 3.10.0-229.14.1.el7.x86_64 #1 SMP Tue Aug 25 11:21:22 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
VirtualBox Version 5.0.6 r103037
comment:2 by , 9 years ago
Description: | modified (diff) |
---|
comment:3 by , 9 years ago
Are you sure that the VirtualBox selector and VBoxHeadless run as the same user? Could you add the output of another command?
ps -ef|grep -E "VB|Virt"
Actually your above command seems to indicate that there is also no VBoxSVC process running -- did it crash for some reason? Check if the process is running and if 'dmesg' contains any hint about a crashed process. If VBoxSVC crashes the I would be interested in a VBoxSVC.log file (in ~/.VirtualBox or ~/.config/VirtualBox) together with a VBoxSVC core dump.
comment:4 by , 9 years ago
Here is the output of the ps command.
Also, I installed the newer 5.0.8_103449_el7-1.x86_64.rpm version and it is failing in that version as well. Where does the GUI get its status from. How else can I help?
See attached:
by , 9 years ago
Attachment: | VBoxSVC.log added |
---|
comment:5 by , 9 years ago
Diff, VBoxSVC is running as me and it's doing the same thing. Let me know if you need any other logs from this system. I am very anxious to help get this solved.
by , 9 years ago
Attachment: | 11-06-2015-GUI added |
---|
by , 9 years ago
Attachment: | 11-06-2015-GUI.png added |
---|
comment:6 by , 9 years ago
Weird. Your host runs two instances of VBoxSVC and VBoxXPCOMIPCD. Are you running some kind of containers on the host? Also, could you do attach the output of
netstat -lp | grep vbox
And are you able to start several instances of VBoxSVC from the terminal? That is, open a terminal and start VBoxSVC. Then, as the same user, open another terminal and try to start another instance of VBoxSVC. It should fail like this:
VBoxSVC: error: Failed to register the server name "VBoxSVC-5.0.8" (rc=NS_ERROR_FAILURE)! VBoxSVC: error: Is another server already running? XPCOM server has shutdown.
If it does NOT fail like this, then we need to debug this behavior.
picture of GUI showing VM "powered off", when it is NOT.