(MacOS X 10.7.5)
I went through all the instructions on the drupal.org/project/vagrant page, including editing the hosts file at /private/etc/hosts to add the line advised
I also flushed the DNS cache using
dscacheutil -flushcache
and I tried all of the following:
drupal.vbox.local/
drupal.vbox.local/index.php
drupal.vbox.local/install.php
drupal.vbox.local/phpmyadmin
http://dev-site.vbox.local/
http://dev-site.vbox.local/index.php
http://dev-site.vbox.local/install.php
http://dev-site.vbox.local/phpmyadmin/
The error message, for example, in Chrome is:
"Oops! Google Chrome could not connect to dev-site.vbox.local"
The Vagrant VM seems to be running OK and I can connect to it using vagrant ssh. See log of terminal below:
Robert-Daviss-MacBook-Pro:vagrant robertdavis$ vagrant up
There were warnings and/or errors while loading your Vagrantfile.
Your Vagrantfile was written for an earlier version of Vagrant,
and while Vagrant does the best it can to remain backwards
compatible, there are some cases where things have changed
significantly enough to warrant a message. These messages are
shown below.
Warnings:
* `config.vm.customize` calls are VirtualBox-specific. If you're
using any other provider, you'll have to find provider-specific configuration
to translate to manually in your Vagrantfile.
* The 'v-root' shared folders have been renamed to 'vagrant-root'.
Assuming you meant 'vagrant-root'...
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'base'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Running any VM customizations...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Configuring and enabling network interfaces...
[default] Mounting shared folders...
[default] -- /vagrant
[default] -- /tmp/vagrant-chef-1/chef-solo-3/roles
[default] -- /tmp/vagrant-chef-1/chef-solo-1/cookbooks
[default] -- /tmp/vagrant-chef-1/chef-solo-2/cookbooks
[default] Running provisioner: VagrantPlugins::Chef::Provisioner::ChefSolo...
Generating chef JSON and uploading...
Running chef-solo...
stdin: is not a tty
[2013-04-30T15:10:39+02:00] INFO: *** Chef 10.14.2 ***
[2013-04-30T15:10:40+02:00] INFO: Setting the run_list to ["role[drupal_lamp_varnish_dev]", "recipe[drupal::example]"] from JSON
[2013-04-30T15:10:40+02:00] INFO: Run List is [role[drupal_lamp_varnish_dev], recipe[drupal::example]]
[2013-04-30T15:10:40+02:00] INFO: Run List expands to [php, apache2, apache2::mod_expires, apache2::mod_php5, apache2::mod_rewrite, drupal::minimal, php::module_curl, php::module_gd, php::module_mysql, php::module_memcache, imagemagick, drupal::dev, drush::head, drush_make, phpmyadmin, webgrind, memcached, mysql::server, varnish, drupal::drupal_apps, drupal::example]
[2013-04-30T15:10:40+02:00] INFO: Starting Chef Run for lucid32.hsd1.ca.comcast.net.
[2013-04-30T15:10:40+02:00] INFO: Running start handlers
[2013-04-30T15:10:40+02:00] INFO: Start handlers complete.
[2013-04-30T15:10:40+02:00] INFO: Missing gem 'mysql'
[2013-04-30T15:10:40+02:00] WARN: require_recipe is deprecated and will be removed in a future release, please use include_recipe
[2013-04-30T15:10:40+02:00] WARN: require_recipe is deprecated and will be removed in a future release, please use include_recipe
[2013-04-30T15:10:40+02:00] INFO: Processing execute[apt-get update] action run (apt::default line 20)
[2013-04-30T15:10:46+02:00] INFO: execute[apt-get update] ran successfully
[2013-04-30T15:10:46+02:00] WARN: require_recipe is deprecated and will be removed in a future release, please use include_recipe
[2013-04-30T15:10:46+02:00] INFO: Could not find previously defined grants.sql resource
[2013-04-30T15:10:46+02:00] WARN: require_recipe is deprecated and will be removed in a future release, please use include_recipe
[2013-04-30T15:10:46+02:00] WARN: require_recipe is deprecated and will be removed in a future release, please use include_recipe
[2013-04-30T15:10:46+02:00] WARN: require_recipe is deprecated and will be removed in a future release, please use include_recipe
[2013-04-30T15:10:46+02:00] WARN: require_recipe is deprecated and will be removed in a future release, please use include_recipe
[2013-04-30T15:10:46+02:00] WARN: require_recipe is deprecated and will be removed in a future release, please use include_recipe
[2013-04-30T15:10:46+02:00] INFO: Processing package[php5-cgi] action install (php::package line 32)
[2013-04-30T15:11:00+02:00] INFO: Processing package[php5] action install (php::package line 32)
[2013-04-30T15:11:01+02:00] INFO: Processing package[php5-dev] action install (php::package line 32)
[2013-04-30T15:11:13+02:00] INFO: Processing package[php5-cli] action install (php::package line 32)
[2013-04-30T15:11:20+02:00] INFO: Processing package[php-pear] action install (php::package line 32)
[2013-04-30T15:11:22+02:00] INFO: Processing template[/etc/php5/cli/php.ini] action create (php::package line 37)
[2013-04-30T15:11:22+02:00] INFO: template[/etc/php5/cli/php.ini] backed up to /var/chef/backup/etc/php5/cli/php.ini.chef-20130430151122
[2013-04-30T15:11:22+02:00] INFO: template[/etc/php5/cli/php.ini] updated content
[2013-04-30T15:11:22+02:00] INFO: template[/etc/php5/cli/php.ini] owner changed to 0
[2013-04-30T15:11:22+02:00] INFO: template[/etc/php5/cli/php.ini] group changed to 0
[2013-04-30T15:11:22+02:00] INFO: template[/etc/php5/cli/php.ini] mode changed to 644
[2013-04-30T15:11:22+02:00] INFO: Processing php_pear_channel[pear.php.net] action update (php::default line 25)
[2013-04-30T15:11:23+02:00] INFO: Processing php_pear_channel[pecl.php.net] action update (php::default line 29)
[2013-04-30T15:11:24+02:00] INFO: Processing package[apache2] action install (apache2::default line 20)
[2013-04-30T15:11:36+02:00] INFO: Processing service[apache2] action enable (apache2::default line 32)
[2013-04-30T15:11:36+02:00] INFO: Processing directory[/etc/apache2/ssl] action create (apache2::default line 118)
[2013-04-30T15:11:36+02:00] INFO: directory[/etc/apache2/ssl] created directory /etc/apache2/ssl
[2013-04-30T15:11:36+02:00] INFO: directory[/etc/apache2/ssl] owner changed to 0
[2013-04-30T15:11:36+02:00] INFO: directory[/etc/apache2/ssl] group changed to 0
[2013-04-30T15:11:36+02:00] INFO: directory[/etc/apache2/ssl] mode changed to 755
[2013-04-30T15:11:36+02:00] INFO: Processing directory[/etc/apache2/conf.d] action create (apache2::default line 125)
[2013-04-30T15:11:36+02:00] INFO: Processing directory[/var/cache/apache2] action create (apache2::default line 132)
[2013-04-30T15:11:36+02:00] INFO: Processing template[apache2.conf] action create (apache2::default line 138)
[2013-04-30T15:11:36+02:00] INFO: template[apache2.conf] backed up to /var/chef/backup/etc/apache2/apache2.conf.chef-20130430151136
[2013-04-30T15:11:36+02:00] INFO: template[apache2.conf] updated content
[2013-04-30T15:11:36+02:00] INFO: template[apache2.conf] owner changed to 0
[2013-04-30T15:11:36+02:00] INFO: template[apache2.conf] group changed to 0
[2013-04-30T15:11:36+02:00] INFO: template[apache2.conf] mode changed to 644
[2013-04-30T15:11:36+02:00] INFO: Processing template[security] action create (apache2::default line 152)
[2013-04-30T15:11:36+02:00] INFO: template[security] updated content
[2013-04-30T15:11:36+02:00] INFO: template[security] owner changed to 0
[2013-04-30T15:11:36+02:00] INFO: template[security] group changed to 0
[2013-04-30T15:11:36+02:00] INFO: template[security] mode changed to 644
[2013-04-30T15:11:36+02:00] INFO: template[security] not queuing delayed action restart on service[apache2] (delayed), as it's already been queued
[2013-04-30T15:11:36+02:00] INFO: Processing template[charset] action create (apache2::default line 162)
[2013-04-30T15:11:36+02:00] INFO: Processing template[/etc/apache2/ports.conf] action create (apache2::default line 172)
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/ports.conf] backed up to /var/chef/backup/etc/apache2/ports.conf.chef-20130430151136
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/ports.conf] updated content
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/ports.conf] owner changed to 0
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/ports.conf] group changed to 0
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/ports.conf] mode changed to 644
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/ports.conf] not queuing delayed action restart on service[apache2] (delayed), as it's already been queued
[2013-04-30T15:11:36+02:00] INFO: Processing template[/etc/apache2/sites-available/default] action create (apache2::default line 181)
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/sites-available/default] backed up to /var/chef/backup/etc/apache2/sites-available/default.chef-20130430151136
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/sites-available/default] updated content
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/sites-available/default] owner changed to 0
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/sites-available/default] group changed to 0
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/sites-available/default] mode changed to 644
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/sites-available/default] not queuing delayed action restart on service[apache2] (delayed), as it's already been queued
[2013-04-30T15:11:36+02:00] INFO: Processing template[/etc/apache2/mods-available/status.conf] action create (apache2::mod_status line 21)
[2013-04-30T15:11:36+02:00] INFO: Processing execute[a2enmod status] action run (apache2::mod_status line 28)
[2013-04-30T15:11:36+02:00] INFO: Processing template[/etc/apache2/mods-available/alias.conf] action create (apache2::mod_alias line 21)
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/mods-available/alias.conf] backed up to /var/chef/backup/etc/apache2/mods-available/alias.conf.chef-20130430151136
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/mods-available/alias.conf] updated content
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/mods-available/alias.conf] mode changed to 644
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/mods-available/alias.conf] not queuing delayed action restart on service[apache2] (delayed), as it's already been queued
[2013-04-30T15:11:36+02:00] INFO: Processing execute[a2enmod alias] action run (apache2::mod_alias line 28)
[2013-04-30T15:11:36+02:00] INFO: Processing execute[a2enmod auth_basic] action run (apache2::mod_auth_basic line 28)
[2013-04-30T15:11:36+02:00] INFO: Processing execute[a2enmod authn_file] action run (apache2::mod_authn_file line 28)
[2013-04-30T15:11:36+02:00] INFO: Processing execute[a2enmod authz_default] action run (apache2::mod_authz_default line 28)
[2013-04-30T15:11:36+02:00] INFO: Processing execute[a2enmod authz_groupfile] action run (apache2::mod_authz_groupfile line 28)
[2013-04-30T15:11:36+02:00] INFO: Processing execute[a2enmod authz_host] action run (apache2::mod_authz_host line 28)
[2013-04-30T15:11:36+02:00] INFO: Processing execute[a2enmod authz_user] action run (apache2::mod_authz_user line 28)
[2013-04-30T15:11:36+02:00] INFO: Processing template[/etc/apache2/mods-available/autoindex.conf] action create (apache2::mod_autoindex line 21)
[2013-04-30T15:11:36+02:00] INFO: Processing execute[a2enmod autoindex] action run (apache2::mod_autoindex line 28)
[2013-04-30T15:11:36+02:00] INFO: Processing template[/etc/apache2/mods-available/dir.conf] action create (apache2::mod_dir line 21)
[2013-04-30T15:11:36+02:00] INFO: Processing execute[a2enmod dir] action run (apache2::mod_dir line 28)
[2013-04-30T15:11:36+02:00] INFO: Processing execute[a2enmod env] action run (apache2::mod_env line 28)
[2013-04-30T15:11:36+02:00] INFO: Processing template[/etc/apache2/mods-available/mime.conf] action create (apache2::mod_mime line 21)
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/mods-available/mime.conf] backed up to /var/chef/backup/etc/apache2/mods-available/mime.conf.chef-20130430151136
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/mods-available/mime.conf] updated content
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/mods-available/mime.conf] mode changed to 644
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/mods-available/mime.conf] not queuing delayed action restart on service[apache2] (delayed), as it's already been queued
[2013-04-30T15:11:36+02:00] INFO: Processing execute[a2enmod mime] action run (apache2::mod_mime line 28)
[2013-04-30T15:11:36+02:00] INFO: Processing template[/etc/apache2/mods-available/negotiation.conf] action create (apache2::mod_negotiation line 21)
[2013-04-30T15:11:36+02:00] INFO: Processing execute[a2enmod negotiation] action run (apache2::mod_negotiation line 28)
[2013-04-30T15:11:36+02:00] INFO: Processing template[/etc/apache2/mods-available/setenvif.conf] action create (apache2::mod_setenvif line 21)
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/mods-available/setenvif.conf] backed up to /var/chef/backup/etc/apache2/mods-available/setenvif.conf.chef-20130430151136
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/mods-available/setenvif.conf] updated content
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/mods-available/setenvif.conf] mode changed to 644
[2013-04-30T15:11:36+02:00] INFO: template[/etc/apache2/mods-available/setenvif.conf] not queuing delayed action restart on service[apache2] (delayed), as it's already been queued
[2013-04-30T15:11:36+02:00] INFO: Processing execute[a2enmod setenvif] action run (apache2::mod_setenvif line 28)
[2013-04-30T15:11:36+02:00] INFO: Processing service[apache2] action start (apache2::default line 207)
[2013-04-30T15:11:36+02:00] INFO: Processing execute[a2enmod expires] action run (apache2::mod_expires line 28)
[2013-04-30T15:11:36+02:00] INFO: execute[a2enmod expires] ran successfully
[2013-04-30T15:11:36+02:00] INFO: Processing package[libapache2-mod-php5] action install (apache2::mod_php5 line 22)
[2013-04-30T15:11:47+02:00] INFO: Processing execute[a2enmod php5] action run (apache2::mod_php5 line 28)
[2013-04-30T15:11:47+02:00] INFO: Processing execute[a2enmod rewrite] action run (apache2::mod_rewrite line 28)
[2013-04-30T15:11:47+02:00] INFO: execute[a2enmod rewrite] ran successfully
[2013-04-30T15:11:47+02:00] INFO: execute[a2enmod rewrite] not queuing delayed action restart on service[apache2] (delayed), as it's already been queued
[2013-04-30T15:11:47+02:00] INFO: Processing package[build-essential] action install (build-essential::default line 23)
[2013-04-30T15:12:04+02:00] INFO: Processing package[binutils-doc] action install (build-essential::default line 23)
[2013-04-30T15:12:06+02:00] INFO: Processing package[autoconf] action install (build-essential::default line 35)
[2013-04-30T15:12:06+02:00] INFO: Processing package[flex] action install (build-essential::default line 39)
[2013-04-30T15:12:08+02:00] INFO: Processing package[bison] action install (build-essential::default line 43)
[2013-04-30T15:12:11+02:00] INFO: Processing package[libpcre3-dev] action install (drupal::minimal line 16)
[2013-04-30T15:12:15+02:00] INFO: Processing package[php5-mcrypt] action install (drupal::minimal line 16)
[2013-04-30T15:12:17+02:00] INFO: Processing php_pear[pdo] action install (drupal::minimal line 21)
[2013-04-30T15:12:19+02:00] INFO: Processing php_pear[apc] action install (drupal::minimal line 27)
[2013-04-30T15:12:23+02:00] INFO: Installing php_pear[apc] version 3.1.6
[2013-04-30T15:12:36+02:00] INFO: Processing template[/etc/php5/conf.d/apc.ini] action create (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/php/providers/pear.rb line 176)
[2013-04-30T15:12:36+02:00] INFO: template[/etc/php5/conf.d/apc.ini] updated content
[2013-04-30T15:12:36+02:00] INFO: template[/etc/php5/conf.d/apc.ini] owner changed to 0
[2013-04-30T15:12:36+02:00] INFO: template[/etc/php5/conf.d/apc.ini] group changed to 0
[2013-04-30T15:12:36+02:00] INFO: template[/etc/php5/conf.d/apc.ini] mode changed to 644
[2013-04-30T15:12:36+02:00] INFO: Processing php_pear[uploadprogress] action install (drupal::minimal line 34)
[2013-04-30T15:12:38+02:00] INFO: Installing php_pear[uploadprogress] version 1.0.3.1
[2013-04-30T15:12:43+02:00] INFO: Processing template[/etc/php5/conf.d/uploadprogress.ini] action create (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/php/providers/pear.rb line 176)
[2013-04-30T15:12:44+02:00] INFO: template[/etc/php5/conf.d/uploadprogress.ini] updated content
[2013-04-30T15:12:44+02:00] INFO: template[/etc/php5/conf.d/uploadprogress.ini] owner changed to 0
[2013-04-30T15:12:44+02:00] INFO: template[/etc/php5/conf.d/uploadprogress.ini] group changed to 0
[2013-04-30T15:12:44+02:00] INFO: template[/etc/php5/conf.d/uploadprogress.ini] mode changed to 644
[2013-04-30T15:12:44+02:00] INFO: Processing package[php5-curl] action upgrade (php::module_curl line 26)
[2013-04-30T15:12:45+02:00] INFO: package[php5-curl] upgraded from uninstalled to 5.3.2-1ubuntu4.19
[2013-04-30T15:12:45+02:00] INFO: Processing package[php5-gd] action install (php::module_gd line 27)
[2013-04-30T15:12:54+02:00] INFO: Processing package[php5-mysql] action install (php::module_mysql line 27)
[2013-04-30T15:12:59+02:00] INFO: Processing package[php5-memcache] action install (php::module_memcache line 34)
[2013-04-30T15:13:01+02:00] INFO: Processing package[imagemagick] action install (imagemagick::default line 24)
[2013-04-30T15:13:53+02:00] INFO: Processing execute[apt-get update] action nothing (apt::default line 20)
[2013-04-30T15:13:53+02:00] INFO: Processing directory[/var/cache/local] action create (apt::default line 27)
[2013-04-30T15:13:53+02:00] INFO: directory[/var/cache/local] created directory /var/cache/local
[2013-04-30T15:13:53+02:00] INFO: directory[/var/cache/local] owner changed to 0
[2013-04-30T15:13:53+02:00] INFO: directory[/var/cache/local] group changed to 0
[2013-04-30T15:13:53+02:00] INFO: directory[/var/cache/local] mode changed to 755
[2013-04-30T15:13:53+02:00] INFO: Processing directory[/var/cache/local/preseeding] action create (apt::default line 27)
[2013-04-30T15:13:53+02:00] INFO: directory[/var/cache/local/preseeding] created directory /var/cache/local/preseeding
[2013-04-30T15:13:53+02:00] INFO: directory[/var/cache/local/preseeding] owner changed to 0
[2013-04-30T15:13:53+02:00] INFO: directory[/var/cache/local/preseeding] group changed to 0
[2013-04-30T15:13:53+02:00] INFO: directory[/var/cache/local/preseeding] mode changed to 755
[2013-04-30T15:13:53+02:00] INFO: Processing package[git-core] action install (drupal::dev line 6)
[2013-04-30T15:14:06+02:00] INFO: Processing php_pear[xdebug] action install (drupal::dev line 8)
[2013-04-30T15:14:08+02:00] INFO: Installing php_pear[xdebug] version 2.2.2
[2013-04-30T15:14:20+02:00] INFO: Processing template[/etc/php5/conf.d/xdebug.ini] action create (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/php/providers/pear.rb line 176)
[2013-04-30T15:14:20+02:00] INFO: template[/etc/php5/conf.d/xdebug.ini] updated content
[2013-04-30T15:14:20+02:00] INFO: template[/etc/php5/conf.d/xdebug.ini] owner changed to 0
[2013-04-30T15:14:20+02:00] INFO: template[/etc/php5/conf.d/xdebug.ini] group changed to 0
[2013-04-30T15:14:20+02:00] INFO: template[/etc/php5/conf.d/xdebug.ini] mode changed to 644
[2013-04-30T15:14:20+02:00] INFO: Processing template[/etc/php5/apache2/conf.d/xdebug.ini] action create (drupal::dev line 12)
[2013-04-30T15:14:24+02:00] INFO: template[/etc/php5/apache2/conf.d/xdebug.ini] backed up to /var/chef/backup/etc/php5/apache2/conf.d/xdebug.ini.chef-20130430151424
[2013-04-30T15:14:24+02:00] INFO: template[/etc/php5/apache2/conf.d/xdebug.ini] updated content
[2013-04-30T15:14:24+02:00] INFO: template[/etc/php5/apache2/conf.d/xdebug.ini] owner changed to 0
[2013-04-30T15:14:24+02:00] INFO: template[/etc/php5/apache2/conf.d/xdebug.ini] group changed to 0
[2013-04-30T15:14:24+02:00] INFO: template[/etc/php5/apache2/conf.d/xdebug.ini] mode changed to 644
[2013-04-30T15:14:24+02:00] INFO: template[/etc/php5/apache2/conf.d/xdebug.ini] not queuing delayed action restart on service[apache2] (delayed), as it's already been queued
[2013-04-30T15:14:24+02:00] INFO: Processing git[/usr/share/drush] action sync (drush::head line 20)
[2013-04-30T15:14:25+02:00] INFO: git[/usr/share/drush] cloning repo git://git.drupal.org/project/drush.git to /usr/share/drush
[2013-04-30T15:15:38+02:00] INFO: git[/usr/share/drush] checked out branch: 7.x-5.x reference: ef0a1bcbc1c0fa63980025eae2b2f6a4f33bf2d5
[2013-04-30T15:15:38+02:00] INFO: Processing bash[make-drush-symlink] action run (drush::head line 26)
[2013-04-30T15:15:38+02:00] INFO: bash[make-drush-symlink] ran successfully
[2013-04-30T15:15:38+02:00] INFO: Processing bash[install-console-table] action run (drush::head line 34)
[2013-04-30T15:15:40+02:00] INFO: bash[install-console-table] ran successfully
[2013-04-30T15:15:40+02:00] INFO: Processing bash[install-drush_make] action run (drush_make::default line 20)
[2013-04-30T15:15:41+02:00] INFO: bash[install-drush_make] ran successfully
[2013-04-30T15:15:41+02:00] INFO: Processing directory[/etc/dbconfig-common/] action create (phpmyadmin::default line 1)
[2013-04-30T15:15:41+02:00] INFO: directory[/etc/dbconfig-common/] created directory /etc/dbconfig-common/
[2013-04-30T15:15:41+02:00] INFO: Processing template[/etc/dbconfig-common/phpmyadmin.conf] action create (phpmyadmin::default line 6)
[2013-04-30T15:15:41+02:00] INFO: template[/etc/dbconfig-common/phpmyadmin.conf] updated content
[2013-04-30T15:15:41+02:00] INFO: template[/etc/dbconfig-common/phpmyadmin.conf] mode changed to 660
[2013-04-30T15:15:41+02:00] INFO: Processing package[phpmyadmin] action install (phpmyadmin::default line 11)
[2013-04-30T15:16:16+02:00] INFO: Processing template[/etc/apache2/sites-enabled/zzz-phpmyadmin] action create (phpmyadmin::default line 13)
[2013-04-30T15:16:16+02:00] INFO: template[/etc/apache2/sites-enabled/zzz-phpmyadmin] updated content
[2013-04-30T15:16:16+02:00] INFO: template[/etc/apache2/sites-enabled/zzz-phpmyadmin] mode changed to 660
[2013-04-30T15:16:16+02:00] INFO: Processing template[/etc/phpmyadmin/apache.conf] action create (phpmyadmin::default line 18)
[2013-04-30T15:16:16+02:00] INFO: template[/etc/phpmyadmin/apache.conf] backed up to /var/chef/backup/etc/phpmyadmin/apache.conf.chef-20130430151616
[2013-04-30T15:16:16+02:00] INFO: template[/etc/phpmyadmin/apache.conf] updated content
[2013-04-30T15:16:16+02:00] INFO: template[/etc/phpmyadmin/apache.conf] mode changed to 660
[2013-04-30T15:16:16+02:00] INFO: Processing template[/etc/phpmyadmin/config-db.php] action create (phpmyadmin::default line 23)
[2013-04-30T15:16:16+02:00] INFO: template[/etc/phpmyadmin/config-db.php] backed up to /var/chef/backup/etc/phpmyadmin/config-db.php.chef-20130430151616
[2013-04-30T15:16:16+02:00] INFO: template[/etc/phpmyadmin/config-db.php] updated content
[2013-04-30T15:16:16+02:00] INFO: template[/etc/phpmyadmin/config-db.php] mode changed to 660
[2013-04-30T15:16:16+02:00] INFO: Processing package[subversion] action install (webgrind::default line 3)
[2013-04-30T15:16:21+02:00] INFO: Processing subversion[Webgrind] action sync (webgrind::default line 5)
[2013-04-30T15:16:25+02:00] INFO: subversion[Webgrind] checked out http://webgrind.googlecode.com/svn/trunk/ at revision HEAD to /var/www/webgrind
[2013-04-30T15:16:29+02:00] INFO: Processing package[memcached] action upgrade (memcached::default line 20)
[2013-04-30T15:16:30+02:00] INFO: package[memcached] upgraded from uninstalled to 1.4.2-1ubuntu4
[2013-04-30T15:16:30+02:00] INFO: Processing package[libmemcache-dev] action upgrade (memcached::default line 24)
[2013-04-30T15:16:32+02:00] INFO: package[libmemcache-dev] upgraded from uninstalled to 1.4.0.rc2-1
[2013-04-30T15:16:32+02:00] INFO: Processing service[memcached] action nothing (memcached::default line 28)
[2013-04-30T15:16:32+02:00] INFO: Processing template[/etc/memcached.conf] action create (memcached::default line 33)
[2013-04-30T15:16:32+02:00] INFO: template[/etc/memcached.conf] backed up to /var/chef/backup/etc/memcached.conf.chef-20130430151632
[2013-04-30T15:16:32+02:00] INFO: template[/etc/memcached.conf] updated content
[2013-04-30T15:16:32+02:00] INFO: template[/etc/memcached.conf] owner changed to 0
[2013-04-30T15:16:32+02:00] INFO: template[/etc/memcached.conf] group changed to 0
[2013-04-30T15:16:32+02:00] INFO: template[/etc/memcached.conf] mode changed to 644
[2013-04-30T15:16:32+02:00] INFO: template[/etc/memcached.conf] sending restart action to service[memcached] (immediate)
[2013-04-30T15:16:32+02:00] INFO: Processing service[memcached] action restart (memcached::default line 28)
[2013-04-30T15:16:33+02:00] INFO: service[memcached] restarted
[2013-04-30T15:16:33+02:00] INFO: Processing package[mysql-devel] action install (mysql::client line 20)
[2013-04-30T15:16:41+02:00] INFO: Processing package[mysql-client] action install (mysql::client line 29)
[2013-04-30T15:16:41+02:00] INFO: Processing package[mysql-ruby] action install (mysql::client line 39)
[2013-04-30T15:16:45+02:00] INFO: Processing directory[/var/cache/local/preseeding] action create (mysql::server line 31)
[2013-04-30T15:16:45+02:00] INFO: Processing execute[preseed mysql-server] action nothing (mysql::server line 38)
[2013-04-30T15:16:45+02:00] INFO: Processing template[/var/cache/local/preseeding/mysql-server.seed] action create (mysql::server line 43)
[2013-04-30T15:16:45+02:00] INFO: template[/var/cache/local/preseeding/mysql-server.seed] updated content
[2013-04-30T15:16:45+02:00] INFO: template[/var/cache/local/preseeding/mysql-server.seed] owner changed to 0
[2013-04-30T15:16:45+02:00] INFO: template[/var/cache/local/preseeding/mysql-server.seed] group changed to 0
[2013-04-30T15:16:45+02:00] INFO: template[/var/cache/local/preseeding/mysql-server.seed] mode changed to 600
[2013-04-30T15:16:45+02:00] INFO: template[/var/cache/local/preseeding/mysql-server.seed] sending run action to execute[preseed mysql-server] (immediate)
[2013-04-30T15:16:45+02:00] INFO: Processing execute[preseed mysql-server] action run (mysql::server line 38)
[2013-04-30T15:16:46+02:00] INFO: execute[preseed mysql-server] ran successfully
[2013-04-30T15:16:46+02:00] INFO: Processing template[/etc/mysql/debian.cnf] action create (mysql::server line 51)
[2013-04-30T15:16:46+02:00] INFO: template[/etc/mysql/debian.cnf] updated content
[2013-04-30T15:16:46+02:00] INFO: template[/etc/mysql/debian.cnf] owner changed to 0
[2013-04-30T15:16:46+02:00] INFO: template[/etc/mysql/debian.cnf] group changed to 0
[2013-04-30T15:16:46+02:00] INFO: template[/etc/mysql/debian.cnf] mode changed to 600
[2013-04-30T15:16:46+02:00] INFO: Processing package[mysql-server] action install (mysql::server line 60)
[2013-04-30T15:17:40+02:00] INFO: Processing service[mysql] action nothing (mysql::server line 64)
[2013-04-30T15:17:40+02:00] INFO: Processing template[/etc/mysql/my.cnf] action create (mysql::server line 75)
[2013-04-30T15:17:41+02:00] INFO: template[/etc/mysql/my.cnf] backed up to /var/chef/backup/etc/mysql/my.cnf.chef-20130430151741
[2013-04-30T15:17:41+02:00] INFO: template[/etc/mysql/my.cnf] updated content
[2013-04-30T15:17:41+02:00] INFO: template[/etc/mysql/my.cnf] owner changed to 0
[2013-04-30T15:17:41+02:00] INFO: template[/etc/mysql/my.cnf] group changed to 0
[2013-04-30T15:17:41+02:00] INFO: template[/etc/mysql/my.cnf] mode changed to 644
[2013-04-30T15:17:41+02:00] INFO: template[/etc/mysql/my.cnf] sending restart action to service[mysql] (immediate)
[2013-04-30T15:17:41+02:00] INFO: Processing service[mysql] action restart (mysql::server line 64)
[2013-04-30T15:17:46+02:00] INFO: service[mysql] restarted
[2013-04-30T15:17:46+02:00] INFO: Processing template[/etc/mysql/grants.sql] action create (mysql::server line 115)
[2013-04-30T15:17:46+02:00] INFO: template[/etc/mysql/grants.sql] updated content
[2013-04-30T15:17:46+02:00] INFO: template[/etc/mysql/grants.sql] owner changed to 0
[2013-04-30T15:17:46+02:00] INFO: template[/etc/mysql/grants.sql] group changed to 0
[2013-04-30T15:17:46+02:00] INFO: template[/etc/mysql/grants.sql] mode changed to 600
[2013-04-30T15:17:46+02:00] INFO: template[/etc/mysql/grants.sql] sending run action to execute[mysql-install-privileges] (immediate)
[2013-04-30T15:17:46+02:00] INFO: Processing execute[mysql-install-privileges] action run (mysql::server line 125)
[2013-04-30T15:17:46+02:00] INFO: execute[mysql-install-privileges] ran successfully
[2013-04-30T15:17:46+02:00] INFO: Processing execute[mysql-install-privileges] action nothing (mysql::server line 125)
[2013-04-30T15:17:46+02:00] INFO: Processing package[varnish] action install (varnish::default line 20)
[2013-04-30T15:17:50+02:00] INFO: Processing template[/etc/varnish/default.vcl] action create (varnish::default line 22)
[2013-04-30T15:17:50+02:00] INFO: template[/etc/varnish/default.vcl] backed up to /var/chef/backup/etc/varnish/default.vcl.chef-20130430151750
[2013-04-30T15:17:50+02:00] INFO: template[/etc/varnish/default.vcl] updated content
[2013-04-30T15:17:50+02:00] INFO: template[/etc/varnish/default.vcl] owner changed to 0
[2013-04-30T15:17:50+02:00] INFO: template[/etc/varnish/default.vcl] group changed to 0
[2013-04-30T15:17:50+02:00] INFO: template[/etc/varnish/default.vcl] mode changed to 644
[2013-04-30T15:17:50+02:00] INFO: Processing template[/etc/default/varnish] action create (varnish::default line 29)
[2013-04-30T15:17:50+02:00] INFO: template[/etc/default/varnish] backed up to /var/chef/backup/etc/default/varnish.chef-20130430151750
[2013-04-30T15:17:50+02:00] INFO: template[/etc/default/varnish] updated content
[2013-04-30T15:17:50+02:00] INFO: template[/etc/default/varnish] owner changed to 0
[2013-04-30T15:17:50+02:00] INFO: template[/etc/default/varnish] group changed to 0
[2013-04-30T15:17:50+02:00] INFO: template[/etc/default/varnish] mode changed to 644
[2013-04-30T15:17:50+02:00] INFO: Processing service[varnish] action enable (varnish::default line 36)
[2013-04-30T15:17:51+02:00] INFO: Processing service[varnish] action start (varnish::default line 36)
[2013-04-30T15:17:51+02:00] INFO: Processing service[varnishlog] action enable (varnish::default line 41)
[2013-04-30T15:17:51+02:00] INFO: Processing service[varnishlog] action start (varnish::default line 41)
[2013-04-30T15:17:51+02:00] INFO: service[varnishlog] started
[2013-04-30T15:17:51+02:00] INFO: Processing template[/etc/hosts] action create (hosts::default line 1)
[2013-04-30T15:17:51+02:00] INFO: template[/etc/hosts] backed up to /var/chef/backup/etc/hosts.chef-20130430151751
[2013-04-30T15:17:51+02:00] INFO: template[/etc/hosts] updated content
[2013-04-30T15:17:51+02:00] INFO: template[/etc/hosts] owner changed to 0
[2013-04-30T15:17:51+02:00] INFO: template[/etc/hosts] group changed to 0
[2013-04-30T15:17:51+02:00] INFO: template[/etc/hosts] mode changed to 644
[2013-04-30T15:17:51+02:00] INFO: Processing template[/etc/apache2/mods-available/deflate.conf] action create (apache2::mod_deflate line 21)
[2013-04-30T15:17:51+02:00] INFO: template[/etc/apache2/mods-available/deflate.conf] backed up to /var/chef/backup/etc/apache2/mods-available/deflate.conf.chef-20130430151751
[2013-04-30T15:17:51+02:00] INFO: template[/etc/apache2/mods-available/deflate.conf] updated content
[2013-04-30T15:17:51+02:00] INFO: template[/etc/apache2/mods-available/deflate.conf] mode changed to 644
[2013-04-30T15:17:51+02:00] INFO: template[/etc/apache2/mods-available/deflate.conf] not queuing delayed action restart on service[apache2] (delayed), as it's already been queued
[2013-04-30T15:17:51+02:00] INFO: Processing execute[a2enmod deflate] action run (apache2::mod_deflate line 28)
[2013-04-30T15:17:51+02:00] INFO: Processing execute[a2enmod headers] action run (apache2::mod_headers line 28)
[2013-04-30T15:17:51+02:00] INFO: execute[a2enmod headers] ran successfully
[2013-04-30T15:17:51+02:00] INFO: execute[a2enmod headers] not queuing delayed action restart on service[apache2] (delayed), as it's already been queued
[2013-04-30T15:17:51+02:00] INFO: Processing template[/etc/apache2/sites-available/drupal.vbox.local.conf] action create (drupal::drupal_apps line 29)
[2013-04-30T15:17:51+02:00] INFO: template[/etc/apache2/sites-available/drupal.vbox.local.conf] updated content
[2013-04-30T15:17:51+02:00] INFO: template[/etc/apache2/sites-available/drupal.vbox.local.conf] owner changed to 0
[2013-04-30T15:17:51+02:00] INFO: template[/etc/apache2/sites-available/drupal.vbox.local.conf] group changed to 0
[2013-04-30T15:17:51+02:00] INFO: template[/etc/apache2/sites-available/drupal.vbox.local.conf] mode changed to 644
[2013-04-30T15:17:51+02:00] INFO: Processing execute[a2ensite drupal.vbox.local.conf] action run (drupal::drupal_apps line 24)
[2013-04-30T15:17:51+02:00] INFO: execute[a2ensite drupal.vbox.local.conf] ran successfully
[2013-04-30T15:17:51+02:00] INFO: execute[a2ensite drupal.vbox.local.conf] not queuing delayed action restart on service[apache2] (delayed), as it's already been queued
[2013-04-30T15:17:51+02:00] INFO: Processing template[/etc/apache2/sites-available/dev-site.vbox.local.conf] action create (drupal::drupal_apps line 29)
[2013-04-30T15:17:51+02:00] INFO: template[/etc/apache2/sites-available/dev-site.vbox.local.conf] updated content
[2013-04-30T15:17:51+02:00] INFO: template[/etc/apache2/sites-available/dev-site.vbox.local.conf] owner changed to 0
[2013-04-30T15:17:51+02:00] INFO: template[/etc/apache2/sites-available/dev-site.vbox.local.conf] group changed to 0
[2013-04-30T15:17:51+02:00] INFO: template[/etc/apache2/sites-available/dev-site.vbox.local.conf] mode changed to 644
[2013-04-30T15:17:51+02:00] INFO: Processing execute[a2ensite dev-site.vbox.local.conf] action run (drupal::drupal_apps line 24)
[2013-04-30T15:17:51+02:00] INFO: execute[a2ensite dev-site.vbox.local.conf] ran successfully
[2013-04-30T15:17:51+02:00] INFO: execute[a2ensite dev-site.vbox.local.conf] not queuing delayed action restart on service[apache2] (delayed), as it's already been queued
[2013-04-30T15:17:51+02:00] INFO: Processing bash[install-drush] action run (drush::default line 20)
[2013-04-30T15:17:51+02:00] INFO: Processing execute[add-admin-user] action run (drupal::example line 8)
[2013-04-30T15:17:51+02:00] INFO: execute[add-admin-user] ran successfully
[2013-04-30T15:17:51+02:00] INFO: Processing execute[add-drupal-db] action run (drupal::example line 18)
[2013-04-30T15:17:51+02:00] INFO: execute[add-drupal-db] ran successfully
[2013-04-30T15:17:51+02:00] INFO: Processing bash[install-default-drupal-makefile] action run (drupal::example line 26)
[2013-04-30T15:17:51+02:00] INFO: Processing cookbook_file[/vagrant/public/drupal.vbox.local/example.make] action create (drupal::example line 36)
[2013-04-30T15:17:51+02:00] INFO: Processing bash[install-default-drupal-site] action run (drupal::example line 42)
[2013-04-30T15:17:51+02:00] INFO: Processing cookbook_file[/vagrant/public/drupal.vbox.local/www/sites/default/settings.php] action create (drupal::example line 49)
[2013-04-30T15:17:51+02:00] INFO: template[apache2.conf] sending restart action to service[apache2] (delayed)
[2013-04-30T15:17:51+02:00] INFO: Processing service[apache2] action restart (apache2::default line 32)
[2013-04-30T15:17:54+02:00] INFO: service[apache2] restarted
[2013-04-30T15:17:54+02:00] INFO: execute[a2enmod expires] sending restart action to service[apache2] (delayed)
[2013-04-30T15:17:54+02:00] INFO: Processing service[apache2] action restart (apache2::default line 207)
[2013-04-30T15:17:56+02:00] INFO: service[apache2] restarted
[2013-04-30T15:17:56+02:00] INFO: Chef Run complete in 436.052441 seconds
[2013-04-30T15:17:56+02:00] INFO: Running report handlers
[2013-04-30T15:17:56+02:00] INFO: Report handlers complete
Robert-Daviss-MacBook-Pro:vagrant robertdavis$ vagrant ssh
There were warnings and/or errors while loading your Vagrantfile.
Your Vagrantfile was written for an earlier version of Vagrant,
and while Vagrant does the best it can to remain backwards
compatible, there are some cases where things have changed
significantly enough to warrant a message. These messages are
shown below.
Warnings:
* `config.vm.customize` calls are VirtualBox-specific. If you're
using any other provider, you'll have to find provider-specific configuration
to translate to manually in your Vagrantfile.
* The 'v-root' shared folders have been renamed to 'vagrant-root'.
Assuming you meant 'vagrant-root'...
Linux lucid32 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:13:04 UTC 2012 i686 GNU/Linux
Ubuntu 10.04.4 LTS
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
New release 'precise' available.
Run 'do-release-upgrade' to upgrade to it.
Welcome to your Vagrant-built virtual machine.
Last login: Fri Sep 14 07:26:29 2012 from 10.0.2.2
vagrant@lucid32:~$
Comments
Comment #1
SidneyGijzen commentedDid you also try to connect at port 8080? So, e.g. http://dev-site.vbox.local:8080?
Comment #2
dnmurray commentedLion and beyond do special things with the .local top-level domain. Try renaming it to .localhost and see if that helps.
Comment #3
Eronarn commentedI ran into this when making some modifications to the project and rerunning Chef. Varnish kept running, but for some reason it was no longer hitting Apache. Restarting Varnish fixed the problem.
Comment #4
jcovington commentedI was able to hit drupal.vbox.local earlier, but now cannot. Perhaps I need to restart Varnish, per the earlier comment, but could use a pointer, as Vagrant is a bit of a mystery, still.
Comment #5
Eronarn commented`sudo service varnishd restart` (or maybe it's just "varnish", not "varnishd"? don't have a terminal open). Or you can shut down the Vagrant VM and `vagrant up` it again. VM restarts have also fixed some weird port binding issues I've run into at various times, where all the services were running but it wasn't properly forwarding the port to the host.
Comment #6
jcovington commentedAll good.
vagrant ssh
sudo service varnish restart
Comment #6.0
jcovington commentedwhat i tried...
Comment #7
thedavidmeister commented