VirtualBox

Changes between Initial Version and Version 1 of Ticket #9584


Ignore:
Timestamp:
Sep 14, 2011 7:49:54 AM (13 years ago)
Author:
Frank Mehnert
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9584 – Description

    initial v1  
     1{{{
    12VBoxManage closemedium disk deleteme.vdi --delete
    2 
     3}}}
    34gives
    4 
     5{{{
    56VBoxManage.exe: error: The object is not ready
    6 VBoxManage.exe: error: Details: code E_ACCESSDENIED (0x80070005), component Medium, interface IMedium, callee IUnknown
    7 Context: "FindMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, pMedium.asOutParam())" at line 174 of file VBoxManageDisk.cpp
    8 
     7VBoxManage.exe: error: Details: code E_ACCESSDENIED (0x80070005),
     8  component Medium, interface IMedium, callee IUnknown
     9Context: "FindMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType,
     10  pMedium.asOutParam())" at line 174 of file VBoxManageDisk.cpp
     11}}}
    912The same result with full path to the vdi or without the extension; in fact whatever I write as the disk name I get the same error.
    1013It worked in 3.x and the vdi can be removed using the GUI. I can't use --delete when unregistering the VM because I want to keep the OS disk.
     
    1215
    1316MAYBE RELATED:
    14 ________________________________________
     17
    1518some other guy  at http://daniel.hepper.net/blog/ got
    16 
     19{{{
    1720$ VBoxManage list vms
    1821"" {b68ed7a7-6e72-4f16-a438-8775cd80d9b3}
    1922$ VBoxManage unregistervm {b68ed7a7-6e72-4f16-a438-8775cd80d9b3} --delete
    2023VBoxManage: error: The object is not ready
    21 VBoxManage: error: Details: code E_ACCESSDENIED (0x80070005), component Machine, interface IMachine, callee nsISupports
    22 Context: "Delete(ComSafeArrayAsInParam(aMedia), pProgress.asOutParam())" at line 175 of file VBoxManageMisc.cpp
     24VBoxManage: error: Details: code E_ACCESSDENIED (0x80070005),
     25  component Machine, interface IMachine, callee nsISupports
     26Context: "Delete(ComSafeArrayAsInParam(aMedia),
     27  pProgress.asOutParam())" at line 175 of file VBoxManageMisc.cpp
    2328Segmentation fault
    24 ________________________________________
     29}}}
    2530
    2631some other guy  at http://forums.virtualbox.org/viewtopic.php?f=7&t=38150
    2732
    2833Simply unregistering the machine without detaching the drives first seems to work, however unregistering the machine with the '--delete' flag gives:
    29 
     34{{{
    3035Code: Select all   Expand viewCollapse view
    3136    VBoxManage: error: The object is not ready
    32     VBoxManage: error: Details: code E_ACCESSDENIED (0x80070005), component Machine, interface IMachine, callee nsISupports
    33     Context: "Delete(ComSafeArrayAsInParam(aMedia), pProgress.asOutParam())" at line 167 of file VBoxManageMisc.cpp
     37    VBoxManage: error: Details: code E_ACCESSDENIED (0x80070005),
     38  component Machine, interface IMachine, callee nsISupports
     39    Context: "Delete(ComSafeArrayAsInParam(aMedia),
     40  pProgress.asOutParam())" at line 167 of file VBoxManageMisc.cpp
    3441    Segmentation fault (core dumped)
    35 ________________________________________
     42}}}

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