An error occurred while sending mail
Added by laurent plassard over 8 years ago
When i want to test send mail i have the error :
An error occurred while sending mail (getaddrinfo: Une erreur irr?cup?rable s?est produite lors d?une recherche sur la base de donn?es. )
Bad error on search on database...
log :
Started POST "/redmine/admin/test_email" for 127.0.0.1 at 2016-03-25 12:09:48 +0100
Processing by AdminController#test_email as HTML
Parameters: {"authenticity_token"=>"azen3AvInQmCDSug25xfxyXaXBq/TLzLQlkc3jBeK/V8hWnIK59b8ZgrEdOi701KBNRWyz+XJNesM9ifkMm+Qg=="}
Current user: laurent (id=1)
Rendered mailer/test_email.text.erb within layouts/mailer (0.0ms)
Rendered mailer/test_email.html.erb within layouts/mailer (0.0ms)
Redirected to http://10.0.160.29/redmine/settings?tab=notifications
Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
Started GET "/redmine/settings?tab=notifications" for 127.0.0.1 at 2016-03-25 12:09:48 +0100
Processing by SettingsController#index as HTML
Parameters: {"tab"=>"notifications"}
Current user: laurent (id=1)
Rendered settings/_general.html.erb (15.6ms)
Rendered settings/_display.html.erb (0.0ms)
Rendered settings/_authentication.html.erb (0.0ms)
Rendered settings/_api.html.erb (0.0ms)
Rendered settings/_projects.html.erb (15.6ms)
Rendered queries/_columns.html.erb (0.0ms)
Rendered settings/_issues.html.erb (0.0ms)
Rendered settings/_attachments.html.erb (0.0ms)
Rendered settings/_notifications.html.erb (15.6ms)
Rendered settings/_mail_handler.html.erb (0.0ms)
SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (C:/Bitnami/redmine-3.2.1-0/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Bitnami\redmine-3.2.1-0/git/bin;C:\Bitnami\redmine-3.2.1-0/subversion/bin;C:\Bitnami\redmine-3.2.1-0\imagemagick;C:\Bitnami\redmine-3.2.1-0\ruby\bin)
You can configure your scm commands in config/configuration.yml.
"darcs" --version
with: No such file or directory - "darcs" --version
scm: error during get scm available: No such file or directory - "darcs" --version
SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (C:/Bitnami/redmine-3.2.1-0/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Bitnami\redmine-3.2.1-0/git/bin;C:\Bitnami\redmine-3.2.1-0/subversion/bin;C:\Bitnami\redmine-3.2.1-0\imagemagick;C:\Bitnami\redmine-3.2.1-0\ruby\bin)
You can configure your scm commands in config/configuration.yml.
"darcs" --version
with: No such file or directory - "darcs" --version
scm: error during get version string: No such file or directory - "darcs" --version
SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (C:/Bitnami/redmine-3.2.1-0/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Bitnami\redmine-3.2.1-0/git/bin;C:\Bitnami\redmine-3.2.1-0/subversion/bin;C:\Bitnami\redmine-3.2.1-0\imagemagick;C:\Bitnami\redmine-3.2.1-0\ruby\bin)
You can configure your scm commands in config/configuration.yml.
"hg" --version
with: No such file or directory - "hg" --version
scm: error during get scm available: No such file or directory - "hg" --version
SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (C:/Bitnami/redmine-3.2.1-0/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Bitnami\redmine-3.2.1-0/git/bin;C:\Bitnami\redmine-3.2.1-0/subversion/bin;C:\Bitnami\redmine-3.2.1-0\imagemagick;C:\Bitnami\redmine-3.2.1-0\ruby\bin)
You can configure your scm commands in config/configuration.yml.
"hg" --version
with: No such file or directory - "hg" --version
scm: error during get version string: No such file or directory - "hg" --version
SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (C:/Bitnami/redmine-3.2.1-0/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Bitnami\redmine-3.2.1-0/git/bin;C:\Bitnami\redmine-3.2.1-0/subversion/bin;C:\Bitnami\redmine-3.2.1-0\imagemagick;C:\Bitnami\redmine-3.2.1-0\ruby\bin)
You can configure your scm commands in config/configuration.yml.
"cvs" --version
with: No such file or directory - "cvs" --version
scm: error during get scm available: No such file or directory - "cvs" --version
SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (C:/Bitnami/redmine-3.2.1-0/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Bitnami\redmine-3.2.1-0/git/bin;C:\Bitnami\redmine-3.2.1-0/subversion/bin;C:\Bitnami\redmine-3.2.1-0\imagemagick;C:\Bitnami\redmine-3.2.1-0\ruby\bin)
You can configure your scm commands in config/configuration.yml.
"cvs" --version
with: No such file or directory - "cvs" --version
scm: error during get version string: No such file or directory - "cvs" --version
SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (C:/Bitnami/redmine-3.2.1-0/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Bitnami\redmine-3.2.1-0/git/bin;C:\Bitnami\redmine-3.2.1-0/subversion/bin;C:\Bitnami\redmine-3.2.1-0\imagemagick;C:\Bitnami\redmine-3.2.1-0\ruby\bin)
You can configure your scm commands in config/configuration.yml.
"bzr" --version
with: No such file or directory - "bzr" --version
scm: error during get scm available: No such file or directory - "bzr" --version
SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (C:/Bitnami/redmine-3.2.1-0/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Bitnami\redmine-3.2.1-0/git/bin;C:\Bitnami\redmine-3.2.1-0/subversion/bin;C:\Bitnami\redmine-3.2.1-0\imagemagick;C:\Bitnami\redmine-3.2.1-0\ruby\bin)
You can configure your scm commands in config/configuration.yml.
"bzr" --version
with: No such file or directory - "bzr" --version
scm: error during get version string: No such file or directory - "bzr" --version
Rendered settings/_repositories.html.erb (31.2ms)
Rendered common/_tabs.html.erb (78.0ms)
Rendered settings/edit.html.erb within layouts/admin (78.0ms)
Rendered admin/_menu.html.erb (15.6ms)
Rendered layouts/base.html.erb (0.0ms)
Completed 200 OK in 94ms (Views: 93.6ms | ActiveRecord: 0.0ms)
my configuration.yml :
default:
# Outgoing emails configuration
# See the examples below and the Rails guide for more configuration options:
# http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration
delivery_method: :smtp
smtp_settings:
enable_starttls_auto: true
address: "xxx@xxx.fr"
port: 2525
ssl: true
domain: "xxx.net"
authentication: :plain
user_name: "xxx@xxx.com"
password: "xxx"
Thanks for your help