🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by Doug Hardie Tue, 08 Mar 2005 06:16
Major problem
#70814
Author: Doug Hardie
Date: Tue, 08 Mar 2005 06:16
13 lines
1322 bytes
I had to recreate the history which i did after doing a throttle on inn.
I used:

makehistory -b -f history.n -O -l 30000 -I

which took 10 hours but finally finshed.  I moved the new history files 
to the old names and did a go on inn.  Now for what looks like every 
posting from my peer I am getting the following error message:


innd: tradindexed: index inode mismatch for soc.singles.moderated

How do I correct this?
Re: Major problem
#70817
Author: Szymon Sokół
Date: Tue, 08 Mar 2005 07:49
17 lines
2062 bytes
Doug Hardie <bc979@lafn.org> wrote:
> I had to recreate the history which i did after doing a throttle on inn.
> makehistory -b -f history.n -O -l 30000 -I

> which took 10 hours but finally finshed.  I moved the new history files 
> to the old names and did a go on inn.  Now for what looks like every 
Bad move. You should have killed innd, then restart it after moving the
files.

> How do I correct this?
Kill and restart innd, that should do.

-- 
Szymon Sokół (SS316-RIPE) -- Network Manager                                B
Computer Center, AGH - University of Science and Technology, Cracow, Poland O
http://home.agh.edu.pl/szymon/ PGP key id: RSA: 0x2ABE016B, DSS: 0xF9289982 F 
Free speech includes the right not to listen, if not interested -- Heinlein H
Re: Major problem
#70819
Author: Paul Tomblin
Date: Tue, 08 Mar 2005 12:06
22 lines
2068 bytes
In a previous article, Szymon =?ISO-8859-2?Q?Sok=F3=B3?= <szymon@bastard.operator.from.hell.pl> said:
>Doug Hardie <bc979@lafn.org> wrote:
>> I had to recreate the history which i did after doing a throttle on inn.
>> makehistory -b -f history.n -O -l 30000 -I
>
>> which took 10 hours but finally finshed.  I moved the new history files 
>> to the old names and did a go on inn.  Now for what looks like every 
>Bad move. You should have killed innd, then restart it after moving the
>files.

Not according to the makehistory man pages - being throttled should be
sufficient.  However, they also suggest that you have to makedbz the
history.n index files before you rename them.

At this point I'd suggest your overview and history file are probably
pooched, and the safest thing would be to shut down inn, and follow the
steps in "man makehistory" EXACTLY.

-- 
Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
In 1665 Isaac Newton became discouraged when he fell up a flight of
stairs.
Re: Major problem
#70818
Author: Russ Allbery
Date: Tue, 08 Mar 2005 16:25
19 lines
1761 bytes
Doug Hardie <bc979@lafn.org> writes:

> Now for what looks like every posting from my peer I am getting the
> following error message:

> innd: tradindexed: index inode mismatch for soc.singles.moderated

> How do I correct this?

This is a warning, not an error, but it does mean that makehistory didn't
successfully rebuild overview.  You didn't say what version of INN that
you're using, but if it's 2.4 or later, it's possible that tdx-util -R
will be able to clean things up.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Major problem
#70820
Author: Doug Hardie
Date: Tue, 08 Mar 2005 18:46
36 lines
2751 bytes
In article <bc979-866F85.22164907032005@zook>,
 Doug Hardie <bc979@lafn.org> wrote:

> I had to recreate the history which i did after doing a throttle on inn.
> I used:
> 
> makehistory -b -f history.n -O -l 30000 -I
> 
> which took 10 hours but finally finshed.  I moved the new history files 
> to the old names and did a go on inn.  Now for what looks like every 
> posting from my peer I am getting the following error message:
> 
> 
> innd: tradindexed: index inode mismatch for soc.singles.moderated
> 
> How do I correct this?

Thanks for the responses.  I have not received any of them yet but can 
find them on Google.  I used throttle because ofthe makehistory man 
page.  I am using inn 2.4.0.  I did notice on the 2.4.1 man page it has 
been changed to stop inn rather than throttle.  I did follow the 
instructions in the 2.4.0 make history man page exactly.  After that was 
done news.daily with expireover started automatically.  It was scheduled 
for shortly after the make history completed.  I killed innd and 
restarted it.  The error messages stopped.  However, expireover is still 
running 10.5 hours later.  Its got the disk going at 100%.  Only new 
posting received after the restart of innd are showing up.  Those 
received after innd was given the go and before the restart are in the 
files but do not show for the user.  Doing a tdx-util -R on that group 
does make them visible.  However I don't want to try that on anything 
other than a small group until expireover completes.

The interesting thing is that my upstream peer has not sent any of the 
messages from the 10 or so hours when makehistory was running.  How do I 
get those resent to me?  I didn't find anything in the man pages that 
appears to address this situation.
Re: Major problem
#70824
Author: Jeffrey M. Vinocur
Date: Tue, 08 Mar 2005 22:48
37 lines
2693 bytes
In article <bc979-AB114F.10463608032005@zook>,
Doug Hardie  <bc979@lafn.org> wrote:
>
>However, expireover is still running 10.5 hours later.  Its got
>the disk going at 100%.  Only new posting received after the
>restart of innd are showing up.  Those received after innd was
>given the go and before the restart are in the files but do not
>show for the user.  Doing a tdx-util -R on that group does make
>them visible.  However I don't want to try that on anything
>other than a small group until expireover completes.

There's something pretty odd going on here, and if you have any
further confusion, the most definitive thing would just be to
stop INN, kill the expireover, wipe overview, and rebuild with
makehistory again.


>The interesting thing is that my upstream peer has not sent any of the 
>messages from the 10 or so hours when makehistory was running.  How do I 
>get those resent to me?  I didn't find anything in the man pages that 
>appears to address this situation.

There's nothing you can do from your end to make this happen.
Most news server software will queue messages for you (certainly
over the course of a half day, and often quite a bit longer) and
send them along once your server comes back up.  If you're
convinced that this isn't happening, you've only got three
options -- do nothing, and tolerate the missing messages; get
your upstream to resend you old messages, which will require some
effort on their part; or, if you have newsreader access at your
upstream or on any other server, use a tool like pullnews (comes
with INN), newsx, or suck, to transfer the missing messages.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Major problem
#70829
Author: Szymon Sokół
Date: Wed, 09 Mar 2005 09:25
46 lines
3591 bytes
Paul Tomblin <ptomblin+netnews@xcski.com> wrote:
> In a previous article, Szymon =?ISO-8859-2?Q?Sok=F3=B3?= <szymon@bastard.operator.from.hell.pl> said:
> >Doug Hardie <bc979@lafn.org> wrote:
> >> I had to recreate the history which i did after doing a throttle on inn.
> >> makehistory -b -f history.n -O -l 30000 -I
> >
> >> which took 10 hours but finally finshed.  I moved the new history files 
> >> to the old names and did a go on inn.  Now for what looks like every 
> >Bad move. You should have killed innd, then restart it after moving the
> >files.

> Not according to the makehistory man pages - being throttled should be
> sufficient. 

Most certainly so, according to the *current* makehistory man page:

   WARNING: If you're trying to rebuild the overview database, be sure to
   stop innd(8) and delete or zero out the existing database before you
   start for the best results.  An overview rebuild should not be done
   while the server is running.  Unless the existing overview is deleted,
   you may end up with problems like out-of-order overview entries, exces-
   sively large overview buffers, and the like.
 
And IMHO running makedbz after renaming history.n to history is as good as
running makedbz first, then renaming all history.n.* files. I always do:

mv history.n history; makedbz -o

rather than:

makedbz -s `wc -l < history` -f history.n;
mv history.n history; mv history.n.hash history.hash;
mv history.n.index history.index; mv history.n.dir history.dir

> At this point I'd suggest your overview and history file are probably
> pooched, and the safest thing would be to shut down inn, and follow the
> steps in "man makehistory" EXACTLY.

Yes, this seems like the only thing to do, assuming the overview files are
corrupted. And start with wiping the existing overview.

-- 
Szymon Sokół (SS316-RIPE) -- Network Manager                                B
Computer Center, AGH - University of Science and Technology, Cracow, Poland O
http://home.agh.edu.pl/szymon/ PGP key id: RSA: 0x2ABE016B, DSS: 0xF9289982 F 
Free speech includes the right not to listen, if not interested -- Heinlein H
Re: Major problem
#70833
Author: Doug Hardie
Date: Wed, 09 Mar 2005 21:15
30 lines
2173 bytes
In article <bc979-866F85.22164907032005@zook>,
 Doug Hardie <bc979@lafn.org> wrote:

> I had to recreate the history which i did after doing a throttle on inn.
> I used:
> 
> makehistory -b -f history.n -O -l 30000 -I
> 
> which took 10 hours but finally finshed.  I moved the new history files 
> to the old names and did a go on inn.  Now for what looks like every 
> posting from my peer I am getting the following error message:
> 
> 
> innd: tradindexed: index inode mismatch for soc.singles.moderated
> 
> How do I correct this?

Still not able to receive posts.  I shutdown inn, ran makehistory per 
the man page.  Ran expire, ran makeactive, and ran tdx-util -F.  
However, now I am unable to receive postings for most groups.  I get an 
error for most postings like:

innd: tradspool: could not open 
/usr/local/news/spool/articles/comp/os/ms-windows/programmer/win32/204239
 File exists

I am about ready to throw the entire history away.  There doesn't seem 
to be any way to reproduce all the control files correctly from the 
article files.  No matter what I do at least one of them is broken.  Is 
there a way to recover this?  If so what is it.
Re: Major problem
#70834
Author: Jeffrey M. Vinocur
Date: Wed, 09 Mar 2005 22:38
19 lines
1766 bytes
In article <bc979-D82370.13153509032005@zook>,
Doug Hardie  <bc979@lafn.org> wrote:
>
>I am about ready to throw the entire history away.  There doesn't seem 
>to be any way to reproduce all the control files correctly from the 
>article files.  No matter what I do at least one of them is broken.  Is 
>there a way to recover this?  If so what is it.

The error you posted looks like your active file did not get
renumbered after you rebuilt the overview.  INN is now smart
enough to do that itself (either in 2.4.2 or in the CURRENT
snapshots, I forget), but it's an easy thing to fix:  after
running `makehistory -O`, the moment you restart INN, issue
`ctlinnd renumber "" `.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Major problem
#70835
Author: Russ Allbery
Date: Wed, 09 Mar 2005 22:40
21 lines
1980 bytes
Doug Hardie <bc979@lafn.org> writes:

> Still not able to receive posts.  I shutdown inn, ran makehistory per
> the man page.  Ran expire, ran makeactive, and ran tdx-util -F.
> However, now I am unable to receive postings for most groups.  I get an
> error for most postings like:

> innd: tradspool: could not open 
> /usr/local/news/spool/articles/comp/os/ms-windows/programmer/win32/204239
>  File exists

This generally means that ctlinnd renumber didn't run after you ran
makehistory.  This should happen automatically, but wouldn't if innd
weren't completely shut down while runningm makehistory.  Running ctlinnd
renumber right now may help.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Major problem
#70836
Author: Doug Hardie
Date: Wed, 09 Mar 2005 23:06
19 lines
1882 bytes
In article <d0ntt6$miv$1@puck.litech.org>,
 jeff@litech.org (Jeffrey M. Vinocur) wrote:

> In article <bc979-D82370.13153509032005@zook>,
> Doug Hardie  <bc979@lafn.org> wrote:
> >
> >I am about ready to throw the entire history away.  There doesn't seem 
> >to be any way to reproduce all the control files correctly from the 
> >article files.  No matter what I do at least one of them is broken.  Is 
> >there a way to recover this?  If so what is it.
> 
> The error you posted looks like your active file did not get
> renumbered after you rebuilt the overview.  INN is now smart
> enough to do that itself (either in 2.4.2 or in the CURRENT
> snapshots, I forget), but it's an easy thing to fix:  after
> running `makehistory -O`, the moment you restart INN, issue
> `ctlinnd renumber "" `.

Finally success.  Thanks to all.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads