oracle - Vagrant GuestAdditions seems to be installed (5.1.20) correctly, but not running -


i want copy 1 entire folder present on windows machine vm hosting ubuntu/trusty64.

but every time try bring vagrant below error message.

vagrant bringing machine 'default' 'virtualbox' provider... ==> default: checking if box 'ubuntu/trusty64' date... ==> default: clearing set forwarded ports... ==> default: clearing set network interfaces... ==> default: preparing network interfaces based on configuration...     default: adapter 1: nat     default: adapter 2: hostonly ==> default: forwarding ports...     default: 22 (guest) => 2222 (host) (adapter 1) ==> default: booting vm... ==> default: waiting machine boot. may take few minutes...     default: ssh address: 127.0.0.1:2222     default: ssh username: vagrant     default: ssh auth method: private key ==> default: machine booted , ready! ==> default: configuring proxy apt... ==> default: configuring proxy environment variables... [default] guestadditions seems installed (5.1.20) correctly, not running. vboxadd: unrecognized service vboxadd-service: unrecognized service bash: line 4: setup: command not found ==> default: checking guest additions in vm... following ssh command responded non-zero exit status. vagrant assumes means command failed!   setup  stdout command:    stderr command:  bash: line 4: setup: command not found 

note:
ubuntu version date can see in third line.
vagrant version : vagrant 1.9.3
windows version : windows 7 enterprise service pack 1
oracle virtualbox version : version 5.1.20 r114628 (qt5.6.2)

on running command vbguest status

$ vagrant vbguest --status [default] guestadditions seems installed (5.1.20) correctly, not running. 

my vagrant file contents are

# vagrant configuration done below. "2" in vagrant.configure # configures configuration version (we support older styles # backwards compatibility). please don't change unless know # you're doing. vagrant.configure("2") |config|   # common configuration options documented , commented below.   # complete reference, please see online documentation @   # https://docs.vagrantup.com.    # every vagrant development environment requires box. can search   # boxes @ https://atlas.hashicorp.com/search.   config.vm.box = "ubuntu/trusty64"   config.ssh.insert_key = false   # disable automatic box update checking. if disable this,   # boxes checked updates when user runs   # `vagrant box outdated`. not recommended.   # config.vm.box_check_update = false    # create forwarded port mapping allows access specific port   # within machine port on host machine. in example below,   # accessing "localhost:8080" access port 80 on guest machine.   # config.vm.network "forwarded_port", guest: 80, host: 8080    # create private network, allows host-only access machine   # using specific ip.   config.vm.network "private_network", ip: "xxxxx"    # create public network, matched bridged network.   # bridged networks make machine appear physical device on   # network.   # config.vm.network "public_network"    # share additional folder guest vm. first argument   # path on host actual folder. second argument   # path on guest mount folder. , optional third   # argument set of non-required options.   #config.vm.synced_folder "../data", "/vagrant_data" , "/vagrant"   config.vm.synced_folder ".", "/mydata", :mount_options => ['dmode=775','fmode=664']   #config.vm.synced_folder "./", "/vagrant", id: "vagrant-root", type: "nfs"    # provider-specific configuration can fine-tune various   # backing providers vagrant. these expose provider-specific options.   # example virtualbox:   #   # config.vm.provider "virtualbox" |vb|   #   # display virtualbox gui when booting machine   #   vb.gui = true   #   #   # customize amount of memory on vm:   #   vb.memory = "1024"   # end   #   # view documentation provider using more   # information on available options.    # define vagrant push strategy pushing atlas. other push strategies   # such ftp , heroku available. see documentation @   # https://docs.vagrantup.com/v2/push/atlas.html more information.   # config.push.define "atlas" |push|   #   push.app = "your_atlas_username/your_application_name"   # end    # enable provisioning shell script. additional provisioners such   # puppet, chef, ansible, salt, , docker available. please see   # documentation more information specific syntax , use.   # config.vm.provision "shell", inline: <<-shell   #   apt-get update   #   apt-get install -y apache2   # shell   if vagrant.has_plugin?("vagrant-proxyconf")     config.proxy.http      = "xxxxx"     config.proxy.https     = "xxxxx"     config.proxy.ftp       = "xxxxx"     config.apt_proxy.http  = "xxxxx"     config.apt_proxy.https = "xxxxx"     config.proxy.no_proxy  = "xxxxx"   end    if !vagrant.has_plugin?("vagrant-proxyconf")      system('vagrant plugin install vagrant-proxyconf')          raise("vagrant-proxyconf installed. run command again.");   end  end 

please suggest
1. how can correct error?
2. share complete folder windows vm?


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -