Project

General

Profile

Actions

Defect #8961

closed

getaddrinfo: Name or service not known

Added by ashwini bile over 13 years ago. Updated over 13 years ago.

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= password=xyz ssl=1 --trace
When I run above command issue got created but after that it stop working and started throwing below error:

(in /home/bile)
  • 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 #1

Updated by Jean-Philippe Lang over 13 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

As the error says, the host you're using is unknown.

Actions

Also available in: Atom PDF