vagrant up error

293 views
Skip to first unread message

richard

unread,
May 4, 2012, 9:21:15 AM5/4/12
to Vagrant
Hi,

I get the following error after running 'vagrant up'. Any suggestions
on how to resolve?

I've installed vagrant (vagrant_1.0.3_i686.deb) on Mint Linux (Ubuntu
Lucid) as follows:

$ vagrant box add base http://files.vagrantup.com/lucid32.box

$ vagrant init

$ vagrant up
[default] Importing base box 'base'...
[default] The guest additions on this VM do not match the install
version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.

Guest Additions Version: 4.1.0
VirtualBox Version: 4.1.14
[default] Matching MAC address for NAT networking...
[default] Clearing any previously set forwarded ports...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] Forcing shutdown of VM...
[default] Destroying VM and associated drives...
/opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
`require': /../lib/libz.so.1: version `ZLIB_1.2.3.3' not found
(required by /opt/vagrant/embedded/lib/ruby/1.9.1/i686-linux/zlib.so)
- /opt/vagrant/embedded/lib/ruby/1.9.1/i686-linux/zlib.so (LoadError)
from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:
36:in `require'
from /opt/vagrant/embedded/gems/gems/net-ssh-2.2.2/lib/net/ssh/
transport/state.rb:1:in `<top (required)>'
from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:
36:in `require'
from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:
36:in `require'
from /opt/vagrant/embedded/gems/gems/net-ssh-2.2.2/lib/net/ssh/
transport/packet_stream.rb:7:in `<top (required)>'
from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:
36:in `require'
from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:
36:in `require'
from /opt/vagrant/embedded/gems/gems/net-ssh-2.2.2/lib/net/ssh/
transport/session.rb:9:in `<top (required)>'
from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:
36:in `require'
from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:
36:in `require'
from /opt/vagrant/embedded/gems/gems/net-ssh-2.2.2/lib/net/ssh.rb:
10:in `<top (required)>'
from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:
36:in `require'
from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:
36:in `require'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/
communication/ssh.rb:4:in `<top (required)>'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/vm.rb:
66:in `channel'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/boot.rb:29:in `block in wait_for_boot'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/boot.rb:28:in `times'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/boot.rb:28:in `wait_for_boot'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/boot.rb:15:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/customize.rb:31:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/sane_defaults.rb:60:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/network.rb:62:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/clear_network_interfaces.rb:26:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/host_name.rb:10:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/share_folders.rb:20:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/clear_shared_folders.rb:13:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/nfs.rb:41:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/prune_nfs_exports.rb:15:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/provision.rb:27:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/forward_ports.rb:24:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/check_port_collisions.rb:42:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
env/set.rb:16:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/clear_forwarded_ports.rb:13:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/clean_machine_folder.rb:17:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/check_accessible.rb:18:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
general/validate.rb:13:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
general/check_virtualbox.rb:23:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/match_mac_address.rb:16:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/default_name.rb:17:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/check_guest_additions.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/import.rb:31:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/check_box.rb:28:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
vm/check_accessible.rb:18:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
general/validate.rb:13:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
general/check_virtualbox.rb:23:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
warden.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
builder.rb:92:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
runner.rb:49:in `block in run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/util/
busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/action/
runner.rb:49:in `run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/vm.rb:
192:in `run_action'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/vm.rb:
145:in `up'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/
command/up.rb:31:in `block in execute'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/
command/base.rb:116:in `block in with_target_vms'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/
command/base.rb:111:in `each'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/
command/base.rb:111:in `with_target_vms'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/
command/up.rb:24:in `execute'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/cli.rb:
42:in `execute'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/
environment.rb:167:in `cli'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/bin/vagrant:43:in
`<top (required)>'
from /opt/vagrant/bin/../embedded/gems/bin/vagrant:19:in `load'
from /opt/vagrant/bin/../embedded/gems/bin/vagrant:19:in `<main>'


Jimmy Fountain

unread,
May 15, 2012, 7:21:19 PM5/15/12
to vagra...@googlegroups.com
Same problem here.  No solutions yet. I was able to update the guest additions to not get that warning but otherwise same problem.

-Jimmy

Charles Martin

unread,
May 17, 2012, 4:47:31 PM5/17/12
to vagra...@googlegroups.com
Add me to the list.  On OpenSUSe 12.1 , I get

$ vagrant up
[default] Importing base box 'lucid32'...
[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.

Guest Additions Version: 4.1.14
VirtualBox Version: 4.1.4
[default] Matching MAC address for NAT networking...
[default] Clearing any previously set forwarded ports...
[default] Destroying VM and associated drives...
/opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/util/is_port_open.rb:21:in `initialize': Network is unreachable - connect(2) (Errno::ENETUNREACH)
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/util/is_port_open.rb:21:in `new'
from /opt/vagrant/embedded/gems/gems/vagrant-1.0.3/lib/vagrant/util/is_port_open.rb:21:in `block in is_port_open?'

Reply all
Reply to author
Forward
0 new messages