You are not logged in.
Pages: 1
I have problem with vagrant.
I used this help to install vagrant: https://wiki.archlinux.org/index.php/Vagrant
And this help to start vagrant: https://www.vagrantup.com/docs/getting-started/
Yet, I couldn't manage to make vagrant work. I'm out of ideas.
socek:~/projects/vagtest $ vagrant up
/opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/pre-rubygems.rb:31: warning: Insecure world writable dir /home/socek in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.10.6/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /home/socek in PATH, mode 040777
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'hashicorp/precise64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'hashicorp/precise64' is up to date...
==> default: Setting the name of the VM: vagtest_default_1460727748782_65622
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
The SSH connection was unexpectedly closed by the remote end. This
usually indicates that SSH within the guest machine was unable to
properly start up. Please boot the VM in GUI mode to check whether
it is booting properly.As you can see, vagrant could not connect o the VirtualBox'es system. I can login thru the VirtualBox into console, but I have no idea why the vagrant can not ssh into the Virtual Machine. Can anyone help?
Offline
Have you tried fixing those permissions? Can you SSH in?
Not a Sysadmin issue, moving to NC...
Offline
As you can see, vagrant could not connect o the VirtualBox'es system. I can login thru the VirtualBox into console, but I have no idea why the vagrant can not ssh into the Virtual Machine. Can anyone help?
It's been a while, but I believe I had this issue. Vagrant was conflicting with my local DNS configuration, basically I had set my local machine to use itself and a google server for DNS:
http://i.imgur.com/XUi8qEQl.png
Instead of having this configured locally, I configured my network router to do it instead. After that Vagrant worked fine.
Last edited by jasonwryan (2016-04-16 19:40:03)
Offline
stoatally: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_code
Offline
I have fixed permissions problem and try to change DNS server, but it didn't worked.
Offline
Pages: 1