Failed to save state of VM VERR_ACCESS_DENIED

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
iismyimaginaryfriend
Posts: 7
Joined: 5. Aug 2014, 17:51

Failed to save state of VM VERR_ACCESS_DENIED

Post by iismyimaginaryfriend »

I was working on a Ubuntu VM on my mac but when I tried to close out and save the state I received the message
----------------------------------------------------------------------------------------
"Failed to save the state of the virtual machine Ubuntu 10.04 i386_General_Intrepid_Dev_v0.31.

Could not create a directory
'/Users/sfitzsim/VirtualBox VMs/Ubuntu 10.04 i386_SDL_Dev_1/Snapshots'
to save state to (VERR_ACCESS_DENIED).

Details
Result Code: VBOX_E_FILE_ERROR (0x80BB00004)
Component: Console
Interface: IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}
----------------------------------------------------------------------------------------
Does anyone know what caused this error/how to fix it?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Failed to save state of VM VERR_ACCESS_DENIED

Post by mpack »

You posted in "OS X Server Guests" - which is clearly not correct.

Did you mean to post in "OS X hosts"?
iismyimaginaryfriend
Posts: 7
Joined: 5. Aug 2014, 17:51

Re: Failed to save state of VM VERR_ACCESS_DENIED

Post by iismyimaginaryfriend »

Ah yes thank you for pointing that out
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Failed to save state of VM VERR_ACCESS_DENIED

Post by mpack »

Moved to "OS X Hosts" (and cross post deleted). I suggest that you search this forum for previous reports of host permissions issues.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Failed to save state of VM VERR_ACCESS_DENIED

Post by loukingjr »

You may want to repair your disk permissions with Disk Utility.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
iismyimaginaryfriend
Posts: 7
Joined: 5. Aug 2014, 17:51

Re: Failed to save state of VM VERR_ACCESS_DENIED

Post by iismyimaginaryfriend »

Alas, I repaired disk permissions but the problem persists.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Failed to save state of VM VERR_ACCESS_DENIED

Post by socratis »

Please post the output of the command:

Code: Select all

ls -lR '/Users/sfitzsim/VirtualBox VMs/Ubuntu 10.04 i386_SDL_Dev_1'
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
iismyimaginaryfriend
Posts: 7
Joined: 5. Aug 2014, 17:51

Re: Failed to save state of VM VERR_ACCESS_DENIED

Post by iismyimaginaryfriend »

'No such file or directory'
Out of curiosity I also tried ls /Users/sfitzsim and that also does not exist
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Failed to save state of VM VERR_ACCESS_DENIED

Post by Perryg »

Run the following from the hosts terminal and post the results:

Code: Select all

VBoxManage list systemproperties | grep "Default machine folder"
and

Code: Select all

VBoxManage list vms

Also are you using a 3rd party program like vagrant, phpvirtualbox, Etc.. to run VirtualBox?
iismyimaginaryfriend
Posts: 7
Joined: 5. Aug 2014, 17:51

Re: Failed to save state of VM VERR_ACCESS_DENIED

Post by iismyimaginaryfriend »

I am not using a 3rd party program.
The outputs are
Default machine folder: /Users/mctink/VirtualBox VMs
and
"Ubuntu 10.04 i386_General_Intrepid_Dev_v0.31" {543a4c66-78d5-4682-9d0f-c5b562c314de}
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Failed to save state of VM VERR_ACCESS_DENIED

Post by socratis »

iismyimaginaryfriend wrote:/Users/sfitzsim and that also does not exist
Well, you see where the "Access denied" error might have come from...
Did you copy this VM from a friend/colleague/coworker of yours? How exactly did you copy it? Just the VDI, the .vbox, the whole directory? For reference, here is what you could have done: Moving a VM
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
iismyimaginaryfriend
Posts: 7
Joined: 5. Aug 2014, 17:51

Re: Failed to save state of VM VERR_ACCESS_DENIED

Post by iismyimaginaryfriend »

Victory! creating the '/Users/sfitzsim/VirtualBox VMs' fixed the problem. Thank you!
Also I had a .ova file and just used 'import appliance'. For future reference, was there another way I was supposed to do that?
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Failed to save state of VM VERR_ACCESS_DENIED

Post by loukingjr »

iismyimaginaryfriend wrote:Victory! creating the '/Users/sfitzsim/VirtualBox VMs' fixed the problem. Thank you!
Also I had a .ova file and just used 'import appliance'. For future reference, was there another way I was supposed to do that?
actually, any time I've imported an .ova appliance it added it to my VM folder. I never had to create another folder.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
iismyimaginaryfriend
Posts: 7
Joined: 5. Aug 2014, 17:51

Re: Failed to save state of VM VERR_ACCESS_DENIED

Post by iismyimaginaryfriend »

Huh, guess it was just a glitch. Thanks everyone for your help!
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Failed to save state of VM VERR_ACCESS_DENIED

Post by socratis »

Huh, computers have a tendency; they follow rules. Glitches are really rare. Human mistakes on the other hand, way more often.

You still have not answered the question of how you got a hold of the VM. I think it was from a user named "sfitzsim" and that the VM recipe was pointing to an absolute directory, hence your problem. Creating a directory to stop the errors does not fix the fundamental problem.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply