Open bordeo opened 9 years ago
I experienced this as well. Basically I had to hand-install mysql and re-run the provision script. It may have something to do with SSL certs. Whatever is providing MySQL i think is throwing a cert error. Or near as I can tell. Its also possible that i've conflated the issue with some other issue chef is having with the cert, but my install failed at the same place.
Here's a portion of the chef log:
[2015-04-14T21:16:09+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out [2015-04-14T21:16:09+00:00] ERROR: I cannot read /etc/chef/validation.pem, which you told me to use to sign requests! [2015-04-14T21:16:09+00:00] ERROR: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) [2015-04-14T21:16:09+00:00] ERROR: Sleeping for 1800 seconds before trying again [2015-04-14T21:46:16+00:00] INFO: Forking chef instance to converge... [2015-04-14T21:46:16+00:00] INFO: * Chef 11.8.2 * [2015-04-14T21:46:16+00:00] INFO: Chef-client pid: 18015 [2015-04-14T21:46:16+00:00] INFO: Client key /etc/chef/client.pem is not present - registering [2015-04-14T21:46:16+00:00] WARN: Failed to read the private key /etc/chef/validation.pem: #<Errno::ENOENT: No such file or directory - /etc/chef/validation.pem> [2015-04-14T21:46:16+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out [2015-04-14T21:46:16+00:00] ERROR: I cannot read /etc/chef/validation.pem, which you told me to use to sign requests! [2015-04-14T21:46:16+00:00] ERROR: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) [2015-04-14T21:46:16+00:00] ERROR: Sleeping for 1800 seconds before trying again [2015-04-14T21:55:16+00:00] INFO: Daemonizing.. [2015-04-14T21:55:17+00:00] INFO: Forked, in 1544. Privileges: 0 0 [2015-04-14T22:25:18+00:00] INFO: Forking chef instance to converge... [2015-04-14T22:25:18+00:00] INFO: * Chef 12.0.3 * [2015-04-14T22:25:18+00:00] INFO: Chef-client pid: 1708 [2015-04-14T22:25:25+00:00] INFO: Client key /etc/chef/client.pem is not present - registering [2015-04-14T22:25:25+00:00] WARN: Failed to read the private key /etc/chef/validation.pem: #<Errno::ENOENT: No such file or directory @ rb_sysopen - /etc/chef/validation.pem>
Hi Fabrizio,
I am getting following error while setting up vagrant box. I am trying on windows 7 as host system.
Error executing action upgrade
on resource 'apt_package[mysql-server-5.6]'
==> default: ---------------
==> default: Running Chef...
==> default: ---------------
==> default: [2015-05-24T20:05:24+00:00] INFO: Forking chef instance to converge...
==> default: [2015-05-24T20:05:24+00:00] INFO: *** Chef 12.0.3 ***
==> default: [2015-05-24T20:05:24+00:00] INFO: Chef-client pid: 4356
==> default: [2015-05-24T20:05:27+00:00] INFO: Setting the run_list to ["recipe[devbox::default]", "recipe[devbox::motd]", "recipe[devbox::hostsfile]"] from CLI options
==> default: [2015-05-24T20:05:27+00:00] INFO: Run List is [recipe[devbox::default], recipe[devbox::motd], recipe[devbox::hostsfile]]
==> default: [2015-05-24T20:05:27+00:00] INFO: Run List expands to [devbox::default, devbox::motd, devbox::hostsfile]
==> default: [2015-05-24T20:05:27+00:00] INFO: Starting Chef Run for vagrant-ubuntu-trusty-64
==> default: [2015-05-24T20:05:27+00:00] INFO: Running start handlers
==> default: [2015-05-24T20:05:27+00:00] INFO: Start handlers complete.
==> default: [2015-05-24T20:05:27+00:00] WARN: Cloning resource attributes for package[php5-gd] from prior resource (CHEF-3694)
==> default: [2015-05-24T20:05:27+00:00] WARN: Previous apt_package[php5-gd]: /etc/chef-devbox/cookbooks/devbox/recipes/default.rb:3:in `block in from_file'
==> default: [2015-05-24T20:05:27+00:00] WARN: Current apt_package[php5-gd]: /etc/chef-devbox/cookbooks/devbox/recipes/default.rb:3:in `block in from_file'
==> default: [2015-05-24T20:05:27+00:00] WARN: Cloning resource attributes for package[unzip] from prior resource (CHEF-3694)
==> default: [2015-05-24T20:05:27+00:00] WARN: Previous apt_package[unzip]: /etc/chef-devbox/cookbooks/devbox/recipes/default.rb:3:in `block in from_file'
==> default: [2015-05-24T20:05:27+00:00] WARN: Current apt_package[unzip]: /etc/chef-devbox/cookbooks/devbox/recipes/awscli.rb:1:in `from_file'
==> default: [2015-05-24T20:05:27+00:00] INFO: Preparing Magento instances
==> default: [2015-05-24T20:05:27+00:00] WARN: Cloning resource attributes for group[systemstorage] from prior resource (CHEF-3694)
==> default: [2015-05-24T20:05:27+00:00] WARN: Previous group[systemstorage]: /etc/chef-devbox/cookbooks/devbox/recipes/instances.rb:7:in `from_file'
==> default: [2015-05-24T20:05:27+00:00] WARN: Current group[systemstorage]: /etc/chef-devbox/cookbooks/devbox/recipes/users_groups.rb:6:in `block in from_file'
==> default: [2015-05-24T20:05:27+00:00] INFO: Writing motd
==> default: [2015-05-24T20:05:27+00:00] INFO: Writing hosts file
==> default: [2015-05-24T20:05:27+00:00] INFO: Processing apt_package[unzip] action upgrade (devbox::default line 3)
==> default: [2015-05-24T20:05:38+00:00] INFO: apt_package[unzip] upgraded from uninstalled to 6.0-9ubuntu1.3
==> default: [2015-05-24T20:05:38+00:00] INFO: Processing apt_package[graphicsmagick] action upgrade (devbox::default line 3)
==> default: [2015-05-24T20:07:20+00:00] INFO: apt_package[graphicsmagick] upgraded from uninstalled to 1.3.18-1ubuntu3
==> default: [2015-05-24T20:07:20+00:00] INFO: Processing apt_package[jq] action upgrade (devbox::default line 3)
==> default: [2015-05-24T20:07:23+00:00] INFO: apt_package[jq] upgraded from uninstalled to 1.3-1.1ubuntu1
==> default: [2015-05-24T20:07:23+00:00] INFO: Processing apt_package[tig] action upgrade (devbox::default line 3)
==> default: [2015-05-24T20:07:28+00:00] INFO: apt_package[tig] upgraded from uninstalled to 1.2.1-1
==> default: [2015-05-24T20:07:28+00:00] INFO: Processing apt_package[git] action upgrade (devbox::default line 3)
==> default: [2015-05-24T20:07:28+00:00] INFO: Processing apt_package[apache2] action upgrade (devbox::default line 3)
==> default: [2015-05-24T20:07:51+00:00] INFO: apt_package[apache2] upgraded from uninstalled to 2.4.7-1ubuntu4.4
==> default: [2015-05-24T20:07:51+00:00] INFO: Processing apt_package[mysql-server-5.6] action upgrade (devbox::default line 3)
==> default:
==> default: ================================================================================
==> default: Error executing action `upgrade` on resource 'apt_package[mysql-server-5.6]'
==> default: ================================================================================
==> default:
==> default: Mixlib::ShellOut::ShellCommandFailed
==> default: ------------------------------------
==> default: Expected process to exit with [0], but received '100'
==> default: ---- Begin output of apt-get -q -y install mysql-server-5.6=5.6.19-0ubuntu0.14.04.1 ----
==> default: STDOUT: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: The following extra packages will be installed:
==> default: libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
==> default: libterm-readkey-perl mysql-client-5.6 mysql-client-core-5.6 mysql-common
==> default: mysql-common-5.6 mysql-server-core-5.6
==> default: Suggested packages:
==> default: libclone-perl libmldbm-perl libnet-daemon-perl libplrpc-perl
==> default: libsql-statement-perl libipc-sharedcache-perl mailx tinyca
==> default: The following NEW packages will be installed:
==> default: libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
==> default: libterm-readkey-perl mysql-client-5.6 mysql-client-core-5.6 mysql-common
==> default: mysql-common-5.6 mysql-server-5.6 mysql-server-core-5.6
==> default: 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
==> default: Need to get 21.5 MB of archives.
==> default: After this operation, 165 MB of additional disk space will be used.
==> default: Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libaio1 amd64 0.3.109-4 [6,364 B]
==> default: Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-common all 5.5.43-0ubuntu0.14.04.1 [13.8 kB]
==> default: Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libmysqlclient18 amd64 5.5.43-0ubuntu0.14.04.1 [596 kB]
==> default: Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main libdbi-perl amd64 1.630-1 [879 kB]
==> default: Get:5 http://archive.ubuntu.com/ubuntu/ trusty/main libdbd-mysql-perl amd64 4.025-1 [99.3 kB]
==> default: Get:6 http://archive.ubuntu.com/ubuntu/ trusty/main libterm-readkey-perl amd64 2.31-1 [27.4 kB]
==> default: Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-client-core-5.6 amd64 5.6.19-0ubuntu0.14.04.1 [4,081 kB]
==> default: Get:8 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-client-5.6 amd64 5.6.19-0ubuntu0.14.04.1 [5,526 kB]
==> default: Get:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-server-core-5.6 amd64 5.6.19-0ubuntu0.14.04.1 [4,761 kB]
==> default: Get:10 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-server-5.6 amd64 5.6.19-0ubuntu0.14.04.1 [5,452 kB]
==> default: Get:11 http://archive.ubuntu.com/ubuntu/ trusty/main libhtml-template-perl all 2.95-1 [65.5 kB]
==> default: Get:12 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-common-5.6 all 5.6.19-0ubuntu0.14.04.1 [15.0 kB]
==> default: Preconfiguring packages ...
==> default: Fetched 21.5 MB in 2min 17s (157 kB/s)
==> default: Selecting previously unselected package libaio1:amd64.
==> default: (Reading database ... 106329 files and directories currently installed.)
==> default: Preparing to unpack .../libaio1_0.3.109-4_amd64.deb ...
==> default: Unpacking libaio1:amd64 (0.3.109-4) ...
==> default: Selecting previously unselected package mysql-common.
==> default: Preparing to unpack .../mysql-common_5.5.43-0ubuntu0.14.04.1_all.deb ...
==> default: Unpacking mysql-common (5.5.43-0ubuntu0.14.04.1) ...
==> default: Selecting previously unselected package libmysqlclient18:amd64.
==> default: Preparing to unpack .../libmysqlclient18_5.5.43-0ubuntu0.14.04.1_amd64.deb ...
==> default: Unpacking libmysqlclient18:amd64 (5.5.43-0ubuntu0.14.04.1) ...
==> default: Selecting previously unselected package libdbi-perl.
==> default: Preparing to unpack .../libdbi-perl_1.630-1_amd64.deb ...
==> default: Unpacking libdbi-perl (1.630-1) ...
==> default: Selecting previously unselected package libdbd-mysql-perl.
==> default: Preparing to unpack .../libdbd-mysql-perl_4.025-1_amd64.deb ...
==> default: Unpacking libdbd-mysql-perl (4.025-1) ...
==> default: Selecting previously unselected package libterm-readkey-perl.
==> default: Preparing to unpack .../libterm-readkey-perl_2.31-1_amd64.deb ...
==> default: Unpacking libterm-readkey-perl (2.31-1) ...
==> default: Selecting previously unselected package mysql-client-core-5.6.
==> default: Preparing to unpack .../mysql-client-core-5.6_5.6.19-0ubuntu0.14.04.1_amd64.deb ...
==> default: Unpacking mysql-client-core-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Selecting previously unselected package mysql-client-5.6.
==> default: Preparing to unpack .../mysql-client-5.6_5.6.19-0ubuntu0.14.04.1_amd64.deb ...
==> default: Unpacking mysql-client-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Selecting previously unselected package mysql-server-core-5.6.
==> default: Preparing to unpack .../mysql-server-core-5.6_5.6.19-0ubuntu0.14.04.1_amd64.deb ...
==> default: Unpacking mysql-server-core-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
==> default: Setting up mysql-common (5.5.43-0ubuntu0.14.04.1) ...
==> default: Selecting previously unselected package mysql-server-5.6.
==> default: (Reading database ... 106701 files and directories currently installed.)
==> default: Preparing to unpack .../mysql-server-5.6_5.6.19-0ubuntu0.14.04.1_amd64.deb ...
==> default: Unpacking mysql-server-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Selecting previously unselected package libhtml-template-perl.
==> default: Preparing to unpack .../libhtml-template-perl_2.95-1_all.deb ...
==> default: Unpacking libhtml-template-perl (2.95-1) ...
==> default: Selecting previously unselected package mysql-common-5.6.
==> default: Preparing to unpack .../mysql-common-5.6_5.6.19-0ubuntu0.14.04.1_all.deb ...
==> default: Unpacking mysql-common-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
==> default: Processing triggers for ureadahead (0.100.0-16) ...
==> default: Setting up libaio1:amd64 (0.3.109-4) ...
==> default: Setting up libmysqlclient18:amd64 (5.5.43-0ubuntu0.14.04.1) ...
==> default: Setting up libdbi-perl (1.630-1) ...
==> default: Setting up libdbd-mysql-perl (4.025-1) ...
==> default: Setting up libterm-readkey-perl (2.31-1) ...
==> default: Setting up mysql-client-core-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Setting up mysql-client-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Setting up mysql-server-core-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Setting up mysql-server-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Setting up libhtml-template-perl (2.95-1) ...
==> default: Setting up mysql-common-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
==> default: Processing triggers for ureadahead (0.100.0-16) ...
==> default: STDERR: start: Job failed to start
==> default: invoke-rc.d: initscript mysql, action "start" failed.
==> default: dpkg: error processing package mysql-server-5.6 (--configure):
==> default: subprocess installed post-installation script returned error exit status 1
==> default: Errors were encountered while processing:
==> default: mysql-server-5.6
==> default: E: Sub-process /usr/bin/dpkg returned an error code (1)
==> default: ---- End output of apt-get -q -y install mysql-server-5.6=5.6.19-0ubuntu0.14.04.1 ----
==> default: Ran apt-get -q -y install mysql-server-5.6=5.6.19-0ubuntu0.14.04.1 returned 100
==> default:
==> default: Resource Declaration:
==> default: ---------------------
==> default: # In /etc/chef-devbox/cookbooks/devbox/recipes/default.rb
==> default:
==> default: 3: package pkg do
==> default: 4: action :upgrade
==> default: 5: end
==> default: 6: end
==> default:
==> default: Compiled Resource:
==> default: ------------------
==> default: # Declared in /etc/chef-devbox/cookbooks/devbox/recipes/default.rb:3:in `block in from_file'
==> default:
==> default: apt_package("mysql-server-5.6") do
==> default: action [:upgrade]
==> default: retries 0
==> default: retry_delay 2
==> default: default_guard_interpreter :default
==> default: package_name "mysql-server-5.6"
==> default: version "5.6.19-0ubuntu0.14.04.1"
==> default: timeout 900
==> default: declared_type :package
==> default: cookbook_name :devbox
==> default: recipe_name "default"
==> default: end
==> default:
==> default: [2015-05-24T20:10:33+00:00] INFO: Running queued delayed notifications before re-raising exception
==> default: [2015-05-24T20:10:33+00:00] ERROR: Running exception handlers
==> default: [2015-05-24T20:10:33+00:00] ERROR: Exception handlers complete
==> default: [2015-05-24T20:10:33+00:00] FATAL: Stacktrace dumped to /etc/chef-devbox/chef-stacktrace.out
==> default: [2015-05-24T20:10:33+00:00] ERROR: apt_package[mysql-server-5.6] (devbox::default line 3) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
==> default: ---- Begin output of apt-get -q -y install mysql-server-5.6=5.6.19-0ubuntu0.14.04.1 ----
==> default: STDOUT: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: The following extra packages will be installed:
==> default: libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
==> default: libterm-readkey-perl mysql-client-5.6 mysql-client-core-5.6 mysql-common
==> default: mysql-common-5.6 mysql-server-core-5.6
==> default: Suggested packages:
==> default: libclone-perl libmldbm-perl libnet-daemon-perl libplrpc-perl
==> default: libsql-statement-perl libipc-sharedcache-perl mailx tinyca
==> default: The following NEW packages will be installed:
==> default: libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
==> default: libterm-readkey-perl mysql-client-5.6 mysql-client-core-5.6 mysql-common
==> default: mysql-common-5.6 mysql-server-5.6 mysql-server-core-5.6
==> default: 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
==> default: Need to get 21.5 MB of archives.
==> default: After this operation, 165 MB of additional disk space will be used.
==> default: Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libaio1 amd64 0.3.109-4 [6,364 B]
==> default: Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-common all 5.5.43-0ubuntu0.14.04.1 [13.8 kB]
==> default: Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libmysqlclient18 amd64 5.5.43-0ubuntu0.14.04.1 [596 kB]
==> default: Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main libdbi-perl amd64 1.630-1 [879 kB]
==> default: Get:5 http://archive.ubuntu.com/ubuntu/ trusty/main libdbd-mysql-perl amd64 4.025-1 [99.3 kB]
==> default: Get:6 http://archive.ubuntu.com/ubuntu/ trusty/main libterm-readkey-perl amd64 2.31-1 [27.4 kB]
==> default: Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-client-core-5.6 amd64 5.6.19-0ubuntu0.14.04.1 [4,081 kB]
==> default: Get:8 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-client-5.6 amd64 5.6.19-0ubuntu0.14.04.1 [5,526 kB]
==> default: Get:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-server-core-5.6 amd64 5.6.19-0ubuntu0.14.04.1 [4,761 kB]
==> default: Get:10 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-server-5.6 amd64 5.6.19-0ubuntu0.14.04.1 [5,452 kB]
==> default: Get:11 http://archive.ubuntu.com/ubuntu/ trusty/main libhtml-template-perl all 2.95-1 [65.5 kB]
==> default: Get:12 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-common-5.6 all 5.6.19-0ubuntu0.14.04.1 [15.0 kB]
==> default: Preconfiguring packages ...
==> default: Fetched 21.5 MB in 2min 17s (157 kB/s)
==> default: Selecting previously unselected package libaio1:amd64.
==> default: (Reading database ... 106329 files and directories currently installed.)
==> default: Preparing to unpack .../libaio1_0.3.109-4_amd64.deb ...
==> default: Unpacking libaio1:amd64 (0.3.109-4) ...
==> default: Selecting previously unselected package mysql-common.
==> default: Preparing to unpack .../mysql-common_5.5.43-0ubuntu0.14.04.1_all.deb ...
==> default: Unpacking mysql-common (5.5.43-0ubuntu0.14.04.1) ...
==> default: Selecting previously unselected package libmysqlclient18:amd64.
==> default: Preparing to unpack .../libmysqlclient18_5.5.43-0ubuntu0.14.04.1_amd64.deb ...
==> default: Unpacking libmysqlclient18:amd64 (5.5.43-0ubuntu0.14.04.1) ...
==> default: Selecting previously unselected package libdbi-perl.
==> default: Preparing to unpack .../libdbi-perl_1.630-1_amd64.deb ...
==> default: Unpacking libdbi-perl (1.630-1) ...
==> default: Selecting previously unselected package libdbd-mysql-perl.
==> default: Preparing to unpack .../libdbd-mysql-perl_4.025-1_amd64.deb ...
==> default: Unpacking libdbd-mysql-perl (4.025-1) ...
==> default: Selecting previously unselected package libterm-readkey-perl.
==> default: Preparing to unpack .../libterm-readkey-perl_2.31-1_amd64.deb ...
==> default: Unpacking libterm-readkey-perl (2.31-1) ...
==> default: Selecting previously unselected package mysql-client-core-5.6.
==> default: Preparing to unpack .../mysql-client-core-5.6_5.6.19-0ubuntu0.14.04.1_amd64.deb ...
==> default: Unpacking mysql-client-core-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Selecting previously unselected package mysql-client-5.6.
==> default: Preparing to unpack .../mysql-client-5.6_5.6.19-0ubuntu0.14.04.1_amd64.deb ...
==> default: Unpacking mysql-client-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Selecting previously unselected package mysql-server-core-5.6.
==> default: Preparing to unpack .../mysql-server-core-5.6_5.6.19-0ubuntu0.14.04.1_amd64.deb ...
==> default: Unpacking mysql-server-core-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
==> default: Setting up mysql-common (5.5.43-0ubuntu0.14.04.1) ...
==> default: Selecting previously unselected package mysql-server-5.6.
==> default: (Reading database ... 106701 files and directories currently installed.)
==> default: Preparing to unpack .../mysql-server-5.6_5.6.19-0ubuntu0.14.04.1_amd64.deb ...
==> default: Unpacking mysql-server-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Selecting previously unselected package libhtml-template-perl.
==> default: Preparing to unpack .../libhtml-template-perl_2.95-1_all.deb ...
==> default: Unpacking libhtml-template-perl (2.95-1) ...
==> default: Selecting previously unselected package mysql-common-5.6.
==> default: Preparing to unpack .../mysql-common-5.6_5.6.19-0ubuntu0.14.04.1_all.deb ...
==> default: Unpacking mysql-common-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
==> default: Processing triggers for ureadahead (0.100.0-16) ...
==> default: Setting up libaio1:amd64 (0.3.109-4) ...
==> default: Setting up libmysqlclient18:amd64 (5.5.43-0ubuntu0.14.04.1) ...
==> default: Setting up libdbi-perl (1.630-1) ...
==> default: Setting up libdbd-mysql-perl (4.025-1) ...
==> default: Setting up libterm-readkey-perl (2.31-1) ...
==> default: Setting up mysql-client-core-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Setting up mysql-client-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Setting up mysql-server-core-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Setting up mysql-server-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Setting up libhtml-template-perl (2.95-1) ...
==> default: Setting up mysql-common-5.6 (5.6.19-0ubuntu0.14.04.1) ...
==> default: Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
==> default: Processing triggers for ureadahead (0.100.0-16) ...
==> default: STDERR: start: Job failed to start
==> default: invoke-rc.d: initscript mysql, action "start" failed.
==> default: dpkg: error processing package mysql-server-5.6 (--configure):
==> default: subprocess installed post-installation script returned error exit status 1
==> default: Errors were encountered while processing:
==> default: mysql-server-5.6
==> default: E: Sub-process /usr/bin/dpkg returned an error code (1)
==> default: ---- End output of apt-get -q -y install mysql-server-5.6=5.6.19-0ubuntu0.14.04.1 ----
==> default: Ran apt-get -q -y install mysql-server-5.6=5.6.19-0ubuntu0.14.04.1 returned 100
==> default: [2015-05-24T20:10:34+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
==> default: Chef provsioning failed
==> default: Chef provisioning failed
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
Try increasing the memory allocated to the VM
I increased the memory from 512 MB to 1024 MB of my unibox. Should I do vagrant up again?
Hi @vishalcode,
simply run vagrant reload
after adding updating the memory settings to Vagrantfile
and the memory should be automatically adjusted. Let us know if this doesn't fix the problem you were having in the first place.
Btw, I've also added this default setting to the repo now: https://github.com/AOEpeople/chef-devbox/commit/0b827931692119c5babe9e123e0a2f7dc8170305
Cheers, Fabrizio
Hi Fabrizio i'm tryng to run vagrant but i stop on this problem during chef provisioning running both on osx and ubuntu 14.04, i tried many times.
What problem can be?