-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is an error when executing 'vagrant up' #1
Comments
Looking into it - I originally built this using the 'trusty64' image - I just tried launching it now and vagrant came back and said "trusty64 could not be found' and then seems to be defaulting to what it says is a current trusty image. It may be that vagrant's trusty image is bad, but hopefully not. |
Ahhh... looks like it failed for me also, though I ended up with a different issue. Wondering if it's an issue with the trusty image on vagrant's server or alternatively, I found this blog post which suggests there may be a vagrant versioning thing as well - http://bradjr.info/posts/vagrant-error-finding-ubuntu-trusty64 Sorry I don't have a quick answer, will have to do a bit more digging. I will look at updating my version of vagrant and will try to rebuild the vagrant files as needed. |
Well, I tried "ubuntu/trusty64". It works fine for me with VirtualBox 5.0.26 and Vagrant 1.8.5 . I guess upgrading vagrant maybe the easiest solution. |
Another issue is about port forwarding. |
I think I have the base box working now - along with upgrading to Geoserver 2.9.1 and openjdk 8 - though I haven't done anything where it comes to the port. If you don't think you have anything running on 8080 might it be possible there's more than one instance of the vagrant box running? You can check via virtualbox. |
Thanks a lot for taking a look at this. I'll certainly have a try with it. |
If you need to forward the default Geoserver 8080 port to another port on your host you could try modifying the vagrantfile entry: config.vm.network "forwarded_port", guest: 8080, host: 8080 change host value from 8080 to desired port - I haven't yet tried that but it may work... |
It works when I changed port or just adding "auto_correct: true" in the end of the lines . But It's wired I haven't found any running instance of vbox,vagrant and any listening 8080 port programs. |
There was an error while executing
VBoxManage
, a CLI used by Vagrantfor controlling VirtualBox. The command and stderr is shown below.
Command: ["import", "/home/seifer_08ms/.vagrant.d/boxes/trusty64/0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "ubuntu-cloudimg-trusty-vagrant-amd64_1470816792537_67264", "--vsys", "0", "--unit", "6", "--disk", "/home/seifer_08ms/VirtualBox VMs/ubuntu-cloudimg-trusty-vagrant-amd64_1470816792537_67264/box-disk1.vmdk"]
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /home/seifer_08ms/.vagrant.d/boxes/trusty64/0/virtualbox/box.ovf...
OK.
0%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage: error: Appliance import failed
VBoxManage: error: Could not create the imported medium '/home/seifer_08ms/VirtualBox VMs/ubuntu-cloudimg-trusty-vagrant-amd64_1470816792537_67264/box-disk1.vmdk'.
VBoxManage: error: VMDK: Compressed image is corrupted '/home/seifer_08ms/.vagrant.d/boxes/trusty64/0/virtualbox/box-disk1.vmdk' (VERR_ZIP_CORRUPTED)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component ApplianceWrap, interface IAppliance
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 877 of file VBoxManageAppliance.cpp
The text was updated successfully, but these errors were encountered: