🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59384

Re: innd hangs on startup on Mac OS X? SOLVED!

#59384
From: Jerry Stratton
Date: Sun, 30 Jun 2002 13:04
136 lines
5710 bytes
In article <afm07d$o7u$2@puck.litech.org>,
 jeff@litech.org (Jeffrey M. Vinocur) wrote:

> In article <newsw-C3EC55.09404429062002@news.west.cox.net>,
> Jerry Stratton  <newsw@hoboes.com> wrote:
> >In article <afjg49$e43$2@puck.litech.org>,
> > jeff@litech.org (Jeffrey M. Vinocur) wrote:
> >
> >> Yeah, between this and the above, it feels like your INN is stuck
> >> in an infinte loop.  Can you peek at it (with gdb, say) and see
> >> where?
> >
> >#0  0x000280b0 in GROUPfind (group=0x0) at ov3.c:219
> 
> Ooo.  That bit of code looks very familiar.  I think I've gotten
> in an infinite loop there myself.  The memory is pretty vague,
> but I think it ended up being corruption in the overview database
> (or group.index?).  Try wiping the contents of spool/overview/
> and see if that fixes it.

No, but it does act weird. When I remove (or remove and touch) 
spool/overview/group.index (the only file in that directory), the next 
time I try to start inndstart, news.err and news.crit contain:

Jun 30 05:36:18 cerebus innd: cronkite.sandiego.edu/news.sandiego.edu\  
bad_news
feeds missing field 2
Jun 30 05:36:18 cerebus innd: SERVER syntax_error 
/usr/local/news/etc/newsfeeds


And news.notice contains:

Jun 30 05:37:20 cerebus innd: SERVER descriptors 256
Jun 30 05:37:20 cerebus innd: SERVER outgoing 243
Jun 30 05:37:20 cerebus innd: SERVER ccsetup control:13
Jun 30 05:37:20 cerebus innd: SERVER lcsetup localconn:15
Jun 30 05:37:20 cerebus innd: SERVER rcsetup remconn:4
Jun 30 05:37:20 cerebus innd: controlchan! spawned 
controlchan!:18:proc:19809
Jun 30 05:37:20 cerebus innd: cronkite.sandiego.edu/news.sandiego.edu\  
bad_news
feeds missing field 2
Jun 30 05:37:20 cerebus innd:      opened     :17:file
Jun 30 05:37:20 cerebus innd: SERVER syntax_error 
/usr/local/news/etc/newsfeeds
Jun 30 05:37:20 cerebus innd: controlchan! closed
Jun 30 05:37:20 cerebus innd:      closed
Jun 30 05:37:20 cerebus innd: control:13 closed
Jun 30 05:37:20 cerebus innd: localconn:15 closed
Jun 30 05:37:20 cerebus innd: remconn:4 closed


And innd is not started; however, now group.index in spool/overview 
exists:

-rw-rw-r--  1 news  news  131080 Jun 30 05:37 group.index


and if I then run inndstart again, innd starts but hangs as before.

In case it matters, etc/newsfeeds contains:

ME:!*/!local,!collabra-internal::

controlchan!\
        :!*,control,control.*,!control.cancel\
        :Tc,Wnsm:/usr/local/news/bin/controlchan

cronkite.sandiego.edu/news.sandiego.edu\
    :usd.*, sdnet.*\
    :Tf,Wnm:

Note that cronkite.sandiego.edu does not know about me and is not 
feeding me.

I just now decided to simplify that newsfeed line to:

cronkite.sandiego.edu\
    :usd.*, sdnet.*\
    :Tf,Wnm:

and the error in news.err changed to (after removing group.index again):

Jun 30 05:44:40 cerebus innd: tradspool: storeonxref needs to be true
Jun 30 05:44:40 cerebus innd: SM storage method 'tradspool' failed 
initializatio
n
Jun 30 05:44:40 cerebus innd: SM one or more storage methods failed 
initializati
on
Jun 30 05:44:40 cerebus innd: SERVER cant initalize storage manager: one 
or more
 storage methods failed initialization

So I then set storeonxref in inn.conf to true. Now, removing group.index 
does not keep innd from starting up, and innd no longer hangs. In 
news.notice, I see:

Jun 30 05:46:58 cerebus innd: SERVER descriptors 256
Jun 30 05:46:58 cerebus innd: SERVER outgoing 243
Jun 30 05:46:58 cerebus innd: SERVER ccsetup control:13
Jun 30 05:46:58 cerebus innd: SERVER lcsetup localconn:15
Jun 30 05:46:58 cerebus innd: SERVER rcsetup remconn:4
Jun 30 05:46:58 cerebus innd: controlchan! spawned 
controlchan!:18:proc:19877
Jun 30 05:46:58 cerebus innd: cronkite.sandiego.edu opened 
cronkite.sandiego.edu
:17:file
Jun 30 05:46:58 cerebus innd: tradspool: 
/usr/local/news/spool/tradspool.map not
 found
Jun 30 05:46:58 cerebus innd: SERVER starting

/usr/local/news/spool/tradspool.map does exist, however, and is readable 
by everyone, writeable by user and group news.

-rw-rw-r--  1 news  news  800 Jun 30 05:46 spool/tradspool.map

Since the mod date is the time I ran inndstart, I'm assuming that 
tradspool.map was just created now.

telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.sandiego.edu.
Escape character is '^]'.
200 cerebus.sandiego.edu InterNetNews server INN 2.4.0 (20020621 
prerelease) ready

Thanks for the assistance!

Jerry

-- 
http://www.hoboes.com/jerry/
Technical Details
Message-ID: <newsw-142A03.06041330062002@news.west.cox.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!enews.sgi.com!news-hog.berkeley.edu!ucberkeley!newshub.sdsu.edu!west.cox.net!cox.net!p02!news1.west.cox.net.POSTED!53ab2750!not-for-mail
References: <newsw-D506B8.17554228062002@news.west.cox.net> <afjg49$e43$2@puck.litech.org> <newsw-C3EC55.09404429062002@news.west.cox.net> <afm07d$o7u$2@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <newsw-142A03.06041330062002@news.west.cox.net>
Subject: Re: innd hangs on startup on Mac OS X? SOLVED!
Date: Sun, 30 Jun 2002 13:04:14 GMT
From: Jerry Stratton <newsw@hoboes.com>
References: <newsw-D506B8.17554228062002@news.west.cox.net> <afjg49$e43$2@puck.litech.org> <newsw-C3EC55.09404429062002@news.west.cox.net> <afm07d$o7u$2@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!enews.sgi.com!news-hog.berkeley.edu!ucberkeley!newshub.sdsu.edu!west.cox.net!cox.net!p02!news1.west.cox.net.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.nntp
Organization: Negative Space
User-Agent: MT-NewsWatcher/3.2 (PPC Mac OS X)
Lines: 135
NNTP-Posting-Host: 68.8.67.82
X-Complaints-To: abuse@cox.net
X-Trace: news1.west.cox.net 1025442254 68.8.67.82 (Sun, 30 Jun 2002 09:04:14 EDT)
NNTP-Posting-Date: Sun, 30 Jun 2002 09:04:14 EDT