irnnr / vagrant-typo3

A Vagrant file to get you up and running with TYPO3 in a few minutes.
35 stars 11 forks source link

Chef never successfully completed #2

Open ghost opened 10 years ago

ghost commented 10 years ago

On my development machine vagrant up does not successfully provision the system.

my local host system: Mac OS X (10.9) Vagrant (1.3.5) VirtualBox (4.3.2) chef (11.8.0) librarian (0.1.1) librarian-chef (0.0.2) vagrant-hostmanager (1.2.3) vagrant-librarian-chef (0.1.4) vagrant-vbguest (0.9.0)

console output: rolands-air:vagrant-typo3-master roland$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... [default] Box 'precise64' was not found. Fetching box from specified URL for the provider 'virtualbox'. Note that if the URL does not have a box for this provider, you should interrupt Vagrant now and add the box yourself. Otherwise Vagrant will attempt to download the full box prior to discovering this error. Downloading or copying the box... Extracting box...te: 1397k/s, Estimated time remaining: 0:00:01) Successfully added box 'precise64' with provider 'virtualbox'! [default] Importing base box 'precise64'... [default] Matching MAC address for NAT networking... [default] Setting the name of the VM... [default] Clearing any previously set forwarded ports... [default] Installing Chef cookbooks with Librarian-Chef... [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] -- 80 => 8800 (adapter 1) [default] -- 3306 => 33060 (adapter 1) [default] Running 'pre-boot' VM customizations... [default] Booting VM... GuestAdditions versions on your host (4.3.2) and guest (4.2.0) do not match. stdin: is not a tty Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: fakeroot linux-headers-3.2.0-23 make patch Suggested packages: make-doc diffutils-doc The following NEW packages will be installed: dkms fakeroot linux-headers-3.2.0-23 linux-headers-3.2.0-23-generic make patch 0 upgraded, 6 newly installed, 0 to remove and 66 not upgraded. Need to get 12.7 MB of archives. After this operation, 68.5 MB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main make amd64 3.81-8.1ubuntu1 [118 kB] Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main patch amd64 2.6.1-3 [80.2 kB] Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/main dkms all 2.2.0.3-1ubuntu3 [73.1 kB] Get:4 http://us.archive.ubuntu.com/ubuntu/ precise/main fakeroot amd64 1.18.2-1 [87.2 kB] Get:5 http://us.archive.ubuntu.com/ubuntu/ precise/main linux-headers-3.2.0-23 all 3.2.0-23.36 [11.4 MB] Get:6 http://us.archive.ubuntu.com/ubuntu/ precise/main linux-headers-3.2.0-23-generic amd64 3.2.0-23.36 [947 kB] dpkg-preconfigure: unable to re-open stdin: No such file or directory Fetched 12.7 MB in 20s (607 kB/s) Selecting previously unselected package make. (Reading database ... 51095 files and directories currently installed.) Unpacking make (from .../make_3.81-8.1ubuntu1_amd64.deb) ... Selecting previously unselected package patch. Unpacking patch (from .../patch_2.6.1-3_amd64.deb) ... Selecting previously unselected package dkms. Unpacking dkms (from .../dkms_2.2.0.3-1ubuntu3_all.deb) ... Selecting previously unselected package fakeroot. Unpacking fakeroot (from .../fakeroot_1.18.2-1_amd64.deb) ... Selecting previously unselected package linux-headers-3.2.0-23. Unpacking linux-headers-3.2.0-23 (from .../linux-headers-3.2.0-23_3.2.0-23.36_all.deb) ... Selecting previously unselected package linux-headers-3.2.0-23-generic. Unpacking linux-headers-3.2.0-23-generic (from .../linux-headers-3.2.0-23-generic_3.2.0-23.36_amd64.deb) ... Processing triggers for man-db ... Setting up make (3.81-8.1ubuntu1) ... Setting up patch (2.6.1-3) ... Setting up dkms (2.2.0.3-1ubuntu3) ... Setting up fakeroot (1.18.2-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode. Setting up linux-headers-3.2.0-23 (3.2.0-23.36) ... Setting up linux-headers-3.2.0-23-generic (3.2.0-23.36) ... Examining /etc/kernel/header_postinst.d. run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-23-generic /boot/vmlinuz-3.2.0-23-generic Copy iso file /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso stdin: is not a tty mount: warning: /mnt seems to be mounted read-only. Installing Virtualbox Guest Additions 4.3.2 - guest version is 4.2.0 stdin: is not a tty Verifying archive integrity... All good. Uncompressing VirtualBox 4.3.2 Guest Additions for Linux............ VirtualBox Guest Additions installer Removing installed version 4.2.0 of VirtualBox Guest Additions... Copying additional installer modules ... Installing additional modules ... Removing existing VirtualBox DKMS kernel modules ...done. Removing existing VirtualBox non-DKMS kernel modules ...done. Building the VirtualBox Guest Additions kernel modules ...done. Doing non-kernel setup of the Guest Additions ...done. You should restart your guest to make sure the new modules are actually used

Installing the Window System drivers ...fail! (Could not find the X.Org or XFree86 Window System.) An error occurred during installation of VirtualBox Guest Additions 4.3.2. Some functionality may not work as intended. stdin: is not a tty [default] Waiting for machine to boot. This may take a few minutes... [default] Machine booted and ready! [default] Setting hostname... [default] Configuring and enabling network interfaces... [default] Mounting shared folders... [default] -- /vagrant [default] -- /var/www/site-vagrant-typo3 [default] -- /tmp/vagrant-chef-1/chef-solo-1/cookbooks [default] Running provisioner: chef_solo... Generating chef JSON and uploading... Running chef-solo... stdin: is not a tty [2013-11-15T14:48:05+00:00] INFO: * Chef 10.14.2 * [2013-11-15T14:48:06+00:00] INFO: Setting the run_list to ["recipe[apt]", "recipe[vim]", "recipe[networking_basic]", "recipe[mysql::server]", "recipe[php]", "recipe[php::module_gd]", "recipe[php::module_apc]", "recipe[apache2]", "recipe[graphicsmagick]", "recipe[typo3]", "recipe[typo3::scheduler]"] from JSON [2013-11-15T14:48:06+00:00] INFO: Run List is [recipe[apt], recipe[vim], recipe[networking_basic], recipe[mysql::server], recipe[php], recipe[php::module_gd], recipe[php::module_apc], recipe[apache2], recipe[graphicsmagick], recipe[typo3], recipe[typo3::scheduler]] [2013-11-15T14:48:06+00:00] INFO: Run List expands to [apt, vim, networking_basic, mysql::server, php, php::module_gd, php::module_apc, apache2, graphicsmagick, typo3, typo3::scheduler] [2013-11-15T14:48:06+00:00] INFO: Starting Chef Run for www.vagrant-typo3.dev [2013-11-15T14:48:06+00:00] INFO: Running start handlers [2013-11-15T14:48:06+00:00] INFO: Start handlers complete. [2013-11-15T14:48:06+00:00] ERROR: Running exception handlers [2013-11-15T14:48:06+00:00] ERROR: Exception handlers complete [2013-11-15T14:48:06+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out [2013-11-15T14:48:06+00:00] FATAL: Errno::ENOENT: No such file or directory - /tmp/vagrant-chef-1/chef-solo-1/cookbooks/networking_basic/README.textile Chef never successfully completed! Any errors should be visible in the output above. Please fix your recipes so that they properly complete.

Thank you for sharing!