Can Anybody Explain this Message

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Can Anybody Explain this Message

TPaine_Dev
I am new to Vagrant and I am trying to follow directions in an E-Book from Packt Publishing on Zend Framework2 Application Development.
So far I installed Oracle's Virtual Box software on my Windows 7 Pro laptop; I installed Vagrant v1.71 and the most recent version of Git as of 12/23/2014.

Using Git I clone a package that includes the following vagrant file, editing the IP address and the location of synced folders:
===========================================
Vagrant.configure("2") do |config|
  config.vm.synced_folder "C:\Users\Public\Documents\source-api", "/var/source-api"
  config.vm.synced_folder "C:\Users\Public\Documents\source-client", "/var/source-client"
  
  config.vm.box = "ubuntu-12.04"
  config.vm.box_url = "http://files.vagrantup.com/precise64.box"
  config.vm.network :private_network, ip: "192.168.1.11"
  config.vm.provider :virtualbox do |vb|
    vb.customize ["modifyvm", :id, "--memory", "896"]
  end
  
  config.vm.provision :chef_solo do |chef|
    chef.cookbooks_path = "./cookbooks"
    
    chef.add_recipe "apt"
    chef.add_recipe "custom::dotdeb"
    chef.add_recipe "mysql::server"
    chef.add_recipe "nginx"
    chef.add_recipe "php"
    chef.add_recipe "php-fpm"
    chef.add_recipe "custom::fpm-config"
    chef.add_recipe "php::module_curl"
    chef.add_recipe "php::module_gd"
    chef.add_recipe "php::module_mysql"
    chef.add_recipe "postfix"
    chef.add_recipe "custom::db"
    chef.add_recipe "custom::hosts"
    chef.add_recipe "custom::vhosts"
    chef.add_recipe "custom::mysql_permissions"
    chef.add_recipe "custom::restart_services"
    
    chef.json = {
      :mysql => {
        :server_root_password => "root",
        :server_repl_password => "repl",
        :server_debian_password => "debian",
        :bind_address => '0.0.0.0'
      },
      :nginx => {
        :default_site_enabled => false
      },
      :php => {
        :directives => {
          'pdo_mysql.default_socket' => '/var/run/mysqld/mysqld.sock',
          'mysql.default_socket' => '/var/run/mysqld/mysqld.sock',
          'mysqli.default_socket' => '/var/run/mysqld/mysqld.sock',
          'date.timezone' => 'Europe/London'
        }
      }
    }
  end
end
======================================================

  I tried running the "vagrant up" command and got the following: 
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu-12.04' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Adding box 'ubuntu-12.04' (v0) for provider: virtualbox
    default: Downloading: http://files.vagrantup.com/precise64.box
    default: Progress: 100% (Rate: 4951k/s, Estimated time remaining: --:--:--)
The executable 'bsdtar' Vagrant is trying to run was not
found in the %PATH% variable. This is an error. Please verify
this software is installed and on the path.

I searched my hard drive and cannot find bsdtar anywhere so apparently I am missing software and it is not just a path problem. The problem is that I don't see any reference to this file in the book of in the vagrant file, so I am not sure if it was supposed to be part of the precise64.box or not.

I thought that I would try this forum to see if anyone can help me solve this dilemma.

--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Can Anybody Explain this Message

Terrance Shepherd
How did you install vagrant?

On Wed, Dec 24, 2014 at 4:27 PM, TPaine_Dev <[hidden email]> wrote:
I am new to Vagrant and I am trying to follow directions in an E-Book from Packt Publishing on Zend Framework2 Application Development.
So far I installed Oracle's Virtual Box software on my Windows 7 Pro laptop; I installed Vagrant v1.71 and the most recent version of Git as of 12/23/2014.

Using Git I clone a package that includes the following vagrant file, editing the IP address and the location of synced folders:
===========================================
Vagrant.configure("2") do |config|
  config.vm.synced_folder "C:\Users\Public\Documents\source-api", "/var/source-api"
  config.vm.synced_folder "C:\Users\Public\Documents\source-client", "/var/source-client"
  
  config.vm.box = "ubuntu-12.04"
  config.vm.network :private_network, ip: "192.168.1.11"
  config.vm.provider :virtualbox do |vb|
    vb.customize ["modifyvm", :id, "--memory", "896"]
  end
  
  config.vm.provision :chef_solo do |chef|
    chef.cookbooks_path = "./cookbooks"
    
    chef.add_recipe "apt"
    chef.add_recipe "custom::dotdeb"
    chef.add_recipe "mysql::server"
    chef.add_recipe "nginx"
    chef.add_recipe "php"
    chef.add_recipe "php-fpm"
    chef.add_recipe "custom::fpm-config"
    chef.add_recipe "php::module_curl"
    chef.add_recipe "php::module_gd"
    chef.add_recipe "php::module_mysql"
    chef.add_recipe "postfix"
    chef.add_recipe "custom::db"
    chef.add_recipe "custom::hosts"
    chef.add_recipe "custom::vhosts"
    chef.add_recipe "custom::mysql_permissions"
    chef.add_recipe "custom::restart_services"
    
    chef.json = {
      :mysql => {
        :server_root_password => "root",
        :server_repl_password => "repl",
        :server_debian_password => "debian",
        :bind_address => '0.0.0.0'
      },
      :nginx => {
        :default_site_enabled => false
      },
      :php => {
        :directives => {
          'pdo_mysql.default_socket' => '/var/run/mysqld/mysqld.sock',
          'mysql.default_socket' => '/var/run/mysqld/mysqld.sock',
          'mysqli.default_socket' => '/var/run/mysqld/mysqld.sock',
          'date.timezone' => 'Europe/London'
        }
      }
    }
  end
end
======================================================

  I tried running the "vagrant up" command and got the following: 
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu-12.04' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Adding box 'ubuntu-12.04' (v0) for provider: virtualbox
    default: Downloading: http://files.vagrantup.com/precise64.box
    default: Progress: 100% (Rate: 4951k/s, Estimated time remaining: --:--:--)
The executable 'bsdtar' Vagrant is trying to run was not
found in the %PATH% variable. This is an error. Please verify
this software is installed and on the path.

I searched my hard drive and cannot find bsdtar anywhere so apparently I am missing software and it is not just a path problem. The problem is that I don't see any reference to this file in the book of in the vagrant file, so I am not sure if it was supposed to be part of the precise64.box or not.

I thought that I would try this forum to see if anyone can help me solve this dilemma.

--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Can Anybody Explain this Message

TPaine_Dev
In reply to this post by TPaine_Dev
Vagrant:  Using    vagrant_1.7.1.msi.  The folder where the vagrant file is located was cloned using git.
As in              git clone https:// github.com/ christophervalles/ ZF2-Vagrant.git             Then using
git submodule update --init  --recursive               from the Zf2-Vagrant directory  and git bash

How does this help?

Zend Framework 2 Application Development (Kindle Locations 522-523). Packt Publishing. 

On Wednesday, December 24, 2014 4:27:35 PM UTC-5, TPaine_Dev wrote:
I am new to Vagrant and I am trying to follow directions in an E-Book from Packt Publishing on <a href="https://www.packtpub.com/web-development/zend-framework-2-application-development" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fwww.packtpub.com%2Fweb-development%2Fzend-framework-2-application-development\46sa\75D\46sntz\0751\46usg\75AFQjCNFiSO_2teDYshI656-_5WgJaGW2fw';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fwww.packtpub.com%2Fweb-development%2Fzend-framework-2-application-development\46sa\75D\46sntz\0751\46usg\75AFQjCNFiSO_2teDYshI656-_5WgJaGW2fw';return true;">Zend Framework2 Application Development.
So far I installed Oracle's Virtual Box software on my Windows 7 Pro laptop; I installed Vagrant v1.71 and the most recent version of Git as of 12/23/2014.

Using Git I clone a package that includes the following vagrant file, editing the IP address and the location of synced folders:
===========================================
Vagrant.configure("2") do |config|
  config.vm.synced_folder "C:\Users\Public\Documents\source-api", "/var/source-api"
  config.vm.synced_folder "C:\Users\Public\Documents\source-client", "/var/source-client"
  
  config.vm.box = "ubuntu-12.04"
  config.vm.box_url = "<a href="http://files.vagrantup.com/precise64.box" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Ffiles.vagrantup.com%2Fprecise64.box\46sa\75D\46sntz\0751\46usg\75AFQjCNExQ6TmIIRZlshTsq2r1UxV0xErKw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Ffiles.vagrantup.com%2Fprecise64.box\46sa\75D\46sntz\0751\46usg\75AFQjCNExQ6TmIIRZlshTsq2r1UxV0xErKw';return true;">http://files.vagrantup.com/precise64.box"
  config.vm.network :private_network, ip: "192.168.1.11"
  config.vm.provider :virtualbox do |vb|
    vb.customize ["modifyvm", :id, "--memory", "896"]
  end
  
  config.vm.provision :chef_solo do |chef|
    chef.cookbooks_path = "./cookbooks"
    
    chef.add_recipe "apt"
    chef.add_recipe "custom::dotdeb"
    chef.add_recipe "mysql::server"
    chef.add_recipe "nginx"
    chef.add_recipe "php"
    chef.add_recipe "php-fpm"
    chef.add_recipe "custom::fpm-config"
    chef.add_recipe "php::module_curl"
    chef.add_recipe "php::module_gd"
    chef.add_recipe "php::module_mysql"
    chef.add_recipe "postfix"
    chef.add_recipe "custom::db"
    chef.add_recipe "custom::hosts"
    chef.add_recipe "custom::vhosts"
    chef.add_recipe "custom::mysql_permissions"
    chef.add_recipe "custom::restart_services"
    
    chef.json = {
      :mysql => {
        :server_root_password => "root",
        :server_repl_password => "repl",
        :server_debian_password => "debian",
        :bind_address => '0.0.0.0'
      },
      :nginx => {
        :default_site_enabled => false
      },
      :php => {
        :directives => {
          'pdo_mysql.default_socket' => '/var/run/mysqld/mysqld.sock',
          'mysql.default_socket' => '/var/run/mysqld/mysqld.sock',
          'mysqli.default_socket' => '/var/run/mysqld/mysqld.sock',
          'date.timezone' => 'Europe/London'
        }
      }
    }
  end
end
======================================================

  I tried running the "vagrant up" command and got the following: 
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu-12.04' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Adding box 'ubuntu-12.04' (v0) for provider: virtualbox
    default: Downloading: <a href="http://files.vagrantup.com/precise64.box" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Ffiles.vagrantup.com%2Fprecise64.box\46sa\75D\46sntz\0751\46usg\75AFQjCNExQ6TmIIRZlshTsq2r1UxV0xErKw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Ffiles.vagrantup.com%2Fprecise64.box\46sa\75D\46sntz\0751\46usg\75AFQjCNExQ6TmIIRZlshTsq2r1UxV0xErKw';return true;">http://files.vagrantup.com/precise64.box
    default: Progress: 100% (Rate: 4951k/s, Estimated time remaining: --:--:--)
The executable 'bsdtar' Vagrant is trying to run was not
found in the %PATH% variable. This is an error. Please verify
this software is installed and on the path.

I searched my hard drive and cannot find bsdtar anywhere so apparently I am missing software and it is not just a path problem. The problem is that I don't see any reference to this file in the book of in the vagrant file, so I am not sure if it was supposed to be part of the precise64.box or not.

I thought that I would try this forum to see if anyone can help me solve this dilemma.

--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Can Anybody Explain this Message

Terrance Shepherd
Usually bsdtar is shipped with the vagrant packages, so that is why I asked. I would recommend trying to reinstall vagrant ( uninstall then install ) and see if the problem still exists.

On Wed, Dec 24, 2014 at 10:56 PM, TPaine_Dev <[hidden email]> wrote:
Vagrant:  Using    vagrant_1.7.1.msi.  The folder where the vagrant file is located was cloned using git.
As in              git clone https:// github.com/ christophervalles/ ZF2-Vagrant.git             Then using
git submodule update --init  --recursive               from the Zf2-Vagrant directory  and git bash

How does this help?

Zend Framework 2 Application Development (Kindle Locations 522-523). Packt Publishing. 

On Wednesday, December 24, 2014 4:27:35 PM UTC-5, TPaine_Dev wrote:
I am new to Vagrant and I am trying to follow directions in an E-Book from Packt Publishing on Zend Framework2 Application Development.
So far I installed Oracle's Virtual Box software on my Windows 7 Pro laptop; I installed Vagrant v1.71 and the most recent version of Git as of 12/23/2014.

Using Git I clone a package that includes the following vagrant file, editing the IP address and the location of synced folders:
===========================================
Vagrant.configure("2") do |config|
  config.vm.synced_folder "C:\Users\Public\Documents\source-api", "/var/source-api"
  config.vm.synced_folder "C:\Users\Public\Documents\source-client", "/var/source-client"
  
  config.vm.box = "ubuntu-12.04"
  config.vm.network :private_network, ip: "192.168.1.11"
  config.vm.provider :virtualbox do |vb|
    vb.customize ["modifyvm", :id, "--memory", "896"]
  end
  
  config.vm.provision :chef_solo do |chef|
    chef.cookbooks_path = "./cookbooks"
    
    chef.add_recipe "apt"
    chef.add_recipe "custom::dotdeb"
    chef.add_recipe "mysql::server"
    chef.add_recipe "nginx"
    chef.add_recipe "php"
    chef.add_recipe "php-fpm"
    chef.add_recipe "custom::fpm-config"
    chef.add_recipe "php::module_curl"
    chef.add_recipe "php::module_gd"
    chef.add_recipe "php::module_mysql"
    chef.add_recipe "postfix"
    chef.add_recipe "custom::db"
    chef.add_recipe "custom::hosts"
    chef.add_recipe "custom::vhosts"
    chef.add_recipe "custom::mysql_permissions"
    chef.add_recipe "custom::restart_services"
    
    chef.json = {
      :mysql => {
        :server_root_password => "root",
        :server_repl_password => "repl",
        :server_debian_password => "debian",
        :bind_address => '0.0.0.0'
      },
      :nginx => {
        :default_site_enabled => false
      },
      :php => {
        :directives => {
          'pdo_mysql.default_socket' => '/var/run/mysqld/mysqld.sock',
          'mysql.default_socket' => '/var/run/mysqld/mysqld.sock',
          'mysqli.default_socket' => '/var/run/mysqld/mysqld.sock',
          'date.timezone' => 'Europe/London'
        }
      }
    }
  end
end
======================================================

  I tried running the "vagrant up" command and got the following: 
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu-12.04' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Adding box 'ubuntu-12.04' (v0) for provider: virtualbox
    default: Downloading: http://files.vagrantup.com/precise64.box
    default: Progress: 100% (Rate: 4951k/s, Estimated time remaining: --:--:--)
The executable 'bsdtar' Vagrant is trying to run was not
found in the %PATH% variable. This is an error. Please verify
this software is installed and on the path.

I searched my hard drive and cannot find bsdtar anywhere so apparently I am missing software and it is not just a path problem. The problem is that I don't see any reference to this file in the book of in the vagrant file, so I am not sure if it was supposed to be part of the precise64.box or not.

I thought that I would try this forum to see if anyone can help me solve this dilemma.

--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Can Anybody Explain this Message

TPaine_Dev
In reply to this post by TPaine_Dev
Okay,  I uninstalled and reinstalled vagrant and the last error message disappeared.  Now I am getting the following error messages
There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:
* The host path of the shared folder is missing: C:UsersPublicDocuments ource-api
* The host path of the shared folder is missing: C:UsersPublicDocuments ource-client

notice the blank space between the "s" and the "ource" in the two lines.  I am guessing that is because \s is an escape sequence for a space
I tried putting a \\ in place of the single \ and got this error

vm:
* The host path of the shared folder is missing: C:UsersPublicDocuments/source-api
* The host path of the shared folder is missing: C:UsersPublicDocuments/source-client

Then I used single quotes around the string which seems to have fixed the second problem but I got a new  error on the IP address saying that:

The specified host network collides with a non-hostonly network!
This will cause your specified IP to be inaccessible. Please change
the IP or name of your host only network so that it no longer matches that of
a bridged or non-hostonly network.

I wanted the virtual host to be on my local subnet which is why I chose the IP that I did.  So I guess now, the question is
Can I alter the configuration file in such a way that the box will sit on my local subnet and not complain?

C:\Users\Public\Documents\ZF2-Vagrant>

  config.vm.synced_folder "C:\Users\Public\Documents\source-api", "/var/source-api"
  config.vm.synced_folder "C:\Users\Public\Documents\source-client", "/var/source-client"


On Wednesday, December 24, 2014 4:27:35 PM UTC-5, TPaine_Dev wrote:
I am new to Vagrant and I am trying to follow directions in an E-Book from Packt Publishing on <a href="https://www.packtpub.com/web-development/zend-framework-2-application-development" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fwww.packtpub.com%2Fweb-development%2Fzend-framework-2-application-development\46sa\75D\46sntz\0751\46usg\75AFQjCNFiSO_2teDYshI656-_5WgJaGW2fw';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fwww.packtpub.com%2Fweb-development%2Fzend-framework-2-application-development\46sa\75D\46sntz\0751\46usg\75AFQjCNFiSO_2teDYshI656-_5WgJaGW2fw';return true;">Zend Framework2 Application Development.
So far I installed Oracle's Virtual Box software on my Windows 7 Pro laptop; I installed Vagrant v1.71 and the most recent version of Git as of 12/23/2014.

Using Git I clone a package that includes the following vagrant file, editing the IP address and the location of synced folders:
===========================================
Vagrant.configure("2") do |config|
  config.vm.synced_folder "C:\Users\Public\Documents\source-api", "/var/source-api"
  config.vm.synced_folder "C:\Users\Public\Documents\source-client", "/var/source-client"
  
  config.vm.box = "ubuntu-12.04"
  config.vm.box_url = "<a href="http://files.vagrantup.com/precise64.box" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Ffiles.vagrantup.com%2Fprecise64.box\46sa\75D\46sntz\0751\46usg\75AFQjCNExQ6TmIIRZlshTsq2r1UxV0xErKw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Ffiles.vagrantup.com%2Fprecise64.box\46sa\75D\46sntz\0751\46usg\75AFQjCNExQ6TmIIRZlshTsq2r1UxV0xErKw';return true;">http://files.vagrantup.com/precise64.box"
  config.vm.network :private_network, ip: "192.168.1.11"
  config.vm.provider :virtualbox do |vb|
    vb.customize ["modifyvm", :id, "--memory", "896"]
  end
  
  config.vm.provision :chef_solo do |chef|
    chef.cookbooks_path = "./cookbooks"
    
    chef.add_recipe "apt"
    chef.add_recipe "custom::dotdeb"
    chef.add_recipe "mysql::server"
    chef.add_recipe "nginx"
    chef.add_recipe "php"
    chef.add_recipe "php-fpm"
    chef.add_recipe "custom::fpm-config"
    chef.add_recipe "php::module_curl"
    chef.add_recipe "php::module_gd"
    chef.add_recipe "php::module_mysql"
    chef.add_recipe "postfix"
    chef.add_recipe "custom::db"
    chef.add_recipe "custom::hosts"
    chef.add_recipe "custom::vhosts"
    chef.add_recipe "custom::mysql_permissions"
    chef.add_recipe "custom::restart_services"
    
    chef.json = {
      :mysql => {
        :server_root_password => "root",
        :server_repl_password => "repl",
        :server_debian_password => "debian",
        :bind_address => '0.0.0.0'
      },
      :nginx => {
        :default_site_enabled => false
      },
      :php => {
        :directives => {
          'pdo_mysql.default_socket' => '/var/run/mysqld/mysqld.sock',
          'mysql.default_socket' => '/var/run/mysqld/mysqld.sock',
          'mysqli.default_socket' => '/var/run/mysqld/mysqld.sock',
          'date.timezone' => 'Europe/London'
        }
      }
    }
  end
end
======================================================

  I tried running the "vagrant up" command and got the following: 
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu-12.04' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Adding box 'ubuntu-12.04' (v0) for provider: virtualbox
    default: Downloading: <a href="http://files.vagrantup.com/precise64.box" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Ffiles.vagrantup.com%2Fprecise64.box\46sa\75D\46sntz\0751\46usg\75AFQjCNExQ6TmIIRZlshTsq2r1UxV0xErKw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Ffiles.vagrantup.com%2Fprecise64.box\46sa\75D\46sntz\0751\46usg\75AFQjCNExQ6TmIIRZlshTsq2r1UxV0xErKw';return true;">http://files.vagrantup.com/precise64.box
    default: Progress: 100% (Rate: 4951k/s, Estimated time remaining: --:--:--)
The executable 'bsdtar' Vagrant is trying to run was not
found in the %PATH% variable. This is an error. Please verify
this software is installed and on the path.

I searched my hard drive and cannot find bsdtar anywhere so apparently I am missing software and it is not just a path problem. The problem is that I don't see any reference to this file in the book of in the vagrant file, so I am not sure if it was supposed to be part of the precise64.box or not.

I thought that I would try this forum to see if anyone can help me solve this dilemma.

--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.