Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sendmail not found #12

Open
ckng opened this issue Jul 24, 2014 · 0 comments
Open

sendmail not found #12

ckng opened this issue Jul 24, 2014 · 0 comments

Comments

@ckng
Copy link

ckng commented Jul 24, 2014

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
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant