🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #70936

Re: INN error diagnostics

#70936
From: Mike Lischke
Date: Sat, 19 Mar 2005 21:09
125 lines
6767 bytes
Hi Russ, 

I much appreciated your help.

>Well, as you've probably already realized, you have a very unusually
>broken INN configuration.  INN is normally very stable and simply doesn't
>crash.  My guess is that there's something basic and fundamental wrong
>with your installation.

Actually, I have it installed as described in the INSTALL files (I compiled
it myself rather than installing the outdated version from YAST).
Unfortunately, my Suse 8.1 system crashed several times for certain reasons
and I have the vague feeling this could have to do with my INN problems.
Russ, I'm sure you (and perhaps others) have put a lot of effort into INN
but I'm afraid I must say that INN is the most unstable software I have
currently on my machine. This might be my fault, because I'm an absolute
rookie when it comes to Linux, but I have quite some stuff running that
never made any problems even after a hard system reset (e.g. MySQL, a
version control system etc.). But on the other hand if anything is wrong
the INN server does not well recover on its own.

Today my INN died at least 5 times. I have scanned through the available
logs but it is hard to find anything usefull. I ran tdx-util which reported
in most of my groups that the number of postings (I think that was it, am
not sure) is wrong. A second run of it did not show up an error anymore so
I assumed the previously reported errors where fixed not only reported (the
output did not say what the tool is actually doing). This is very
frustrating as you never know if the tool is helping you or just giving you
another clap for something I did wrong.

(Btw. while I am writing this my server again died, after running about 30
mins.)

>It sounds like you don't have syslog set up properly, since the news log
>files will definitely not stay 0 bytes in size if it is.  Please re-read
>the INSTALL file, particularly the portion on setting up syslog.

I did not say that "news" stayed empty (although it does), but "news.err".
After the last crash I got one message there (aha!). It's:

Mar 19 18:31:16 h4866 rnews: cant open_remote: No such file or directory

Great. What does it mean? What is open_remote? Why does it appear now and
not earlier? What can I do to fix the problem? Could it be the reason why
the server dies? However, this message seems to be related to a startup
problem, not to a crash reason.

Btw: I just executed inncheck and it reported two problems: two malformed
lines in "newsfeeds", two *empty* lines between feed entries! This is
ridiculous. They had a tab or space in it, but who would care about such a
trivia? Anyway, fixing this did not help either.

>Even before I started working on it, INN's error messages were more
>comprehensive than most other software packages I've used.  If anything,
>it's too chatty, but if your syslog configuration is broken, all of those
>messages may be getting discarded by your syslog daemon.

Maybe it is chatty with regular messages, but not with errors. No help
whatsoever. Btw: I double checked syslog.conf (although I knew it was ok)
and it is still ok. The most important entries wrt to my problems are:

#
# all news-messages
#
# these files are rotated and examined by "news.daily"
news.crit                       -/var/log/news/news.crit
news.err                        -/var/log/news/news.err
news.notice                     -/var/log/news/news.notice
# enable this, if you want to keep all news messages
# in one file
#news.*                         -/var/log/news.all

These files exist and have the proper owner (news). "news.notice" is the
only file that gets regular entries. I have never seen "news.crit" to have
anything in it and "news.err" usually also does not have data, although it
should after so many server crashs.

Ah, makehistory just gave me something to think about:

news@h4866:/news/bin> ./makehistory -O
dbz.c(set): can't tag value 0x1000040 tagboth = 0xff000000

Found http://lists.litech.org/pipermail/inn-workers/2002q4/000087.html as
explanation, but the entire news spool is only  about 3 MB in size so this
can't be the reason (I have only about 3000 text only groups, mainly (most
of) the Big8 fed to me only for about a week, and a few local groups).

Ok, doing:

news@h4866:/usr/lib/news/bin> ./makehistory -b -O -l 30000 -I

I get again the error

dbz.c(set): can't tag value 0x1000040 tagboth = 0xff000000

I removed the content of the overview folder completely before running
makehistory, so I don't understand what that message means.

After half an hour I get:

makehistory: overview line 29630 is too long

Ignoring that and executing 

./tdx-util -F

I suddenly get:

news@h4866:/usr/lib/news/bin> ./tdx-util -F
tdx-util: tradindexed: malformed overview data for talk.politics.china:639
tdx-util: tradindexed: unable to repair talk.politics.china:639
tdx-util: tradindexed: count incorrect for talk.politics.china: 697 != 698

It is a mystery ot me where *this* problem suddenly comes from (I ran
tdx-util today already 3 times without this result). Anyway, I'm going to
start up INN and will see how long it runs this time.

Russ, I'm very sorry if I sound rude or agressive but wasting so many hours
on this unreliable server is driving me crazy. Thanks for any help! Is
there an acceptable way to reinstall the news server and everything without
loosing my current spool or settings? Maybe a fresh start could help?

Mike
-- 
www.soft-gems.net
Technical Details
Message-ID: <xn0dzy7fd29nirb000@news.individual.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <xn0dzy1di21gvra000@news.individual.de> <87sm2rqxrq.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <xn0dzy7fd29nirb000@news.individual.de>
Subject: Re: INN error diagnostics
Date: Sat, 19 Mar 2005 21:09:18 +0000
From: "Mike Lischke" <newsgroups@soft-gems.net>
References: <xn0dzy1di21gvra000@news.individual.de> <87sm2rqxrq.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.nntp
Organization: privat
Lines: 125
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Trace: individual.net j2DcxZvedqMaGks4ljJHnQzBhcQJAdAnUEViekUzufN/ld/WQ=
User-Agent: XanaNews/1.17.3.1
X-Face: "JN\pWy)vM"i3rorcb6AhB<EdqOA`-Je; WBy,4=hC9M+tETu>t@.viZL,/PdKW+llZ;
 PXPM zG`EOo/D[ePOJBtl/RsR.yeZ4]P4SM{1|i, 1mclCE=P!a<SJ`*l`W`ErU&I,
 !%fe}6zNPg`>msh)<9 6b'HX{w:Hm,SFH3#6/@A?;:)Q')78\cab,bf|oKy.<<b{!I4!45Q
X-Ref: News.Individual.DE ~XNS:0000068C