Hello Devs,

On Linux Ubuntu(precise_amd64), i ve got an error using the Webservice to 
register a VM, this error does not occur using the command line.

I want to register a VM using the vboxwebsrv (runas vbox user). I use 
IVirtualBox_openMachine and IVirtualBox_registerMachine.

IVirtualBox_openMachine fails using webservice :
exception VirtualBox error: Cannot attach medium 
'/mnt/nfs/volcbdata/demoAlexWindowsXp/demoAlexWWindowsXp-disk1.vdi' 
{b3cf56ef-48ba-4dc8-9efc-77a64c43e534} from snapshot 
'775ed2f4-fd3e-487d-8963-f8ae4515eccd': medium is already in use by this 
snapshot! (0x80BB000C)
But if i use the command line "vboxmanage registervm", it works using the same 
file

vbox@pbox:~$ vboxmanage registervm 
/mnt/nfs/volcbdata/demoAlexWindowsXp/demoAlexWindowsXp.vbox
vbox@pbox:~$ vboxmanage list vms
"demoAlexWindowsXp" {2bac5ce4-4e95-4573-b42f-29c3536c58a1}
vbox@pbox:~$

I use the last release VirtualBox 4.2.16

Why does the command line work ?
Thank you in advance...

Best Regards
Alex




_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to