VirtualBox

Custom Query (16363 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1717 - 1719 of 16363)

Ticket Resolution Summary Owner Reporter
#8392 obsolete guestcontrol execute --wait-for exit, causes exception during poweroff Paolo Virtual
Description

This is only observed for Windows XP hosts right now:

After successfully invoking a command in the guest (debian linux) e.g.

VBoxManage guestcontrol execute <vmname> "/bin/ls" ... --wait-for exit

An following poweroff sometimes later causes an excpetion:

VBoxManage controlvm BITB poweroff

"An unhandled win32 exception occured in VirtualBox.exe [1224]"

The exception number [1224] is only an example. There are various numbers occuring.

#9927 obsolete guestcontrol exec with --wait-stderr or --wait-stdout hangs the VBoxManage process and prevents further execs Igor Minar
Description

I just upgraded from 4.0.x to 4.1.6 and noticed that my scripts that start internet explorer in the windows VM started hanging (don't if executed from terminal even ctrl-c has no effect, only kill -9 helps). What's even worse is that no new commands can be executed in the vm until the process originally started in the vm dies.

Upon a closer look, I realized that it was --wait-stderr and --wait-stdout flags that caused this issue after removing them the process doesn't hang any more. My original command:

{{

VBoxManage guestcontrol "MYVM" execute --image "cmd.exe" --username MYUSERNAME --password "" --wait-exit --wait-stdout --wait-stderr -- "/c" "C:\Program Files\Internet Explorer\iexplore.exe" "http://somehost/somepath"

}}

after removing the two flags, the process doesn't hang any more and everything works just like in 4.0.x

#14890 fixed guestcontrol examples in manual not compatible with Vbox 5+ Zando
Description

'execute' and '--wait-exit' are no longer sub-commands of guestcontrol but they are still shown in the manual examples. VBoxManage guestcontrol 8.31. section of the manual has the following examples both of which use 'execute' and '--wait-exit'.

VBoxManage --nologo guestcontrol "My VM" execute --image "/bin/ls" --username foo --passwordfile bar.txt --wait-exit --wait-stdout -- -l /usr
VBoxManage --nologo guestcontrol "My VM" execute --image "c:\\windows\\system32\\ipconfig.exe" --username foo --passwordfile bar.txt --wait-exit --wait-stdout

I am trying to migrate my scripts to VirtualBox 5 but having trouble launching a shell script in a linux guest, and these examples are of little help.

Zando

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