VirtualBox

Custom Query (16363 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1714 - 1716 of 16363)

Ticket Resolution Summary Owner Reporter
#8197 obsolete guestcontrol fails with VERR_INVALID_PARAMETER Tino Schwarze
Description

After updating from VirtualBox 4.0.0 to 4.0.2 guestcontrol commands stopped working.

I've updated the guest additions as well (to VBoxGuestAdditions_4.0.2-update-69551.iso) - no change.

Example:

> VBoxManage guestcontrol mkdir WS2003R2_MSSQL2005 'c:/testdir' --username Administrator --password 'ourpassword' --verbose
Creating directory "c:/testdir" ...
VBoxManage: error: Process could not be started: VERR_INVALID_PARAMETER.

The command worked again if I looged out from my remote desktop session. The VM is running headless, I'm accessing the Windows 2003 Server via rdesktop (not via VRDP).

This used to work with 4.0.0 - I developed the remote commands while being logged in via rdesktop.

The VBox.log does not look helpful (I'm cut'n pasting since it's very little):

00:00:20.717 Guest Additions information report: Version 4.0.3 r69551 '4.0.3'
00:00:20.717 Guest Additions information report: Interface = 0x00010004 osType = 0x00034100
00:00:20.717 Guest Additions capability report: (0x0) seamless: no, hostWindowMapping: no, graphics: no
00:00:20.717 Guest reported fixed hypervisor window at 0x0000000000400000 (size = 0xc00000, rc = VINF_SUCCESS)
00:00:23.597 Guest Log: VBoxVideo: using HGSMI
00:00:30.587 Guest Log: VBoxDisp[0]: VBVA enabled
00:00:30.587 Display::handleDisplayResize(): uScreenId = 0, pvVRAM=00007f9e94353000 w=866 h=645 bpp=32 cbLine=0xD88, flags=0x1

no remote session yet, just create the directory:

00:00:51.226 Creating guest directory "c:/testdir" as  user "Administrator" ...
00:00:51.226 Executing guest process "vbox_mkdir" as user "Administrator" ...
00:00:51.362 Guest process (PID 2112) started
00:00:51.363 Guest process (PID 2112) exited normally

-> worked. Logging in via rdesktop:

00:03:46.081 Starting host clipboard service
00:03:46.081 ClipConstructX11: X11 DISPLAY variable not set -- disabling shared clipboard
00:03:46.091 Guest Additions capability report: (0x5) seamless: yes, hostWindowMapping: no, graphics: yes
00:03:46.094 Guest Additions capability report: (0x5) seamless: yes, hostWindowMapping: no, graphics: yes

-> calling guestcontrol mkdir again:

00:03:48.711 Creating guest directory "c:/testdir" as  user "Administrator" ...
00:03:48.711 Executing guest process "vbox_mkdir" as user "Administrator" ...
00:03:48.732 Guest process (PID 0) could not be started because of rc=VERR_INVALID_PARAMETER
00:03:48.732 Executing guest process "vbox_mkdir" as user "Administrator" failed with VERR_INVALID_PARAMETER

-> failed. Logging out:

00:04:35.268 Stopping the host clipboard service

-> mkdir works:

00:07:45.583 Creating guest directory "c:/testdir" as  user "Administrator" ...
00:07:45.583 Executing guest process "vbox_mkdir" as user "Administrator" ...
00:07:45.640 Guest process (PID 2424) started
00:07:45.641 Guest process (PID 2424) exited normally

The same issue happens for "guestcontrol execute".

#13124 obsolete guestcontrol execute hangs when run many times in a loop coder140
Description

Hello,

I wrote a C++ program that calls VBoxManage guestcontrol commands in a loop. The problem is that after around 100 iterations of the loop, the call does not return. In addition, I can see in the guest VM that the VBoxService.exe process consumes 100% CPU. Another thing: If I shutdown the guest VM, its state becomes "Powered Off", however the GUI does not allow me to power it on (the Start button is greyed out). I can workaround the last issue by killing the "VirtualBox" process on the host computer. After that the VM state becomes "Aborted", and I can start it. More details: Host: Windows 7 64 bit Guest VM: Windows XP 32 bit with SP2. Guest VM configuration: 2 CPUs, 1024 MB RAM. VirtualBox 4.3.12 and matching VBoxAdditions on the guest VM. My program, which runs on the host machine, executes the following commands:

VBoxManage guestcontrol MachineName execute --username administrator --password "" --verbose --image cmd.exe -- /c c:\Windows\system32\calc.exe Sleep(100) VBoxManage guestcontrol MachineName execute --username administrator --password "" --verbose --wait-exit --wait-stdout --wait-stderr --image taskkill.exe -- /PID ProcessIdOfCmdExe /T /F VBoxManage guestcontrol MachineName session close --all

I Would be very happy if this issue can be resolved quickly.

Thank you!

#10616 obsolete guestcontrol execute hangs after snapshot pentagonik orval
Description

Since 4.1.12 VBoxManage hangs when using guestcontrol execute after a snapshot has been taken.

I am running OS X 10.7.3. The guest is CentOS 5 64-bit with the latest additions.

Here is an example:

$ VBoxManage guestcontrol snaptest execute --username=root --password=snaptest --verbose --wait-stdout --image /bin/ls -- -c 'xyz'
Waiting for guest to start process ...
Process '/bin/ls' (PID: 7) started
Waiting for process to exit ...
Exit code=2 (Status=2 [successfully terminated], Flags=0)

$ VBoxManage snapshot snaptest take s1 --pause
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

$ VBoxManage guestcontrol snaptest execute --username=root --password=snaptest --verbose --wait-stdout --image /bin/ls -- -c 'xyz'
Waiting for guest to start process ...
Process '/bin/ls' (PID: 8) started
Waiting for process to exit ...

This never returns. If I log in to the guest and restart vboxadd and vboxadd-service, then it works again.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy