Autostart service not recognized using Ubuntu 16.04.1 LTS

Discussions related to using VirtualBox on Linux hosts.
Post Reply
sterfry1988
Posts: 2
Joined: 10. May 2010, 08:59
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows Server 2008 R2

Autostart service not recognized using Ubuntu 16.04.1 LTS

Post by sterfry1988 »

Just installed virtual box on Ubuntu 16.04.1 LTS server and have not been able to get the `service vboxautostart-service start` to work.
Errors out with: Failed to start vboxautostart-service.service: Unit vboxautostart-service.service not found.

Any ideas on how to get this working? I have followed the tutorials around the web but get stuck once I try to start the service.


VBoxManage --version
5.0.24_Ubuntur108355

I did install Virtualbox via apt so I am unsure if this would be causing the service to not be recognized?

Thanks for the 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: Autostart service not recognized using Ubuntu 16.04.1 LTS

Post by socratis »

sterfry1988 wrote:5.0.24_Ubuntu r108355
I did install Virtualbox via apt so I am unsure if this would be causing the service to not be recognized?
It looks like you're using the distro's fork version of VirtualBox. You can either ask in their forums for help, or completely remove their version and install the official version from the Downloads section of VirtualBox (https://www.virtualbox.org/wiki/Downloads).

As for the VBoxService autostart details, please read Ch. 9.24 Starting virtual machines during system boot.
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.
sterfry1988
Posts: 2
Joined: 10. May 2010, 08:59
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows Server 2008 R2

Re: Autostart service not recognized using Ubuntu 16.04.1 LTS

Post by sterfry1988 »

OK I will back up my VMs uninstall and install from the website and see if that helps.

Thanks
harisund
Posts: 33
Joined: 30. Oct 2008, 23:53
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Ubuntu-10.04

Re: Autostart service not recognized using Ubuntu 16.04.1 LTS

Post by harisund »

socratis wrote:
sterfry1988 wrote:5.0.24_Ubuntu r108355
I did install Virtualbox via apt so I am unsure if this would be causing the service to not be recognized?
It looks like you're using the distro's fork version of VirtualBox. You can either ask in their forums for help, or completely remove their version and install the official version from the Downloads section of VirtualBox (https://www.virtualbox.org/wiki/Downloads).

As for the VBoxService autostart details, please read Ch. 9.24 Starting virtual machines during system boot.
Just adding another vote. I went with the official version from the website, and everything works great, including autostart (on ubuntu 16.04). I am not a fan of 'distro customized' stuff as far as possible ...so ... I approve of this solution
Post Reply