cannot restart innd

Kenichi Okada okada at opaopa.org
Tue Mar 19 12:13:30 UTC 2002


Hi,

In the message "<Pine.LNX.4.44.0203190644180.6502-100000 at ryouko.dgim.crc.ca>"
"William F. Maton" <wmaton at ryouko.dgim.crc.ca> wrote:

> On Tue, 19 Mar 2002, Kenichi Okada wrote:

> > I use inn-CURRENT-20020315.tar.gz with enable-ipv6 on Linux-2.4.
> > I cannot restart innd.
> >
> > % ctlinnd xexec ''
> > % tail -f ~news/log/news.notice
> >
> > Mar 19 20:08:09 tetoron inndstart: can't bind socket: Address already in use

> Can you check the output of netstat and see if there's an address bound to
> port nntp?

% netstat -nap

There is no bound to port nntp.

> I also get this on my linux boxes.  Seems to be a missing setsockopt
> (speculating here).  What you have to do is wait until the lingering
> socket expires/times out, then you can restart.  It's a bit ofa pain.

I think it is a prolem aboult SO_REUSEADDR, too.

Inndstart seems to do setsocket() AFTER bind() in inndstart.c(l.225 - l.240)
Is it correct?

regards,

-- 
Kenichi Okada
mailto:okada at opaopa.org


More information about the inn-workers mailing list