I have a rather strange problem with mongrel and I would be grateful if
anyone could assist me with resolving.
I have an application running mongrel 1.1.1 and rails 1.2.5 with ruby
It was all working fine and starting as expected. But I did a server
once and mongrel has refused to start up since. I get the following
initialize_without_backlog': Cannot assign requested address - bind(2) (Errno::EADDRNOTAVAIL) from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/../lib/mongrel/tcphack.rb:12:ininitialize’
open' from /usr/lib/ruby/1.8/drb/drb.rb:865:inopen_server’
open_server' from /usr/lib/ruby/1.8/drb/drb.rb:757:ineach’
open_server' from /usr/lib/ruby/1.8/drb/drb.rb:1339:ininitialize’
new' ... 31 levels... from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/../lib/mongrel/command.rb:212:inrun’
from /usr/bin/mongrel_rails:16:in `load’
Initially I though that it was due to the fact that somehow there were
processes that were holding onto the ports so I did a netstat to check
listening processes. However there were no processes holding onto the
I suspect that it is something that is in the configuration for that
particular application because there are other applications on the
which are still working fine.
Has anyone else experienced this before and what was the resolution.