🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
30 messages
30 total messages Started by Richard Pyne Mon, 23 Jun 2003 17:30
Messages lost after upgrade
#65849
Author: Richard Pyne
Date: Mon, 23 Jun 2003 17:30
21 lines
1913 bytes
I am a news newby tasked with maintaining our company news server.

I recently updated to INN-2.3.4 as part of an overall system update 
(Mandrake Linux), and now I can't see any of the pre-existing messages.

The configuration is a publicaly accessable local only news server with 
only one newsgroup, used as a technical support forum.

The messages are still in the spool, my expire configuration is set to 
never expire (*:A:never:never:never), but from a news client, it is 
treating everything as if all of the old messages have expired.

I have spent most of the last 3 days digging through the docs and trying 
various tweaks, all with no success.

The server is up, I can pst new messages and get them with ho problem.

Any hints on how to restore/recover the old messages would be greatly 
appreciated.

Re: Messages lost after upgrade
#65850
Author: Russ Allbery
Date: Mon, 23 Jun 2003 17:42
14 lines
1473 bytes
Richard Pyne <rpyne@shopsite.com> writes:

> I recently updated to INN-2.3.4 as part of an overall system update
> (Mandrake Linux), and now I can't see any of the pre-existing messages.

What did you upgrade from?  You may need to do an overview rebuild (see
the makehistory man page).

-- 
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: Messages lost after upgrade
#65852
Author: Paul Tomblin
Date: Mon, 23 Jun 2003 18:00
14 lines
1641 bytes
In a previous article, Richard Pyne <rpyne@shopsite.com> said:
>The messages are still in the spool, my expire configuration is set to 
>never expire (*:A:never:never:never), but from a news client, it is 
>treating everything as if all of the old messages have expired.

Does the active file have the numbers of the old messages, or did you
reset it to zero?  Does "grephistory '<messageid>'" find old messages?


-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
USER, n.:
	The word computer professionals use when they mean "idiot".
Re: Messages lost after upgrade
#65851
Author: Richard Pyne
Date: Mon, 23 Jun 2003 18:22
16 lines
1730 bytes
Unfortunately, I didn't check the version before the upgrade (I was too 
worried about other things breaking), but it was most likely 2.3.2

Russ Allbery wrote:
> Richard Pyne <rpyne@shopsite.com> writes:
> 
> 
>>I recently updated to INN-2.3.4 as part of an overall system update
>>(Mandrake Linux), and now I can't see any of the pre-existing messages.
> 
> 
> What did you upgrade from?  You may need to do an overview rebuild (see
> the makehistory man page).
> 

Re: Messages lost after upgrade
#65853
Author: Richard Pyne
Date: Mon, 23 Jun 2003 18:24
21 lines
1846 bytes
The active entry is:

forum.shopsite 0000009214 0000006000 y

grephistory doesn't find anything, not even the new test message I 
posted after the update.

Paul Tomblin wrote:
> In a previous article, Richard Pyne <rpyne@shopsite.com> said:
> 
>>The messages are still in the spool, my expire configuration is set to 
>>never expire (*:A:never:never:never), but from a news client, it is 
>>treating everything as if all of the old messages have expired.
> 
> 
> Does the active file have the numbers of the old messages, or did you
> reset it to zero?  Does "grephistory '<messageid>'" find old messages?
> 
> 

Re: Messages lost after upgrade
#65855
Author: Richard Pyne
Date: Mon, 23 Jun 2003 18:46
29 lines
1989 bytes
Okay, I did:

su - news
cd db
ctlinnd throttle to rebuild history
makehistory -b -f history.n -O -l 30000 -I
makedbz -s `wc -l < history` -f history.n
mv history.n history
mv history.n.dir history.dir
mv history.n.pag history.pag
ctlinnd go to rebuild history

I then went to my news reader (mozilla), deleted that account, 
re-created the account, subscribed to the news group, did a get 
messages, and all it sees is the test message I posted after the update.

Russ Allbery wrote:
> Richard Pyne <rpyne@shopsite.com> writes:
> 
> 
>>I recently updated to INN-2.3.4 as part of an overall system update
>>(Mandrake Linux), and now I can't see any of the pre-existing messages.
> 
> 
> What did you upgrade from?  You may need to do an overview rebuild (see
> the makehistory man page).
> 

Re: Messages lost after upgrade
#65856
Author: Paul Tomblin
Date: Mon, 23 Jun 2003 18:55
23 lines
1982 bytes
In a previous article, Richard Pyne <rpyne@shopsite.com> said:
>grephistory doesn't find anything, not even the new test message I 
>posted after the update.

Either you're doing it wrong, or your history file is seriously pooched.
Make sure you're including the single quotes and the open/close angle
brackets (less than, greater than signs) around the message id.

For instance, to find your post, I'd say

  grephistory '<bd7gla$59k@dispatch.concentric.net>'

which on this machine, with timecaf, returns

  @0400003EF745001300000000000000000000@

Look at your history file, make sure all your messages are in it.


-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
Recursion: n., see Recursion.
Re: Messages lost after upgrade
#65857
Author: Richard Pyne
Date: Mon, 23 Jun 2003 19:50
30 lines
2212 bytes
I must have been doing it wrong. I can now find the old messages using 
grephistory. Of course this is after having rebuilt the history and 
overview files.

But I still can't see the old messages from a news client.

Paul Tomblin wrote:
> In a previous article, Richard Pyne <rpyne@shopsite.com> said:
> 
>>grephistory doesn't find anything, not even the new test message I 
>>posted after the update.
> 
> 
> Either you're doing it wrong, or your history file is seriously pooched.
> Make sure you're including the single quotes and the open/close angle
> brackets (less than, greater than signs) around the message id.
> 
> For instance, to find your post, I'd say
> 
>   grephistory '<bd7gla$59k@dispatch.concentric.net>'
> 
> which on this machine, with timecaf, returns
> 
>   @0400003EF745001300000000000000000000@
> 
> Look at your history file, make sure all your messages are in it.
> 
> 

Re: Messages lost after upgrade
#65858
Author: Jeffrey M. Vinocur
Date: Mon, 23 Jun 2003 19:55
16 lines
1535 bytes
In article <bd7lmo$59f@dispatch.concentric.net>,
Richard Pyne  <rpyne@shopsite.com> wrote:
>I must have been doing it wrong. I can now find the old messages using 
>grephistory. Of course this is after having rebuilt the history and 
>overview files.
>
>But I still can't see the old messages from a news client.

If you take the result of grephistory (a "token") and feed it to
$pathbin/sm, do you get the article?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Messages lost after upgrade
#65859
Author: Richard Pyne
Date: Mon, 23 Jun 2003 20:13
17 lines
1757 bytes
Jeffrey M. Vinocur wrote:
> In article <bd7lmo$59f@dispatch.concentric.net>,
> Richard Pyne  <rpyne@shopsite.com> wrote:
> 
>>I must have been doing it wrong. I can now find the old messages using 
>>grephistory. Of course this is after having rebuilt the history and 
>>overview files.
>>
>>But I still can't see the old messages from a news client.
> 
> 
> If you take the result of grephistory (a "token") and feed it to
> $pathbin/sm, do you get the article?

Yes, that works.

Re: Messages lost after upgrade
#65860
Author: Paul Tomblin
Date: Mon, 23 Jun 2003 20:24
20 lines
1781 bytes
In a previous article, Richard Pyne <rpyne@shopsite.com> said:
>Jeffrey M. Vinocur wrote:
>> If you take the result of grephistory (a "token") and feed it to
>> $pathbin/sm, do you get the article?
>
>Yes, that works.

Ok, how about telnetting to your nnrp port (probably 119), doing a "mode
reader" and trying all the stuff a news reader would do, like
  head <messageid>
  list active
  group groupname
  xover postnumber



-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
There are two ways to write error-free programs.  Only the third one works.
Re: Messages lost after upgrade
#65861
Author: Richard Pyne
Date: Mon, 23 Jun 2003 20:36
64 lines
3293 bytes
Paul Tomblin wrote:
> In a previous article, Richard Pyne <rpyne@shopsite.com> said:
> 
>>Jeffrey M. Vinocur wrote:
>>
>>>If you take the result of grephistory (a "token") and feed it to
>>>$pathbin/sm, do you get the article?
>>
>>Yes, that works.
> 
> 
> Ok, how about telnetting to your nnrp port (probably 119), doing a "mode
> reader" and trying all the stuff a news reader would do, like
>   head <messageid>
>   list active
>   group groupname
>   xover postnumber

That appears to work:

200 news.shopsite.com InterNetNews NNRP server INN 2.3.4 ready (posting ok).
mode reader
200 news.shopsite.com InterNetNews NNRP server INN 2.3.4 ready (posting ok).
head <3BF44D13.7020206@earthlink.net>
221 0 <3BF44D13.7020206@earthlink.net> head
Path: news.shopsite.com!not-for-mail
From: New Earth Records <nerweb@earthlink.net>
Newsgroups: forum.shopsite
Subject: Re: Cart looses items
Date: Thu, 15 Nov 2001 16:17:39 -0700
Organization: New Earth Records
Lines: 26
Message-ID: <3BF44D13.7020206@earthlink.net>
References: <9sp4b9$cu5$1@support.shopsite.com>
Reply-To: nerweb@earthlink.net
NNTP-Posting-Host: dialupn41.albq.uswest.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: support.shopsite.com 1005866254 1808 63.225.8.104 (15 Nov 2001 
23:17:34 GMT)
X-Complaints-To: news@news.shopsite.com
NNTP-Posting-Date: 15 Nov 2001 23:17:34 GMT
User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:0.9.2) 
Gecko/20010726 Netscape6/6.1
X-Accept-Language: en,pdf
Xref: news.shopsite.com forum.shopsite:6632
..
list active
215 Newsgroups in form "group high low flags".
control.cancel 0000000022 0000000023 y
to 0000000000 0000000001 y
forum.shopsite 0000009214 0000006000 y
shopsite.support 0000006000 0000006000 =forum.shopsite
..
group forum.shopsite
211 4 9214 9214 forum.shopsite
xover postnumber
224 postnumber fields follow
..
quit
205 .

Re: Messages lost after upgrade
#65862
Author: Richard Pyne
Date: Mon, 23 Jun 2003 20:47
24 lines
2001 bytes
Paul Tomblin wrote:
> In a previous article, Richard Pyne <rpyne@shopsite.com> said:
> 
>>Jeffrey M. Vinocur wrote:
>>
>>>If you take the result of grephistory (a "token") and feed it to
>>>$pathbin/sm, do you get the article?
>>
>>Yes, that works.
> 
> 
> Ok, how about telnetting to your nnrp port (probably 119), doing a "mode
> reader" and trying all the stuff a news reader would do, like
>   head <messageid>
>   list active
>   group groupname
>   xover postnumber
> 

Doing some more playing, I find that head <message number> works for the 
new test message but returns "423 Bad article number" for previous 
messages while head <message id> works for both.

Re: Messages lost after upgrade
#65865
Author: Paul Tomblin
Date: Mon, 23 Jun 2003 22:18
20 lines
1986 bytes
In a previous article, Richard Pyne <rpyne@shopsite.com> said:
>>   xover postnumber

I didn't mean literally "postnumber", I mean the actual article number.

>Doing some more playing, I find that head <message number> works for the 
>new test message but returns "423 Bad article number" for previous 
>messages while head <message id> works for both.

It sounds like nnrpd can't find the old articles, even though you say that
grephistory can.  That's very odd.  Any chance that nnrpd didn't get
restarted?


-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
<<<You've got to love a newsreader with a menu option named "Kill this Author".
<<Does it work? And if so, is the death traceable?
<Nah, but Dave the Resurrector will just bring 'em back again.
Re: Messages lost after upgrade
#65866
Author: Paul Tomblin
Date: Mon, 23 Jun 2003 22:19
19 lines
1796 bytes
In a previous article, Richard Pyne <rpyne@shopsite.com> said:
>forum.shopsite 0000009214 0000006000 y
>shopsite.support 0000006000 0000006000 =forum.shopsite
>.
>group forum.shopsite
>211 4 9214 9214 forum.shopsite

This indicates that in spite of what the active file says, about there
being articles numbered 6000 to 9214, nnrpd only knows about article 9214.
That is bad.




-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
What is a committee?  A group of the unwilling, picked from the unfit, to
do the unnecessary.  -- Richard Harkness, _The New York Times_, 1960
Re: Messages lost after upgrade
#65868
Author: GregMo
Date: Mon, 23 Jun 2003 22:30
25 lines
2038 bytes
Richard Pyne <rpyne@shopsite.com> wrote in news:bd7p1o
$59k@dispatch.concentric.net:

> Doing some more playing, I find that head <message number> works for the 
> new test message but returns "423 Bad article number" for previous 
> messages while head <message id> works for both.

This is stupid, but it's the stupid things that will often bite us in the 
ass....

Check your client and make sure that it's not set to not pull articles 
greater than a certain date.  This is exactly the kinda thing I'd do to 
myself, heh...

Cheers,
GregMo

-- 
The shortest sentence in the English language: "No."
 The longest sentence in the English language: "I do."

UNIX Sex
{look;find;talk;grep;touch;finger;find;flex;unzip;mount;workbone;
fsck;yes;gasp;fsck;yes;eject;umount;makeclean;zip;split;done;exit}
Re: Messages lost after upgrade
#65883
Author: Richard Pyne
Date: Tue, 24 Jun 2003 14:56
50 lines
2874 bytes
Paul Tomblin wrote:
> In a previous article, Richard Pyne <rpyne@shopsite.com> said:
> 
>>>  xover postnumber
> 
> 
> I didn't mean literally "postnumber", I mean the actual article number.

I realized that after I posted the reply. It works for the new messages 
but not the old.

>>Doing some more playing, I find that head <message number> works for the 
>>new test message but returns "423 Bad article number" for previous 
>>messages while head <message id> works for both.
> 
> 
> It sounds like nnrpd can't find the old articles, even though you say that
> grephistory can.  That's very odd.  Any chance that nnrpd didn't get
> restarted?

I can't find any indication for nnrpd in any of the startup files. by 
rc.news is the default that shiped with the distribution. My guess is 
that it is set for innd to start nnrpd.

Other hints that have come up are that the hourly cron is failing:

run-parts: /etc/cron.hourly/inn-cron-rnews exited with return code 1

which contains:

-----------------
#!/bin/sh

/sbin/chkconfig innd && /usr/bin/rnews -U
---------------------------

reading the man page, though, makes me think that I should just remove 
this cron job as I am operating a stand alone news server.

I also find that after news.daily has run, the active file no longer 
lists the old messages:

forum.shopsite 0000009218 0000009214 y

(actual message numbers start at 6000)

This makes me wonder if these messages actually got expired somehow and 
if so is there a way to unexpire them.

Re: Messages lost after upgrade
#65884
Author: Paul Tomblin
Date: Tue, 24 Jun 2003 15:19
49 lines
2968 bytes
In a previous article, Richard Pyne <rpyne@shopsite.com> said:
>Paul Tomblin wrote:
>> grephistory can.  That's very odd.  Any chance that nnrpd didn't get
>> restarted?
>
>I can't find any indication for nnrpd in any of the startup files. by 
>rc.news is the default that shiped with the distribution. My guess is 
>that it is set for innd to start nnrpd.

Yes, that's the usual way, but sometimes people run nnrpd as a deamon
listening to 119 and have innd listing for feeds on a different port.

>run-parts: /etc/cron.hourly/inn-cron-rnews exited with return code 1
>
>which contains:
>
>-----------------
>#!/bin/sh
>
>/sbin/chkconfig innd && /usr/bin/rnews -U

What does chkconfig think is wrong with innd then?

>I also find that after news.daily has run, the active file no longer 
>lists the old messages:
>
>forum.shopsite 0000009218 0000009214 y
>
>(actual message numbers start at 6000)
>
>This makes me wonder if these messages actually got expired somehow and 
>if so is there a way to unexpire them.

This is why I was so baffled at your assertian that grephistory could find
the old messages.  Because it really is acting like the old messages
aren't in the history at all.

Are you sure they are/were in history?
Can you rebuild the history file again and find them?
Did your upgrade move history to a different place so you're looking at
one history file but innd is really using a different one?


-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
Never underestimate the bandwidth of a station wagon full of
tapes hurtling down the highway.
         -- Andrew Tannenbaum possibly quoting Warren Jackson
Re: Messages lost after upgrade
#65888
Author: Richard Pyne
Date: Tue, 24 Jun 2003 17:44
360 lines
11951 bytes
Paul Tomblin wrote:
> In a previous article, Richard Pyne <rpyne@shopsite.com> said:
> 
>>Paul Tomblin wrote:
>>
>>>grephistory can.  That's very odd.  Any chance that nnrpd didn't get
>>>restarted?
>>
>>I can't find any indication for nnrpd in any of the startup files. by 
>>rc.news is the default that shiped with the distribution. My guess is 
>>that it is set for innd to start nnrpd.
> 
> 
> Yes, that's the usual way, but sometimes people run nnrpd as a deamon
> listening to 119 and have innd listing for feeds on a different port.
> 
> 
>>run-parts: /etc/cron.hourly/inn-cron-rnews exited with return code 1
>>
>>which contains:
>>
>>-----------------
>>#!/bin/sh
>>
>>/sbin/chkconfig innd && /usr/bin/rnews -U
> 
> 
> What does chkconfig think is wrong with innd then?

When I run the command as in the cron job manually there is no report of 
anything. My thoughts are that since there is nothing for rnews to feed 
it just exits.

>>I also find that after news.daily has run, the active file no longer 
>>lists the old messages:
>>
>>forum.shopsite 0000009218 0000009214 y
>>
>>(actual message numbers start at 6000)
>>
>>This makes me wonder if these messages actually got expired somehow and 
>>if so is there a way to unexpire them.
> 
> 
> This is why I was so baffled at your assertian that grephistory could find
> the old messages.  Because it really is acting like the old messages
> aren't in the history at all.
> 
> Are you sure they are/were in history?
> Can you rebuild the history file again and find them?
> Did your upgrade move history to a different place so you're looking at
> one history file but innd is really using a different one?

I have just done:

------------------------------------------------
su - news
cd db
ctlinnd throttle to rebuild history
makehistory -b -f history.n -O -l 30000 -I
makedbz -s `wc -l < history` -f history.n
mv history.n history
mv history.n.dir history.dir
mv history.n.pag history.pag
ctlinnd go to rebuild history
ctlinnd renumber forum.shopsite

grephistory '<9sp8sh$d90$1@support.shopsite.com>' (article number 6615) 
returns: @050100000005000019D70000000000000000@

grephistory '<bd9hpe$6co$1@support.shopsite.com>' (article number 9217) 
returns: @050100000005000024010000000000000000@

telneting in and issueing commands manually produces:

$ telnet news.shopsite.com 119
Trying 65.107.12.165...
Connected to news.shopsite.com (65.107.12.165).
Escape character is '^]'.
200 news.shopsite.com InterNetNews NNRP server INN 2.3.4 ready (posting ok).

mode reader
200 news.shopsite.com InterNetNews NNRP server INN 2.3.4 ready (posting ok).

group forum.shopsite
211 10 9214 9218 forum.shopsite

head <9sp8sh$d90$1@support.shopsite.com>
221 0 <9sp8sh$d90$1@support.shopsite.com> head
Path: news.shopsite.com!not-for-mail
From: "Matt Flood" <mflood@tcpalm.com>
Newsgroups: forum.shopsite
Subject: Search Help Please!!
Date: Mon, 12 Nov 2001 14:50:37 -0500
Organization: TCPalm.com
Lines: 23
Message-ID: <9sp8sh$d90$1@support.shopsite.com>
NNTP-Posting-Host: umfw02.scripps.com
X-Trace: support.shopsite.com 1005594321 13600 204.78.62.254 (12 Nov 
2001 19:45:21 GMT)
X-Complaints-To: news@news.shopsite.com
NNTP-Posting-Date: 12 Nov 2001 19:45:21 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Xref: news.shopsite.com forum.shopsite:6615
..

head 6615
423 Bad article number

head <bd9hpe$6co$1@support.shopsite.com>
221 0 <bd9hpe$6co$1@support.shopsite.com> head
Path: news.shopsite.com!not-for-mail
From: "Nikolaus Gruchot" <gruchot@watersafety.net>
Newsgroups: forum.shopsite
Subject: ?! Empty newsgroup / question concerning IP/hostname
Date: Mon, 23 Jun 2003 16:39:05 +0200
Organization: ShopSite
Lines: 20
Message-ID: <bd9hpe$6co$1@support.shopsite.com>
NNTP-Posting-Host: pd9e77028.dip.t-dialin.net
X-Trace: support.shopsite.com 1056459374 6552 217.231.112.40 (24 Jun 
2003 12:56:14 GMT)
X-Complaints-To: news@support.shopsite.com
NNTP-Posting-Date: Tue, 24 Jun 2003 12:56:14 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Xref: news.shopsite.com forum.shopsite:9217
..

head 9217
221 9217 <bd9hpe$6co$1@support.shopsite.com> head
Path: news.shopsite.com!not-for-mail
From: "Nikolaus Gruchot" <gruchot@watersafety.net>
Newsgroups: forum.shopsite
Subject: ?! Empty newsgroup / question concerning IP/hostname
Date: Mon, 23 Jun 2003 16:39:05 +0200
Organization: ShopSite
Lines: 20
Message-ID: <bd9hpe$6co$1@support.shopsite.com>
NNTP-Posting-Host: pd9e77028.dip.t-dialin.net
X-Trace: support.shopsite.com 1056459374 6552 217.231.112.40 (24 Jun 
2003 12:56:14 GMT)
X-Complaints-To: news@support.shopsite.com
NNTP-Posting-Date: Tue, 24 Jun 2003 12:56:14 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Xref: news.shopsite.com forum.shopsite:9217
..
---------------------------------------------

running "find / -name history -print"
produces only:

/usr/share/games/freeciv/history
/var/lib/news/history
/root/.mc/history

My inn.conf file contains:

-----------------------------------------------
##  $Id: inn.conf.in,v 1.41.2.1 2000/07/17 06:46:17 rra Exp $
##
##  inn.conf -- INN configuration data
##
##  Format:
##      <parameter>:<whitespace><value>
##
##  Blank values are allowed for certain parameters.
##
##  See the inn.conf(5) man page for a full description of each of these
##  options.  This sample file is divided into two sections; first, there
##  are the parameters that must be set (or should be set in nearly all
##  cases), and then all parameters are given with their defaults for
##  reference in the same order and with the same organization as the
##  inn.conf(5) documentation.

# The following parameters are most likely to need setting, although the
# defaults generated by configure may be reasonable.

mta:                    /usr/sbin/sendmail -oi -oem %s
organization:           ShopSite
ovmethod:               tradindexed
pathhost:               news.shopsite.com
pathnews:               /usr

# General Settings

domain:                 news.shopsite.com
innflags:
mailcmd:                /usr/bin/innmail
server:

# Feed Configuration

artcutoff:              14
bindaddress:            all
hiscachesize:           0
ignorenewsgroups:       false
immediatecancel:        false
linecountfuzz:          0
maxartsize:             1000000
maxconnections:         50
pathalias:
pgpverify:              false
port:                   119
refusecybercancels:     false
remembertrash:          true
sourceaddress:
usecontrolchan:         true
verifycancels:          false
wanttrash:              false
wipcheck:               5
wipexpire:              10

# Article Storage

cnfscheckfudgesize:     0
enableoverview:         true
groupbaseexpiry:        true
mergetogroups:          false
overcachesize:          15
ovgrouppat:
storeonxref:            false
useoverchan:            false
wireformat:             false
xrefslave:              false

# Reading

allownewnews:           true
articlemmap:            false
clienttimeout:          1800
nnrpdcheckart:          true
nnrpperlauth:           false
nnrppythonauth:         false
noreader:               false
readerswhenstopped:     false
readertrack:            false

# Reading -- Keyword Support
#
# Enabling this without stopping innd and deleting the existing overview
# database and adding will probably confuse a lot of things.  You must
# have compiled this support in too.

keywords:               false
keyartlimit:            100000
keylimit:               512
keymaxwords:            250

# Posting

addnntppostingdate:     true
addnntppostinghost:     true
checkincludedtext:      false
complaints:
fromhost:
localmaxartsize:        1000000
moderatormailer:
nnrpdauthsender:        false
nnrpdposthost:
nnrpdpostport:          119
spoolfirst:             false
strippostcc:            false

# Posting -- Exponential Backoff

backoffauth:            false
backoffdb:
backoffk:               1
backoffpostfast:        0
backoffpostslow:        1
backofftrigger:         10000

# Monitoring

doinnwatch:             false
innwatchbatchspace:     800
innwatchlibspace:       25000
innwatchloload:         1000
innwatchhiload:         2000
innwatchpauseload:      1500
innwatchsleeptime:      600
innwatchspoolnodes:     200
innwatchspoolspace:     8000

# Logging

docnfsstat:             false
logartsize:             true
logcancelcomm:          false
logcycles:              3
logipaddr:              true
logsitename:            true
nnrpdoverstats:         false
nntpactsync:            200
nntplinklog:            false
status:                 0
timer:                  0

# System Tuning

badiocount:             5
blockbackoff:           120
chaninacttime:          600
chanretrytime:          300
icdsynccount:           10
maxforks:               10
nicekids:               0
nicenewnews:            0
nicennrpd:              0
pauseretrytime:         300
peertimeout:            3600
rlimitnofile:           -1

# Paths

patharchive:            /var/spool/news/archive
patharticles:           /var/spool/news/articles
pathbin:                /usr/bin
pathcontrol:            /usr/bin/control
pathdb:                 /var/lib/news
pathetc:                /etc/news
pathfilter:             /usr/bin/filter
pathhttp:               /var/log/news
pathincoming:           /var/spool/news/incoming
pathlog:                /var/log/news
pathoutgoing:           /var/spool/news/outgoing
pathoverview:           /var/spool/news/overview
pathrun:                /var/run/news
pathspool:              /var/spool/news
pathtmp:                /var/spool/news/tmp
-----------------------------------------------

The only non-comment lines in expire.ctl are:

--------------------------
/remember/:14
*:A:never:never:never
*.answers:M:1:35:90
news.announce.*:M:1:35:90
--------------------------

The only non-comment lines in storage.conf are:

--------------------------
method tradspool {
        class: 1
        newsgroups: *
}
--------------------------

Re: Messages lost after upgrade
#65890
Author: Russ Allbery
Date: Tue, 24 Jun 2003 18:38
35 lines
2294 bytes
Richard Pyne <rpyne@shopsite.com> writes:

> grephistory '<9sp8sh$d90$1@support.shopsite.com>' (article number 6615)
> returns: @050100000005000019D70000000000000000@

contrib/showtoken says that this is:

type=tradspool class=1 ng=00000005 art=6615

which looks right.  But just to be sure, check
~news/spool/articles/tradspool.map and make sure that the number 5 is
mapped to that newsgroup.

> head 6615
> 423 Bad article number

These retrievals are based on the overview information.  So it looks to me
like your history information is correct and your overview information has
the wrong tokens for the messages.

You're using tradindexed.  I don't remember, are you using INN 2.4.0?  If
so, you can see exactly what is in the overview index for that group by
issuing the command:

    tdx-util -i -n forum.shopsite

If you are using INN 2.4.0, could you try issuing that command and seeing
what it says?

-- 
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: Messages lost after upgrade
#65895
Author: Richard Pyne
Date: Tue, 24 Jun 2003 20:12
38 lines
2487 bytes
Russ Allbery wrote:
> Richard Pyne <rpyne@shopsite.com> writes:
> 
> 
>>grephistory '<9sp8sh$d90$1@support.shopsite.com>' (article number 6615)
>>returns: @050100000005000019D70000000000000000@
> 
> 
> contrib/showtoken says that this is:
> 
> type=tradspool class=1 ng=00000005 art=6615
> 
> which looks right.  But just to be sure, check
> ~news/spool/articles/tradspool.map and make sure that the number 5 is
> mapped to that newsgroup.

tradspool.map has the correct mapping

>>head 6615
>>423 Bad article number
> 
> 
> These retrievals are based on the overview information.  So it looks to me
> like your history information is correct and your overview information has
> the wrong tokens for the messages.
> 
> You're using tradindexed.  I don't remember, are you using INN 2.4.0?  If
> so, you can see exactly what is in the overview index for that group by
> issuing the command:
> 
>     tdx-util -i -n forum.shopsite
> 
> If you are using INN 2.4.0, could you try issuing that command and seeing
> what it says?

I'm running INN 2.3.4

Re: Messages lost after upgrade
#65896
Author: Paul Tomblin
Date: Tue, 24 Jun 2003 20:17
16 lines
1963 bytes
In a previous article, Russ Allbery <rra@stanford.edu> said:
>These retrievals are based on the overview information.  So it looks to me
>like your history information is correct and your overview information has
>the wrong tokens for the messages.

You're right.  He gave me a login into his machine.  I removed
overview/f/s/*, did a makehistory -O, and now it appears that you can do
"head nnnn" on message numbers.  So I'm guessing his newsreader will work
as well.


-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
"Every computer crashes, because every OS sucks"
  - Three Dead Trolls In A Baggie, "Every OS Sucks" http://mp3.com/deadtroll/
Re: Messages lost after upgrade
#65897
Author: Russ Allbery
Date: Tue, 24 Jun 2003 20:17
18 lines
1864 bytes
Richard Pyne <rpyne@shopsite.com> writes:
> Russ Allbery wrote:

>> These retrievals are based on the overview information.  So it looks to
>> me like your history information is correct and your overview
>> information has the wrong tokens for the messages.

> I'm running INN 2.3.4

Well, so, your overview is broken.  Have you deleted all of your overview
directory and then rebuilt overview?  That might work better.

-- 
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: Messages lost after upgrade
#65898
Author: Russ Allbery
Date: Tue, 24 Jun 2003 20:23
22 lines
2037 bytes
Paul Tomblin <ptomblin@xcski.com> writes:
> In a previous article, Russ Allbery <rra@stanford.edu> said:

>> These retrievals are based on the overview information.  So it looks to
>> me like your history information is correct and your overview
>> information has the wrong tokens for the messages.

> You're right.  He gave me a login into his machine.  I removed
> overview/f/s/*, did a makehistory -O, and now it appears that you can do
> "head nnnn" on message numbers.  So I'm guessing his newsreader will
> work as well.

With earlier versions of INN, you generally had to delete all the existing
overview for a rebuilt to fully take effect.  I *think* I fixed that for
tradindexed in INN 2.4.

-- 
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: Messages lost after upgrade
#65900
Author: Richard Pyne
Date: Tue, 24 Jun 2003 20:49
29 lines
2258 bytes
I just want to express my sincere thanks to all those who helped me 
solve this problem, especially Paul Tomblin who so graciously offered 
direct assistance.

--Richard

Richard Pyne wrote:
> I am a news newby tasked with maintaining our company news server.
> 
> I recently updated to INN-2.3.4 as part of an overall system update 
> (Mandrake Linux), and now I can't see any of the pre-existing messages.
> 
> The configuration is a publicaly accessable local only news server with 
> only one newsgroup, used as a technical support forum.
> 
> The messages are still in the spool, my expire configuration is set to 
> never expire (*:A:never:never:never), but from a news client, it is 
> treating everything as if all of the old messages have expired.
> 
> I have spent most of the last 3 days digging through the docs and trying 
> various tweaks, all with no success.
> 
> The server is up, I can pst new messages and get them with ho problem.
> 
> Any hints on how to restore/recover the old messages would be greatly 
> appreciated.
> 

Re: Messages lost after upgrade
#66088
Author: cira
Date: Fri, 11 Jul 2003 00:29
44 lines
3318 bytes
Russ Allbery wrote:
> Paul Tomblin <ptomblin@xcski.com> writes:
>> In a previous article, Russ Allbery <rra@stanford.edu> said:
> 
>>> These retrievals are based on the overview information.  So it looks to
>>> me like your history information is correct and your overview
>>> information has the wrong tokens for the messages.
> 
>> You're right.  He gave me a login into his machine.  I removed
>> overview/f/s/*, did a makehistory -O, and now it appears that you can do
>> "head nnnn" on message numbers.  So I'm guessing his newsreader will
>> work as well.

I'm trying to re-introduce messages from a back up and I have 
something similar to Richard.  I'm trying to restore old 
messages to a new server.  If I put the messages in place 
(I'm using time-hash) and re-run makehistory, after 
appropriately throttling, grephistory and sm can find the messages
but clients can't.  So, following along I though that there
was something about "overview" that I could delete.  But maybe
I'm not using an overview?  Is "overview/f/s/*" a set of files?
slocate doesn't find anything of that form.  So I can't delete
them.

0 root@chaljin:/var/lib/news 410# locate overview
/etc/news/news/overview.ctl
/etc/news/news/overview.fmt
/etc/news/overview.fmt
/usr/share/doc/postgresql-doc/html/overview.html
/usr/share/man/man5/overview.fmt.5.gz
0 root@chaljin:/var/lib/news 411#

> With earlier versions of INN, you generally had to delete all the existing
> overview for a rebuilt to fully take effect.  I *think* I fixed that for
> tradindexed in INN 2.4.

I'm using 2.4 but with timehash.

cira
-- 
   .''`.          /\/'`\    sam_george@comcast.net
  : :' :        .::/:::::..    .  irc://fslc.usu.edu/#cira
  `. `'    ) .//::(:###( )::.._/^  gps:41°45'N 111°49'W
    `- ..:@://"  ,|)   _/.        gpg:1024D/A7AAF777
Re: Messages lost after upgrade
#66089
Author: Paul Tomblin
Date: Fri, 11 Jul 2003 01:22
19 lines
2021 bytes
In a previous article, cira <sam_george@comcast.net> said:
>I'm not using an overview?  Is "overview/f/s/*" a set of files?
>slocate doesn't find anything of that form.  So I can't delete

Well, on my machine they're on 
/var/spool/news/overview/<a>/<b>/<ng>.DAT
/var/spool/news/overview/<a>/<b>/<ng>.IDX

where <a> is the first letter of the first segment of the newsgroup name,
<b> is the first letter of the second segment of the newsgroup name, and
<ng> is the name of the newsgroup.  So the overview for news.software.nntp
would be /var/spool/news/overview/n/s/n/news.software.nntp.*



-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
"Fly the airplane, then work the problem"
                -- Rick Grant (quoting RCAF pilot training)
Re: Messages lost after upgrade
#66090
Author: Jeffrey M. Vinocur
Date: Fri, 11 Jul 2003 03:34
33 lines
2231 bytes
In article <vlWdnYUIr-5qmZOiXTWJhw@comcast.com>,
cira  <sam_george@comcast.net> wrote:
>
>I'm trying to re-introduce messages from a back up and I have 
>something similar to Richard.  I'm trying to restore old 
>messages to a new server.  If I put the messages in place 
>(I'm using time-hash) and re-run makehistory, after 
>appropriately throttling, grephistory and sm can find the messages
>but clients can't.

Did you include -O when you ran makehistory?


>So, following along I though that there
>was something about "overview" that I could delete.  But maybe
>I'm not using an overview?  Is "overview/f/s/*" a set of files?

Check enableoverview: in inn.conf to know if you're using
overview, and then ovmethod: to know which one (the directory
tree you describe above is the "tradindexed" overview method,
others may look different).

If you want to support readers, you'll need overview.


>I'm using 2.4 but with timehash.

Well, timehash is a storage method, not an overview method.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Messages lost after upgrade
#66092
Author: cira
Date: Fri, 11 Jul 2003 17:09
26 lines
2511 bytes
Paul Tomblin wrote:

> In a previous article, cira <sam_george@comcast.net> said:
>>I'm not using an overview?  Is "overview/f/s/*" a set of files?
>>slocate doesn't find anything of that form.  So I can't delete
> 
> Well, on my machine they're on 
> /var/spool/news/overview/<a>/<b>/<ng>.DAT
> /var/spool/news/overview/<a>/<b>/<ng>.IDX
> 
> where <a> is the first letter of the first segment of the newsgroup name,
> <b> is the first letter of the second segment of the newsgroup name, and
> <ng> is the name of the newsgroup.  So the overview for news.software.nntp
> would be /var/spool/news/overview/n/s/n/news.software.nntp.*

Thank you!  I should have remembered that by default slocate 
does not search /var/spool/ .  Knowing how much time I've 
spent recently in /var/spool/news/ though I'm not quite sure 
how I missed it.

cira
-- 
   .''`.          /\/'`\    sam_george@comcast.net
  : :' :        .::/:::::..    .  irc://fslc.usu.edu/#cira
  `. `'    ) .//::(:###( )::.._/^  gps:41°45'N 111°49'W
    `- ..:@://"  ,|)   _/.        gpg:1024D/A7AAF777
Re: Messages lost after upgrade
#66094
Author: cira
Date: Fri, 11 Jul 2003 17:24
52 lines
3042 bytes
Jeffrey M. Vinocur wrote:
> cira  <sam_george@comcast.net> wrote:
>
>>I'm trying to re-introduce messages from a back up and I have 
>>something similar to Richard.  I'm trying to restore old 
>>messages to a new server.  If I put the messages in place 
>>(I'm using time-hash) and re-run makehistory, after 
>>appropriately throttling, grephistory and sm can find the messages
>>but clients can't.
> 
> Did you include -O when you ran makehistory?

ah.  no.

>>So, following along I though that there
>>was something about "overview" that I could delete.  But maybe
>>I'm not using an overview?  Is "overview/f/s/*" a set of files?
> 
> Check enableoverview: in inn.conf to know if you're using
> overview, and then ovmethod: to know which one (the directory
> tree you describe above is the "tradindexed" overview method,
> others may look different).
> 
> If you want to support readers, you'll need overview.
> 
>>I'm using 2.4 but with timehash.
> 
> Well, timehash is a storage method, not an overview method.

ovmethod:               tradindexed
enableoverview:         true

You seem to be correct, on all points.

innctl throttle makehistory
makehistory -a -O
innctl go makehistory

and all is well.  Also as Russ reported, with 2.4 it seems 
that deleting the overview was unnecessary, as I never did 
it.

Thank you very much!

cira
-- 
   .''`.          /\/'`\    sam_george@comcast.net
  : :' :        .::/:::::..    .  irc://fslc.usu.edu/#cira
  `. `'    ) .//::(:###( )::.._/^  gps:41°45'N 111°49'W
    `- ..:@://"  ,|)   _/.        gpg:1024D/A7AAF777

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