Created
December 6, 2013 16:27
-
-
Save dsdobrzynski/7827680 to your computer and use it in GitHub Desktop.
IJF Vagrant Up Postfix Error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vagrant up | |
| Bringing machine 'default' up with 'virtualbox' provider... | |
| [default] Importing base box 'wheezy'... | |
| [default] Matching MAC address for NAT networking... | |
| [default] Setting the name of the VM... | |
| [default] Clearing any previously set forwarded ports... | |
| [Berkshelf] This version of the Berkshelf plugin has not been fully tested on this version of Vagrant. | |
| [Berkshelf] You should check for a newer version of vagrant-berkshelf. | |
| [Berkshelf] If you encounter any errors with this version, please report them at https://github.com/RiotGames/vagrant-berkshelf/issues | |
| [Berkshelf] You can also join the discussion in #berkshelf on Freenode. | |
| [Berkshelf] Updating Vagrant's berkshelf: '/Users/dsdobrzynski/.berkshelf/default/vagrant/berkshelf-20131206-16918-7do930-default' | |
| [Berkshelf] Installing drupal (0.1.1) from git: '[email protected]:promet/drupal_cookbook' with branch: 'master' at ref: 'e50c113ead4b1ac6a869f3803fbe32313178a4c6' | |
| [Berkshelf] Installing promet_php (0.1.0) from git: '[email protected]:promet/promet_php-cookbook' with branch: 'master' at ref: '137db79d3b1cb8d03ba803db21adf0ea77436420' | |
| [Berkshelf] Installing solo-helper (0.0.1) from git: 'https://github.com/glennpratt/solo-helper_cookbook.git' with branch: 'master' at ref: '183b6e411c930ac8e7c638ad3cb10cae6a8af8fc' | |
| [Berkshelf] Installing apache2 (1.8.4) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks' | |
| [Berkshelf] Using ark (0.3.0) | |
| [Berkshelf] Using database (1.4.0) | |
| [Berkshelf] Using mysql (4.0.6) | |
| [Berkshelf] Using openssl (1.1.0) | |
| [Berkshelf] Using build-essential (1.4.0) | |
| [Berkshelf] Using postgresql (3.0.2) | |
| [Berkshelf] Using apt (2.0.0) | |
| [Berkshelf] Using aws (0.101.2) | |
| [Berkshelf] Using xfs (1.1.0) | |
| [Berkshelf] Using git (2.5.2) | |
| [Berkshelf] Using dmg (1.1.0) | |
| [Berkshelf] Using yum (2.3.0) | |
| [Berkshelf] Using windows (1.10.0) | |
| [Berkshelf] Using chef_handler (1.1.4) | |
| [Berkshelf] Using runit (1.1.6) | |
| [Berkshelf] Using hostsfile (1.0.2) | |
| [Berkshelf] Using memcached (1.4.0) | |
| [Berkshelf] Installing php (1.2.6) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks' | |
| [Berkshelf] Using xml (1.1.2) | |
| [Berkshelf] Using postfix (3.0.2) | |
| Pruning invalid NFS exports. Administrator privileges will be required... | |
| [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 'pre-boot' VM customizations... | |
| [default] Booting VM... | |
| [default] Waiting for machine to boot. This may take a few minutes... | |
| [default] Machine booted and ready! | |
| [default] The guest additions on this VM do not match the installed version of | |
| VirtualBox! In most cases this is fine, but in rare cases it can | |
| cause things such as shared folders to not work properly. If you see | |
| shared folder errors, please update the guest additions within the | |
| virtual machine and reload your VM. | |
| Guest Additions Version: 4.2.16 | |
| VirtualBox Version: 4.3 | |
| [default] Configuring and enabling network interfaces... | |
| [default] Mounting shared folders... | |
| [default] -- /vagrant | |
| [default] -- /tmp/vagrant-chef-1/chef-solo-1/cookbooks | |
| [default] Exporting NFS shared folders... | |
| Preparing to edit /etc/exports. Administrator privileges will be required... | |
| [default] Mounting NFS shared folders... | |
| [default] Installing Chef 11.8.2 Omnibus package... | |
| [default] Downloading Chef 11.8.2 for debian... | |
| [default] Installing Chef 11.8.2 | |
| [default] Selecting previously unselected package chef. | |
| [default] (Reading database ... | |
| [default] 37425 files and directories currently installed.) | |
| [default] Unpacking chef (from .../chef_11.8.2_amd64.deb) ... | |
| [default] Setting up chef (11.8.2-1.debian.6.0.5) ... | |
| [default] Thank you for installing Chef! | |
| [default] Running provisioner: chef_solo... | |
| Generating chef JSON and uploading... | |
| Running chef-solo... | |
| stdin: is not a tty | |
| [2013-12-06T16:12:09+00:00] INFO: Forking chef instance to converge... | |
| [2013-12-06T16:12:11+00:00] INFO: *** Chef 11.8.2 *** | |
| [2013-12-06T16:12:11+00:00] INFO: Chef-client pid: 2876 | |
| [2013-12-06T16:12:11+00:00] INFO: Setting the run_list to ["recipe[solo-helper]", "recipe[drupal::default]", "recipe[drupal::node_sites]", "recipe[drupal::drush]", "recipe[promet_php::apache2]"] from JSON | |
| [2013-12-06T16:12:11+00:00] INFO: Run List is [recipe[solo-helper], recipe[drupal::default], recipe[drupal::node_sites], recipe[drupal::drush], recipe[promet_php::apache2]] | |
| [2013-12-06T16:12:11+00:00] INFO: Run List expands to [solo-helper, drupal::default, drupal::node_sites, drupal::drush, promet_php::apache2] | |
| [2013-12-06T16:12:11+00:00] INFO: Starting Chef Run for debian-7.1.0 | |
| [2013-12-06T16:12:11+00:00] INFO: Running start handlers | |
| [2013-12-06T16:12:11+00:00] INFO: Start handlers complete. | |
| [2013-12-06T16:12:13+00:00] WARN: Cloning resource attributes for service[apache2] from prior resource (CHEF-3694) | |
| [2013-12-06T16:12:13+00:00] WARN: Previous service[apache2]: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apache2/recipes/default.rb:24:in `from_file' | |
| [2013-12-06T16:12:13+00:00] WARN: Current service[apache2]: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apache2/recipes/default.rb:210:in `from_file' | |
| [2013-12-06T16:12:29+00:00] INFO: execute[apt-get-update-build-essentials] ran successfully | |
| [2013-12-06T16:13:43+00:00] WARN: Cloning resource attributes for directory[/var/lib/mysql] from prior resource (CHEF-3694) | |
| [2013-12-06T16:13:43+00:00] WARN: Previous directory[/var/lib/mysql]: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/mysql/recipes/_server_debian.rb:34:in `block in from_file' | |
| [2013-12-06T16:13:43+00:00] WARN: Current directory[/var/lib/mysql]: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/mysql/recipes/_server_debian.rb:70:in `from_file' | |
| [2013-12-06T16:13:43+00:00] WARN: Cloning resource attributes for package[autoconf] from prior resource (CHEF-3694) | |
| [2013-12-06T16:13:43+00:00] WARN: Previous package[autoconf]: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/debian.rb:40:in `block in from_file' | |
| [2013-12-06T16:13:43+00:00] WARN: Current package[autoconf]: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/ark/recipes/default.rb:25:in `from_file' | |
| [2013-12-06T16:14:01+00:00] INFO: Running queued delayed notifications before re-raising exception | |
| [2013-12-06T16:14:01+00:00] ERROR: Running exception handlers | |
| [2013-12-06T16:14:01+00:00] ERROR: Exception handlers complete | |
| [2013-12-06T16:14:01+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
| [2013-12-06T16:14:01+00:00] ERROR: package[postfix] (postfix::default line 21) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100' | |
| ---- Begin output of apt-get -q -y install postfix=2.9.6-2 ---- | |
| STDOUT: Reading package lists... | |
| Building dependency tree... | |
| Reading state information... | |
| The following extra packages will be installed: | |
| perl perl-base perl-modules ssl-cert | |
| Suggested packages: | |
| perl-doc libterm-readline-gnu-perl libterm-readline-perl-perl | |
| libpod-plainer-perl postfix-mysql postfix-pgsql postfix-ldap postfix-pcre | |
| sasl2-bin dovecot-common resolvconf postfix-cdb ufw postfix-doc | |
| openssl-blacklist | |
| The following packages will be REMOVED: | |
| exim4 exim4-base exim4-config exim4-daemon-light | |
| The following NEW packages will be installed: | |
| postfix ssl-cert | |
| The following packages will be upgraded: | |
| perl perl-base perl-modules | |
| 3 upgraded, 2 newly installed, 4 to remove and 27 not upgraded. | |
| Need to get 11.0 MB of archives. | |
| After this operation, 1,153 kB disk space will be freed. | |
| Get:1 http://mirrors.kernel.org/debian/ wheezy/main ssl-cert all 1.0.32 [19.5 kB] | |
| Get:2 http://mirrors.kernel.org/debian/ wheezy/main postfix amd64 2.9.6-2 [1,591 kB] | |
| Get:3 http://mirrors.kernel.org/debian/ wheezy/main perl amd64 5.14.2-21+deb7u1 [4,407 kB] | |
| Get:4 http://mirrors.kernel.org/debian/ wheezy/main perl-base amd64 5.14.2-21+deb7u1 [1,518 kB] | |
| Get:5 http://mirrors.kernel.org/debian/ wheezy/main perl-modules all 5.14.2-21+deb7u1 [3,440 kB] | |
| Preconfiguring packages ... | |
| Fetched 11.0 MB in 12s (904 kB/s) | |
| (Reading database ... 50678 files and directories currently installed.) | |
| Removing exim4 ... | |
| Selecting previously unselected package ssl-cert. | |
| (Reading database ... 50675 files and directories currently installed.) | |
| Unpacking ssl-cert (from .../ssl-cert_1.0.32_all.deb) ... | |
| Processing triggers for man-db ... | |
| (Reading database ... 50684 files and directories currently installed.) | |
| Removing exim4-config ... | |
| Removing exim4-daemon-light ... | |
| Stopping MTA: exim4_listener. | |
| Processing triggers for man-db ... | |
| Selecting previously unselected package postfix. | |
| (Reading database ... 50623 files and directories currently installed.) | |
| Unpacking postfix (from .../postfix_2.9.6-2_amd64.deb) ... | |
| Processing triggers for man-db ... | |
| Setting up ssl-cert (1.0.32) ... | |
| Setting up postfix (2.9.6-2) ... | |
| STDERR: Reading changelogs... | |
| dpkg: exim4-config: dependency problems, but removing anyway as you requested: | |
| exim4-base depends on exim4-config (>= 4.30) | exim4-config-2; however: | |
| Package exim4-config is to be removed. | |
| Package exim4-config-2 is not installed. | |
| Package exim4-config which provides exim4-config-2 is to be removed. | |
| exim4-base depends on exim4-config (>= 4.30) | exim4-config-2; however: | |
| Package exim4-config is to be removed. | |
| Package exim4-config-2 is not installed. | |
| Package exim4-config which provides exim4-config-2 is to be removed. | |
| dpkg: exim4-daemon-light: dependency problems, but removing anyway as you requested: | |
| bsd-mailx depends on default-mta | mail-transport-agent; however: | |
| Package default-mta is not installed. | |
| Package exim4-daemon-light which provides default-mta is to be removed. | |
| Package mail-transport-agent is not installed. | |
| Package exim4-daemon-light which provides mail-transport-agent is to be removed. | |
| bsd-mailx depends on default-mta | mail-transport-agent; however: | |
| Package default-mta is not installed. | |
| Package exim4-daemon-light which provides default-mta is to be removed. | |
| Package mail-transport-agent is not installed. | |
| Package exim4-daemon-light which provides mail-transport-agent is to be removed. | |
| Adding group `postfix' (GID 107) ... | |
| Done. | |
| Adding system user `postfix' (UID 104) ... | |
| Adding new user `postfix' (UID 104) with group `postfix' ... | |
| Not creating home directory `/var/spool/postfix'. | |
| Creating /etc/postfix/dynamicmaps.cf | |
| Adding tcp map entry to /etc/postfix/dynamicmaps.cf | |
| Adding sqlite map entry to /etc/postfix/dynamicmaps.cf | |
| Adding group `postdrop' (GID 108) ... | |
| Done. | |
| setting myhostname: debian-7.1.0 | |
| setting alias maps | |
| setting alias database | |
| setting myorigin | |
| setting destinations: debian-7.1.0, localhost.1.0, , localhost | |
| setting relayhost: | |
| setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 | |
| setting mailbox_command | |
| setting mailbox_size_limit: 0 | |
| setting recipient_delimiter: + | |
| setting inet_interfaces: all | |
| Postfix is now set up with a default configuration. If you need to make | |
| changes, edit | |
| /etc/postfix/main.cf (and others) as needed. To view Postfix configuration | |
| values, see postconf(1). | |
| After modifying main.cf, be sure to run '/etc/init.d/postfix reload'. | |
| Running newaliases | |
| newaliases: warning: valid_hostname: numeric hostname: 1.0 | |
| newaliases: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 1.0 | |
| dpkg: error processing postfix (--configure): | |
| subprocess installed post-installation script returned error exit status 75 | |
| Errors were encountered while processing: | |
| postfix | |
| E: Sub-process /usr/bin/dpkg returned an error code (1) | |
| ---- End output of apt-get -q -y install postfix=2.9.6-2 ---- | |
| Ran apt-get -q -y install postfix=2.9.6-2 returned 100 | |
| ================================================================================ | |
| Error executing action `install` on resource 'package[postfix]' | |
| ================================================================================ | |
| Mixlib::ShellOut::ShellCommandFailed | |
| ------------------------------------ | |
| Expected process to exit with [0], but received '100' | |
| ---- Begin output of apt-get -q -y install postfix=2.9.6-2 ---- | |
| STDOUT: Reading package lists... | |
| Building dependency tree... | |
| Reading state information... | |
| The following extra packages will be installed: | |
| perl perl-base perl-modules ssl-cert | |
| Suggested packages: | |
| perl-doc libterm-readline-gnu-perl libterm-readline-perl-perl | |
| libpod-plainer-perl postfix-mysql postfix-pgsql postfix-ldap postfix-pcre | |
| sasl2-bin dovecot-common resolvconf postfix-cdb ufw postfix-doc | |
| openssl-blacklist | |
| The following packages will be REMOVED: | |
| exim4 exim4-base exim4-config exim4-daemon-light | |
| The following NEW packages will be installed: | |
| postfix ssl-cert | |
| The following packages will be upgraded: | |
| perl perl-base perl-modules | |
| 3 upgraded, 2 newly installed, 4 to remove and 27 not upgraded. | |
| Need to get 11.0 MB of archives. | |
| After this operation, 1,153 kB disk space will be freed. | |
| Get:1 http://mirrors.kernel.org/debian/ wheezy/main ssl-cert all 1.0.32 [19.5 kB] | |
| Get:2 http://mirrors.kernel.org/debian/ wheezy/main postfix amd64 2.9.6-2 [1,591 kB] | |
| Get:3 http://mirrors.kernel.org/debian/ wheezy/main perl amd64 5.14.2-21+deb7u1 [4,407 kB] | |
| Get:4 http://mirrors.kernel.org/debian/ wheezy/main perl-base amd64 5.14.2-21+deb7u1 [1,518 kB] | |
| Get:5 http://mirrors.kernel.org/debian/ wheezy/main perl-modules all 5.14.2-21+deb7u1 [3,440 kB] | |
| Preconfiguring packages ... | |
| Fetched 11.0 MB in 12s (904 kB/s) | |
| (Reading database ... 50678 files and directories currently installed.) | |
| Removing exim4 ... | |
| Selecting previously unselected package ssl-cert. | |
| (Reading database ... 50675 files and directories currently installed.) | |
| Unpacking ssl-cert (from .../ssl-cert_1.0.32_all.deb) ... | |
| Processing triggers for man-db ... | |
| (Reading database ... 50684 files and directories currently installed.) | |
| Removing exim4-config ... | |
| Removing exim4-daemon-light ... | |
| Stopping MTA: exim4_listener. | |
| Processing triggers for man-db ... | |
| Selecting previously unselected package postfix. | |
| (Reading database ... 50623 files and directories currently installed.) | |
| Unpacking postfix (from .../postfix_2.9.6-2_amd64.deb) ... | |
| Processing triggers for man-db ... | |
| Setting up ssl-cert (1.0.32) ... | |
| Setting up postfix (2.9.6-2) ... | |
| STDERR: Reading changelogs... | |
| dpkg: exim4-config: dependency problems, but removing anyway as you requested: | |
| exim4-base depends on exim4-config (>= 4.30) | exim4-config-2; however: | |
| Package exim4-config is to be removed. | |
| Package exim4-config-2 is not installed. | |
| Package exim4-config which provides exim4-config-2 is to be removed. | |
| exim4-base depends on exim4-config (>= 4.30) | exim4-config-2; however: | |
| Package exim4-config is to be removed. | |
| Package exim4-config-2 is not installed. | |
| Package exim4-config which provides exim4-config-2 is to be removed. | |
| dpkg: exim4-daemon-light: dependency problems, but removing anyway as you requested: | |
| bsd-mailx depends on default-mta | mail-transport-agent; however: | |
| Package default-mta is not installed. | |
| Package exim4-daemon-light which provides default-mta is to be removed. | |
| Package mail-transport-agent is not installed. | |
| Package exim4-daemon-light which provides mail-transport-agent is to be removed. | |
| bsd-mailx depends on default-mta | mail-transport-agent; however: | |
| Package default-mta is not installed. | |
| Package exim4-daemon-light which provides default-mta is to be removed. | |
| Package mail-transport-agent is not installed. | |
| Package exim4-daemon-light which provides mail-transport-agent is to be removed. | |
| Adding group `postfix' (GID 107) ... | |
| Done. | |
| Adding system user `postfix' (UID 104) ... | |
| Adding new user `postfix' (UID 104) with group `postfix' ... | |
| Not creating home directory `/var/spool/postfix'. | |
| Creating /etc/postfix/dynamicmaps.cf | |
| Adding tcp map entry to /etc/postfix/dynamicmaps.cf | |
| Adding sqlite map entry to /etc/postfix/dynamicmaps.cf | |
| Adding group `postdrop' (GID 108) ... | |
| Done. | |
| setting myhostname: debian-7.1.0 | |
| setting alias maps | |
| setting alias database | |
| setting myorigin | |
| setting destinations: debian-7.1.0, localhost.1.0, , localhost | |
| setting relayhost: | |
| setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 | |
| setting mailbox_command | |
| setting mailbox_size_limit: 0 | |
| setting recipient_delimiter: + | |
| setting inet_interfaces: all | |
| Postfix is now set up with a default configuration. If you need to make | |
| changes, edit | |
| /etc/postfix/main.cf (and others) as needed. To view Postfix configuration | |
| values, see postconf(1). | |
| After modifying main.cf, be sure to run '/etc/init.d/postfix reload'. | |
| Running newaliases | |
| newaliases: warning: valid_hostname: numeric hostname: 1.0 | |
| newaliases: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 1.0 | |
| dpkg: error processing postfix (--configure): | |
| subprocess installed post-installation script returned error exit status 75 | |
| Errors were encountered while processing: | |
| postfix | |
| E: Sub-process /usr/bin/dpkg returned an error code (1) | |
| ---- End output of apt-get -q -y install postfix=2.9.6-2 ---- | |
| Ran apt-get -q -y install postfix=2.9.6-2 returned 100 | |
| Resource Declaration: | |
| --------------------- | |
| # In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/postfix/recipes/default.rb | |
| 21: package "postfix" | |
| 22: | |
| Compiled Resource: | |
| ------------------ | |
| # Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/postfix/recipes/default.rb:21:in `from_file' | |
| package("postfix") do | |
| action :install | |
| retries 0 | |
| retry_delay 2 | |
| package_name "postfix" | |
| version "2.9.6-2" | |
| cookbook_name :postfix | |
| recipe_name "default" | |
| end | |
| [2013-12-06T16:12:09+00:00] INFO: Forking chef instance to converge... | |
| [2013-12-06T16:14:01+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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment