Actions
Defect #8961
closedgetaddrinfo: Name or service not known
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-08-01
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
rake -f /usr/share/redmine/Rakefile redmine:email:receive_imap RAILS_ENV="production" host=addess port=25 username=abc@xyz.com password=xyz ssl=1 --trace
When I run above command issue got created but after that it stop working and started throwing below error:
- Invoke redmine:email:receive_imap (first_time)
- Invoke environment (first_time)
- Execute environment
- Execute redmine:email:receive_imap
rake aborted!
getaddrinfo: Name or service not known
/usr/lib/ruby/1.8/net/imap.rb:888:in `initialize'
/usr/lib/ruby/1.8/net/imap.rb:888:in `open'
/usr/lib/ruby/1.8/net/imap.rb:888:in `initialize'
/usr/share/redmine/lib/redmine/imap.rb:29:in `new'
/usr/share/redmine/lib/redmine/imap.rb:29:in `check'
/usr/share/redmine/lib/tasks/email.rake:133
/usr/lib/ruby/1.8/rake.rb:636:in `call'
/usr/lib/ruby/1.8/rake.rb:636:in `execute'
/usr/lib/ruby/1.8/rake.rb:631:in `each'
/usr/lib/ruby/1.8/rake.rb:631:in `execute'
/usr/lib/ruby/1.8/rake.rb:597:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:583:in `invoke'
/usr/lib/ruby/1.8/rake.rb:2051:in `invoke_task'
/usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2029:in `each'
/usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:2023:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2001:in `run'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1998:in `run'
/usr/bin/rake:28
Please let me know how I can resolve the same.
Actions