Closed sdomino closed 7 years ago
Generally, there are a few issues blocking people from using nanobox on Linux. Fortunately, one of our great users cataloged the issues, here is the email:
Just spent the last half hour or so getting that django quickstart set up, and after a few hiccups it seems to be working flawlessly! I've attached a few terminal outputs just so you can see the whole process from the machine's point of view, but most everything that came up was pretty easy to solve.
Basic system info:
OS: Ubuntu 16.10 64-bit Memory: 16GB Processor: Intel Cor i7-4700HQ CPU @ 2.40GHz x 8 Graphics: GeForce GTX 860M/PCIe/SSE2 Disk: 120.6GB SSD Command language interpreter: zsh
Here's what happened on each attempt (numbers corresponding to attachments):
› nanobox run python manage.py runserver 0.0.0.0 Starting Nanobox : ✓ Downloading docker-machine ! Launching VM Creating CA: /home/neill/.docker/machine/certs/ca.pem Creating client certificate: /home/neill/.docker/machine/certs/cert.pem Running pre-create checks... Error with pre-create check: "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path" ! Launching VM Running pre-create checks... Error with pre-create check: "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path"
Error : exit status 3 Context : failed to create the provider
› nanobox run python manage.py runserver 0.0.0.0 Starting Nanobox : ⡿ Launching VM : ! Launching VM Running pre-create checks... (nanobox) Image cache directory does not exist, creating it at /home/neill/.docker/machine/cache... Creating machine... (nanobox) Downloading /home/neill/.docker/machine/cache/boot2docker.iso from https://s3.amazonaws.com/tools.nanobox.io/boot2docker/v1/boot2docker.iso... (nanobox) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100% (nanobox) Creating VirtualBox VM... (nanobox) Creating SSH key... (nanobox) Starting the VM... (nanobox) Check network to re-create if needed... (nanobox) Found a new host-only adapter: "vboxnet0" Error creating machine: Error in driver during machine creation: Unable to start the VM: /usr/bin/VBoxManage startvm nanobox --type headless failed: VBoxManage: error: VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
Details: 00:00:00.179435 Power up failed (vrc=VERR_VMX_MSR_ALL_VMX_DISABLED, rc=NS_ERROR_FAILURE (0X80004005))
! Booting VM Starting "nanobox"... (nanobox) Check network to re-create if needed... Unable to start the VM: /usr/bin/VBoxManage startvm nanobox --type headless failed: VBoxManage: error: VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
Details: 00:00:00.171714 Power up failed (vrc=VERR_VMX_MSR_ALL_VMX_DISABLED, rc=NS_ERROR_FAILURE (0X80004005))
! Booting VM Starting "nanobox"... (nanobox) Check network to re-create if needed... Unable to start the VM: /usr/bin/VBoxManage startvm nanobox --type headless failed: VBoxManage: error: VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
Details: 00:00:00.186971 Power up failed (vrc=VERR_VMX_MSR_ALL_VMX_DISABLED, rc=NS_ERROR_FAILURE (0X80004005))
Error : exit status 1 Context : failed to start the provider
Temporal solution:
sudo apt install nfs-kernel-server
Run again nanobox configure
:)
Linux users are having issues running nanobox. Nanobox fails when trying to write to their /etc/exports file, which it doesn't find, because it's not properly detecting if an nfs server is running.