Page 1 of 1

Ubuntu Server 16.04LTS / Headless [NO GUI] install not working

Posted: 21. Aug 2016, 21:26
by jvanhambelgium
** Aarg, system does not allow me to post URLs yet!

Hi,

For many years I use Virtualbox without issues on any system that has a regular GUI running ;-)
Now, the plan was to move towards my GUI-less Ubuntu server but despite trying about anything ... I keep hitting the fact I cannot start any VM !

System 16.04.1 LTS (GNU/Linux 4.4.0-34-generic x86_64)
Virtualbox : (latest) 5.1.4

Followed different websites for installing a "headless" server for Virtualbox.
Note that I do not have *any* X system running, my $DISPLAY variable is empty !

vbox@datavault:/home/jvanham$ echo $DISPLAY

vbox@datavault:/home/jvanham$



I found some reference from many years ago about a similar bug, but it seems it was never looked at ? Fixed ?

User "vbox" is member of "vboxusers"
Extension-pack correctly installed without issues.

vbox@datavault:/home/jvanham$ VBoxManage list systemproperties
API version: 5_1
Minimum guest RAM size: 4 Megabytes
Maximum guest RAM size: 2097152 Megabytes
Minimum video RAM size: 0 Megabytes
Maximum video RAM size: 256 Megabytes
Maximum guest monitor count: 64
Minimum guest CPU count: 1
Maximum guest CPU count: 32
Virtual disk limit (info): 2199022206976 Bytes
Maximum Serial Port count: 4
Maximum Parallel Port count: 2
Maximum Boot Position: 4
Maximum PIIX3 Network Adapter count: 8
Maximum ICH9 Network Adapter count: 36
Maximum PIIX3 IDE Controllers: 1
Maximum ICH9 IDE Controllers: 1
Maximum IDE Port count: 2
Maximum Devices per IDE Port: 2
Maximum PIIX3 SATA Controllers: 1
Maximum ICH9 SATA Controllers: 8
Maximum SATA Port count: 30
Maximum Devices per SATA Port: 1
Maximum PIIX3 SCSI Controllers: 1
Maximum ICH9 SCSI Controllers: 8
Maximum SCSI Port count: 16
Maximum Devices per SCSI Port: 1
Maximum SAS PIIX3 Controllers: 1
Maximum SAS ICH9 Controllers: 8
Maximum SAS Port count: 255
Maximum Devices per SAS Port: 1
Maximum PIIX3 Floppy Controllers:1
Maximum ICH9 Floppy Controllers: 1
Maximum Floppy Port count: 1
Maximum Devices per Floppy Port: 2
Default machine folder: /home/vbox/VirtualBoxVM
Raw-mode Supported: yes
Exclusive HW virtualization use: on
Default hard disk format: VDI
VRDE auth library: VBoxAuth
Webservice auth. library: VBoxAuth
Remote desktop ExtPack: Oracle VM VirtualBox Extension Pack
Log history count: 3
Default frontend:
Default audio driver: ALSA
Autostart database path:
Default Guest Additions ISO: /usr/share/virtualbox/VBoxGuestAdditions.iso
Logging Level: all

vbox@datavault:/home/jvanham$ systemctl status vboxdrv
● vboxdrv.service - VirtualBox Linux kernel module
Loaded: loaded (/usr/lib/virtualbox/vboxdrv.sh; enabled; vendor preset: enabled)
Active: active (exited) since Sun 2016-08-21 18:55:21 CEST; 2h 18min ago
Process: 3250 ExecStart=/usr/lib/virtualbox/vboxdrv.sh start (code=exited, status=0/SUCCESS)
Tasks: 0
Memory: 0B
CPU: 0

vbox@datavault:/home/jvanham$ VBoxManage list vms
"CACTI" {aa769b93-b8ab-4243-bf02-6eb1ff085af5}
"ESX6" {fe3e6855-3776-481e-9024-871650c73f39}
"UNIFI_UBUNTU16LTS" {1e45d0fb-381e-490a-8c87-8bde94fff479}
"UNIFI_UBUNTU16LTS_BETA" {ff2f0616-dbb8-4a1b-a927-fea380b99996}
"XENSERVER7" {05be818c-608c-47de-a991-97b515fde78c}
"TESTGUEST" {12815481-42e8-4bcb-9705-4654fcf1957e}

vbox@datavault:/home/jvanham$ VBoxManage startvm "CACTI" --type headless
Waiting for VM "CACTI" to power on...
VBoxManage: error: The virtual machine 'CACTI' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
vbox@datavault:/home/jvanham$



I am completely lost, worked the whole day on this without any success ;-(
Didn't think it was gonna be THAT difficult & annoying!

Any tips ??

Re: Ubuntu Server 16.04LTS / Headless [NO GUI] install not working

Posted: 21. Aug 2016, 22:51
by Perryg
I am assuming that these guests were carry overs from a working install of VirtualBox and that they probably were used on a version that did have a GUI, please state differently if that assumption is not correct.

Post the guests log file ( as an attachment ). Right click on the guest in the Main Manager then click show log. Save and post as an attachment. Compress if it is too large to post.

Re: Ubuntu Server 16.04LTS / Headless [NO GUI] install not working

Posted: 22. Aug 2016, 22:35
by jvanhambelgium
Hi,

Today, after some more reading left & right I decided to completely flush & clean my system from any Vbox remanents and re-installed everything (including dkms etc)
This seems to be a good decision, now I got thing working better.
While cleaning up the systems it seems various files from a 5.0.24 where still around on the system for some reason.

I also ditched RemoteBox binariy and went for the "phpvirtualbox" approach and works "OK" enough for now.

Thx anyway