Pri instalaci jsem skoncil s errorem u pri instalaci javy. Viz vypis
Nejakej typ jak to opravit? :)
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'chef/debian-7.6'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'chef/debian-7.6' is up to date...
==> default: Setting the name of the VM: mdw-setup_default_1411498885485_52803
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 7001 => 7001 (adapter 1)
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
GuestAdditions versions on your host (4.3.16) and guest (4.3.14) do not match.
stdin: is not a tty
Reading package lists...
Building dependency tree...
Reading state information...
dkms is already the newest version.
linux-headers-3.2.0-4-amd64 is already the newest version.
linux-headers-3.2.0-4-amd64 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Copy iso file /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
stdin: is not a tty
mount: block device /tmp/VBoxGuestAdditions.iso is write-protected, mounting read-only
Installing Virtualbox Guest Additions 4.3.16 - guest version is 4.3.14
stdin: is not a tty
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.3.16 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 4.3.14 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
Could not find the X.Org or XFree86 Window System, skipping.
An error occurred during installation of VirtualBox Guest Additions 4.3.16. Some functionality may not work as intended.
In most cases it is OK that the "Window System drivers" installation failed.
stdin: is not a tty
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Mounting shared folders...
default: /vagrant => /Users/jakub/Dropbox/Vysoka_skola/MGR/mi-mdw/mdw-setup
default: /tmp/vagrant-chef-3/chef-solo-1/cookbooks => /Users/jakub/Dropbox/Vysoka_skola/MGR/mi-mdw/mdw-setup/cookbooks
==> default: Installing Chef 11.16.2 Omnibus package...
==> default: Downloading Chef 11.16.2 for debian...
==> default: downloading https://www.getchef.com/chef/metadata?v=11.16.2&prerelease=false&nightlies=false&p=debian&pv=6&m=x86_64
==> default: to file /tmp/install.sh.5978/metadata.txt
==> default: trying wget...
==> default: url https://opscode-omnibus-packages.s3.amazonaws.com/debian/6/x86_64/chef_11.16.2-1_amd64.deb
==> default: md5 ee11ccc34f396d12b02a340f23ef21bb
==> default: sha256 b3bf649f3a1372a77f2f4988e792ac943510762d33c00a587cf76f19efeb0d38
==> default: downloaded metadata file looks valid...
==> default: downloading https://opscode-omnibus-packages.s3.amazonaws.com/debian/6/x86_64/chef_11.16.2-1_amd64.deb
==> default: to file /tmp/install.sh.5978/chef_11.16.2-1_amd64.deb
==> default: trying wget...
==> default: Comparing checksum with sha256sum...
==> default: Installing Chef 11.16.2
==> default: installing with dpkg...
==> default: Selecting previously unselected package chef.
==> default: (Reading database ...
==> default: 37423 files and directories currently installed.)
==> default: Unpacking chef (from .../chef_11.16.2-1_amd64.deb) ...
==> default: Setting up chef (11.16.2-1) ...
==> default: Thank you for installing Chef!
==> default: Running provisioner: chef_solo...
Generating chef JSON and uploading...
==> default: Running chef-solo...
==> default: stdin: is not a tty
==> default: [2014-09-23T19:05:50+00:00] INFO: Forking chef instance to converge...
==> default: [2014-09-23T19:05:50+00:00] INFO: *** Chef 11.16.2 ***
==> default: [2014-09-23T19:05:50+00:00] INFO: Chef-client pid: 6130
==> default: [2014-09-23T19:05:58+00:00] INFO: Setting the run_list to ["recipe[java]", "recipe[mimdw]"] from CLI options
==> default: [2014-09-23T19:05:58+00:00] INFO: Run List is [recipe[java], recipe[mimdw]]
==> default: [2014-09-23T19:05:58+00:00] INFO: Run List expands to [java, mimdw]
==> default: [2014-09-23T19:05:58+00:00] INFO: Starting Chef Run for mi-mdw
==> default: [2014-09-23T19:05:58+00:00] INFO: Running start handlers
==> default: [2014-09-23T19:05:58+00:00] INFO: Start handlers complete.
==> default: [2014-09-23T19:05:59+00:00] INFO: ruby_block[set-env-java-home] called
==> default: [2014-09-23T19:05:59+00:00] INFO: file[/etc/profile.d/jdk.sh] created file /etc/profile.d/jdk.sh
==> default: [2014-09-23T19:05:59+00:00] INFO: file[/etc/profile.d/jdk.sh] updated file contents /etc/profile.d/jdk.sh
==> default: [2014-09-23T19:05:59+00:00] INFO: file[/etc/profile.d/jdk.sh] mode changed to 755
==> default: [2014-09-23T19:05:59+00:00] INFO: Adding jdk to /usr/lib/jvm/jdk1.8.0_20
==> default:
==> default: ================================================================================
==> default: Error executing action install
on resource 'java_ark[jdk]'
==> default: ================================================================================
==> default:
==> default:
==> default: Mixlib::ShellOut::CommandTimeout
==> default: --------------------------------
==> default: Command timed out after 600s:
==> default:
==> default: Command execeded allowed execution time, process terminated
==> default:
==> default: ---- Begin output of curl --create-dirs -L --retry 0 --retry-delay 2 --cookie "oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u20-b26/jdk-8u20-linux-x64.tar.gz -o /var/chef/cache/jdk-8u20-linux-x64.tar.gz ----
==> default:
==> default: STDOUT:
==> default:
==> default: STDERR: % Total % Received % Xferd Average Speed Time Time Time Current
==> default:
==> default: Dload Upload Total Spent Left Speed
==> default:
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0
==> default:
0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0
==> default:
21 153M 21 32.6M 0 0 156k 0 0:16:43 0:03:32 0:13:11 130k
38 153M 38 58.4M 0 0 142k 0 0:18:24 0:07:59 0:11:24 55617
52 153M 51 79.2M 0 0 129k 0 0:20:15 0:10:27 0:09:48 467k
57 153M 57 88.3M 0 0 140k 0 0:18:34 0:10:41 0:07:53 760k
==> default:
==> default: ---- End output of curl --create-dirs -L --retry 0 --retry-delay 2 --cookie "oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u20-b26/jdk-8u20-linux-x64.tar.gz -o /var/chef/cache/jdk-8u20-linux-x64.tar.gz ----
==> default:
==> default: Ran curl --create-dirs -L --retry 0 --retry-delay 2 --cookie "oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u20-b26/jdk-8u20-linux-x64.tar.gz -o /var/chef/cache/jdk-8u20-linux-x64.tar.gz returned
==> default:
==> default:
==> default: Cookbook Trace:
==> default: ---------------
==> default: /tmp/vagrant-chef-3/chef-solo-1/cookbooks/java/providers/ark.rb:81:in block in download_direct_from_oracle' ==> default: ==> default: /tmp/vagrant-chef-3/chef-solo-1/cookbooks/java/providers/ark.rb:78:in
download_direct_from_oracle'
==> default:
==> default: /tmp/vagrant-chef-3/chef-solo-1/cookbooks/java/providers/ark.rb:124:in block in class_from_file' ==> default: ==> default: ==> default: Resource Declaration: ==> default: --------------------- ==> default: # In /tmp/vagrant-chef-3/chef-solo-1/cookbooks/java/recipes/oracle.rb ==> default: ==> default: ==> default: ==> default: 53: java_ark "jdk" do ==> default: ==> default: 54: url tarball_url ==> default: ==> default: 55: default node['java']['set_default'] ==> default: ==> default: 56: checksum tarball_checksum ==> default: ==> default: 57: app_home java_home ==> default: ==> default: 58: bin_cmds bin_cmds ==> default: ==> default: 59: alternatives_priority node['java']['alternatives_priority'] ==> default: ==> default: 60: retries node['java']['ark_retries'] ==> default: ==> default: 61: retry_delay node['java']['ark_retry_delay'] ==> default: ==> default: 62: action :install ==> default: ==> default: 63: end ==> default: ==> default: 64: ==> default: ==> default: ==> default: ==> default: Compiled Resource: ==> default: ------------------ ==> default: # Declared in /tmp/vagrant-chef-3/chef-solo-1/cookbooks/java/recipes/oracle.rb:53:in
from_file'
==> default:
==> default:
==> default:
==> default: java_ark("jdk") do
==> default:
==> default: action [:install]
==> default:
==> default: supports {:report=>true, :exception=>true}
==> default:
==> default: retries 0
==> default:
==> default: retry_delay 2
==> default:
==> default: guard_interpreter :default
==> default:
==> default: cookbook_name :java
==> default:
==> default: recipe_name "oracle"
==> default:
==> default: url "http://download.oracle.com/otn-pub/java/jdk/8u20-b26/jdk-8u20-linux-x64.tar.gz"
==> default:
==> default: default true
==> default:
==> default: checksum "ec7f89dc3697b402e2c851d0488f6299"
==> default:
==> default: app_home "/usr/lib/jvm/java-8-oracle-amd64"
==> default:
==> default: bin_cmds ["appletviewer", "apt", "ControlPanel", "extcheck", "idlj", "jar", "jarsigner", "java", "javac", "javadoc", "javafxpackager", "javah", "javap", "javaws", "jcmd", "jconsole", "jcontrol", "jdb", "jdeps", "jhat", "jinfo", "jjs", "jmap", "jmc", "jps", "jrunscript", "jsadebugd", "jstack", "jstat", "jstatd", "jvisualvm", "keytool", "native2ascii", "orbd", "pack200", "policytool", "rmic", "rmid", "rmiregistry", "schemagen", "serialver", "servertool", "tnameserv", "unpack200", "wsgen", "wsimport", "xjc"]
==> default:
==> default: alternatives_priority 1062
==> default:
==> default: owner "root"
==> default:
==> default: app_home_mode 493
==> default:
==> default: end
==> default:
==> default:
==> default:
==> default: [2014-09-23T19:16:44+00:00] INFO: Running queued delayed notifications before re-raising exception
==> default: [2014-09-23T19:16:44+00:00] ERROR: Running exception handlers
==> default: [2014-09-23T19:16:44+00:00] ERROR: Exception handlers complete
==> default: [2014-09-23T19:16:44+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: [2014-09-23T19:16:44+00:00] ERROR: java_ark[jdk](java::oracle line 53) had an error: Mixlib::ShellOut::CommandTimeout: Command timed out after 600s:
==> default: Command execeded allowed execution time, process terminated
==> default: ---- Begin output of curl --create-dirs -L --retry 0 --retry-delay 2 --cookie "oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u20-b26/jdk-8u20-linux-x64.tar.gz -o /var/chef/cache/jdk-8u20-linux-x64.tar.gz ----
==> default: STDOUT:
==> default: STDERR: % Total % Received % Xferd Average Speed Time Time Time Current
==> default: Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0
20 153M 20 31.1M 0 0 156k 0 0:16:44 0:03:21 0:13:23 137k
37 153M 37 57.4M 0 0 143k 0 0:18:14 0:06:49 0:11:25 108k
48 153M 48 74.3M 0 0 123k 0 0:21:13 0:10:16 0:10:57 430k
57 153M 57 88.3M 0 0 140k 0 0:18:34 0:10:41 0:07:53 760k 470k
==> default: ---- End output of curl --create-dirs -L --retry 0 --retry-delay 2 --cookie "oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u20-b26/jdk-8u20-linux-x64.tar.gz -o /var/chef/cache/jdk-8u20-linux-x64.tar.gz ----
==> default: Ran curl --create-dirs -L --retry 0 --retry-delay 2 --cookie "oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u20-b26/jdk-8u20-linux-x64.tar.gz -o /var/chef/cache/jdk-8u20-linux-x64.tar.gz returned
==> default: [2014-09-23T19:16:45+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.