[Resolved] Error 'You must specify a machine to start'

Discussions related to using VirtualBox on Mac OS X hosts.
Locked
PTP23
Posts: 20
Joined: 26. Oct 2018, 01:15

[Resolved] Error 'You must specify a machine to start'

Post by PTP23 »

I thought I finally had everything running fine, then I closed the VM and tried to open VirtualBox again and got this error.
You must specify a machine to start, using the command line.

Usage: VirtualBoxVM --startvm <name|UUID>
Starts the VirtualBox virtual machine with the given name or unique identifier (UUID).
Last edited by socratis on 11. Jun 2019, 07:22, edited 2 times in total.
Reason: Marked as [Resolved].
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Error 'You must specify a machine to start'

Post by socratis »

How did you get this error? How did you try to start VirtualBox exactly? This sounds like a misconfigured shortcut...
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.
Rennrot
Posts: 1
Joined: 21. Apr 2019, 17:10

Re: Error 'You must specify a machine to start'

Post by Rennrot »

Hi - I woke up this morning with the exact same issue and have no idea why. It was working fine yesterday and I just shut down the VM was usual and then this morning I get this weird message. Uninstalling and reinstalling VitualBox fixed it. I was running 6.0.6 but reverted back to 6.0.4 as 6.0.6 seemed buggy (was having issues with graphics and now this issue). Hope that helps!
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Error 'You must specify a machine to start'

Post by socratis »

Rennrot wrote:Uninstalling and reinstalling VitualBox fixed it.
Rare on OSX, but interesting none the less...
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.
Star Gray
Posts: 2
Joined: 1. Jun 2019, 01:31

Re: Error 'You must specify a machine to start'

Post by Star Gray »

When starting my Mac, I get the following error as if the VB is automatically trying to start from the terminal upon starting my Mac. I don't recall setting it up this way and I actually don't know how. I recently removed VB and reinstalled but now I'm thinking I didn't completely remove the 1st VM and now have a second one. How do I get rid of this error? Thanks for any help you can offer. I've tried finding the solution online but nothing seems to fix this.
Attachments
Screen Shot 2019-05-31 at 4.50.41 PM.png
Screen Shot 2019-05-31 at 4.50.41 PM.png (36.52 KiB) Viewed 120606 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Error 'You must specify a machine to start'

Post by socratis »

Star Gray wrote:as if the VB is automatically trying to start from the terminal upon starting my Mac
Go to the OSX System Preferences » Users & Groups » select your account » Login Items tab (on the right). What do you have there?

This message seems like what you'd get if you created a shortcut for a VM from within the VirtualBox Manager (select VM » Create Alias on Desktop) with a version prior to 6.0.0, and now you're trying to run it with 6.0.x. Do you remember doing anything like that?
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.
Russw
Posts: 45
Joined: 27. Apr 2012, 19:38
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win XP, 7, 10

Re: Error 'You must specify a machine to start'

Post by Russw »

I had v6.0.4, was running fine, just installed 6.0.8 and now I get this same error. I have only one VM setup and it was not running and is not setup to run automatically or via a shortcut. My Login Items has nothing related to Virtualbox.
If I start VB from the Applications folder, it starts fine. If I start it from the Dock, I get that error. I removed it from the dock, re-docked it, now it works fine, so something in that dock version got corrupted from the update.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Error 'You must specify a machine to start'

Post by socratis »

Russw wrote: If I start it from the Dock, I get that error
Finally, somebody told me the steps to reproduce this!
Russw wrote: I removed it from the dock, re-docked it, now it works fine, so something in that dock version got corrupted from the update.
No, nothing got corrupted from the update, I've been updating (either upgrading or downgrading) 4 times/day, never had that. But I think I know what happened...

There are two applications; VirtualBox and VirtualBoxVM. The first is the VirtualBox Manager, the latter is the process responsible for actually running a VM. Check your Activity Monitor. The separation happened because of security reasons.

What must have happened is that you launched a VM, therefore having two identical icons in the Dock; VirtualBox and VirtualBoxVM. You still do every time you launch a VM. Then you either moved the VirtualBoxVM icon, or you right-clicked on the Dock and selected "Keep in Dock". That pinned the VirtualBoxVM icon, and not the VirtualBox one. Since you can't start VirtualBoxVM without any arguments (the vm|uuid to start) you were getting that error.
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.
Star Gray
Posts: 2
Joined: 1. Jun 2019, 01:31

Re: Error 'You must specify a machine to start'

Post by Star Gray »

You are awesome, was able to remove this error by following your steps! Still not sure how that happened, as I don't recall configuring the VM to fire up on start up of Mac.
Thank you so much!
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Error 'You must specify a machine to start'

Post by socratis »

Glad I could help. Marking as [Resolved].
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.
LillyB.
Posts: 3
Joined: 29. Jun 2019, 20:00

Re: [Resolved] Error 'You must specify a machine to start'

Post by LillyB. »

Dear Socratis,

I saw that you responded and helped fix the problem with the duplication of icons on the dock (MAC). I am also having trouble with that after installing the VM, I am not able to restore the original sate snapshot. When I do, upon starting the VM, it gets stalled (rainbow icon), so I have to forcequit, and when I do, there are two VMs to quit, so it seems to be the same problem. However, I do not understand what to do to resolve this problem. I would appreciate your assistance. thank you.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: [Resolved] Error 'You must specify a machine to start'

Post by socratis »

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.
Locked