You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New with chef & vagrant, getting error trying to provision, below is the error portion
Something about sh: 1: /usr/sbin/sendmail: not found
I assume this is sendmail in the vm and not on my server, since I have a working sendmail.
...
==> default: [2014-07-24T09:48:16+00:00] INFO: execute[chown-masterd7-files-dir] ran successfully
==> default:
==> default: ================================================================================
==> default: Error executing action `run` on resource 'execute[install-masterd7]'
==> default: ================================================================================
==> default:
==> default:
==> default: Mixlib::ShellOut::ShellCommandFailed
==> default: ------------------------------------
==> default: Expected process to exit with [0], but received '1'
==> default: ---- Begin output of cd /var/www/masterd7/htdocs; drush si --db-url=mysqli://bakery:bakery@localhost/masterd7 --account-pass=1234 --site-name='masterd7' -y ----
==> default: STDOUT: You are about to DROP all tables in your 'masterd7' database. Do you want to continue? (y/n): y
==> default: STDERR: hostname: Name or service not known
==> default: No tables to drop. [ok]
==> default: Starting Drupal installation. This takes a few seconds ... [ok]
==> default: sh: 1: /usr/sbin/sendmail: not found
==> default: WD mail: Error sending e-mail (from admin@example.com to [error]
==> default: admin@example.com).
==> default: Installation complete. User name: admin User password: 1234 [ok]
==> default: Unable to send e-mail. Contact the site administrator if the problem [error]
==> default: persists.
==> default: ---- End output of cd /var/www/masterd7/htdocs; drush si --db-url=mysqli://bakery:bakery@localhost/masterd7 --account-pass=1234 --site-name='masterd7' -y ----
==> default: Ran cd /var/www/masterd7/htdocs; drush si --db-url=mysqli://bakery:bakery@localhost/masterd7 --account-pass=1234 --site-name='masterd7' -y returned 1
==> default:
==> default:
==> default: Resource Declaration:
==> default: ---------------------
==> default: # In /tmp/vagrant-chef-3/chef-solo-1/cookbooks/bakery/recipes/drupal.rb
==> default:
==> default: 63: execute "install-#{site[:name]}" do
==> default: 64: command "cd #{site_dir}/htdocs; drush si --db-url=#{db_url} --account-pass=#{node[:drupal][:admin_password]} --site-name='#{site[:name]}' -y"
==> default: 65: end
==> default: 66: else
==> default:
==> default:
==> default:
==> default: Compiled Resource:
==> default: ------------------
==> default: # Declared in /tmp/vagrant-chef-3/chef-solo-1/cookbooks/bakery/recipes/drupal.rb:63:in `block in from_file'
==> default:
==> default: execute("install-masterd7") do
==> default: action "run"
==> default: retries 0
==> default: retry_delay 2
==> default: command "cd /var/www/masterd7/htdocs; drush si --db-url=mysqli://bakery:bakery@localhost/masterd7 --account-pass=1234 --site-name='masterd7' -y"
==> default: backup 5
==> default: returns 0
==> default: cookbook_name :bakery
==> default: recipe_name "drupal"
==> default: end
...
The text was updated successfully, but these errors were encountered:
New with chef & vagrant, getting error trying to provision, below is the error portion
Something about
sh: 1: /usr/sbin/sendmail: not found
I assume this is sendmail in the vm and not on my server, since I have a working sendmail.
The text was updated successfully, but these errors were encountered: