VirtualBox

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 Frank Mehnert)

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)

dhcp02-mmr.png (139.7 KB ) - added by Hammerhead2006 9 years ago.
picture of GUI showing VM "powered off", when it is NOT.
ps_ef.txt (1.5 KB ) - added by Hammerhead2006 9 years ago.
ps command output asked for
VBoxSVC.log (4.6 KB ) - added by Hammerhead2006 9 years ago.
11-06-2015-GUI (191.5 KB ) - added by Hammerhead2006 9 years ago.
11-06-2015-GUI.png (191.5 KB ) - added by Hammerhead2006 9 years ago.
VBox.log (85.1 KB ) - added by Hammerhead2006 9 years ago.
Streaming_Server_Log
showinfo.txt (3.5 KB ) - added by Hammerhead2006 9 years ago.
Streaming_Server_Shovminfo.txt
2_instances_Running.png (84.9 KB ) - added by Hammerhead2006 9 years ago.
2 instances of the same VM running.

Download all attachments as: .zip

Change History (14)

by Hammerhead2006, 9 years ago

Attachment: dhcp02-mmr.png added

picture of GUI showing VM "powered off", when it is NOT.

comment:1 by Hammerhead2006, 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 Frank Mehnert, 9 years ago

Description: modified (diff)

comment:3 by Frank Mehnert, 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 Hammerhead2006, 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:

Last edited 9 years ago by Hammerhead2006 (previous) (diff)

by Hammerhead2006, 9 years ago

Attachment: ps_ef.txt added

ps command output asked for

by Hammerhead2006, 9 years ago

Attachment: VBoxSVC.log added

comment:5 by Hammerhead2006, 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 Hammerhead2006, 9 years ago

Attachment: 11-06-2015-GUI added

by Hammerhead2006, 9 years ago

Attachment: 11-06-2015-GUI.png added

by Hammerhead2006, 9 years ago

Attachment: VBox.log added

Streaming_Server_Log

by Hammerhead2006, 9 years ago

Attachment: showinfo.txt added

Streaming_Server_Shovminfo.txt

by Hammerhead2006, 9 years ago

Attachment: 2_instances_Running.png added

2 instances of the same VM running.

comment:6 by Frank Mehnert, 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.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use