🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #65888

Re: Messages lost after upgrade

#65888
From: 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: *
}
--------------------------

Technical Details
Message-ID: <bda2lg$597@dispatch.concentric.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!logbridge.uoregon.edu!newshub.sdsu.edu!elnk-pas-nf2!elnk-pas-nf1!newsfeed.earthlink.net!nntp-out.svc.us.xo.net!nntp1-feeder.SJ.svc.us.xo.net!newsfeed.concentric.net!sjc1.nntp.concentric.net!nntp-master.svc.us.xo.net
References: <bd7dgf$59f@dispatch.concentric.net> <bd7p1o$59k@dispatch.concentric.net> <bd7ubd$r7v$1@allhats.xcski.com> <bd9oqv$59f@dispatch.concentric.net> <bd9q5n$fkp$1@allhats.xcski.com>

Show Full Headers
Complete Article Headers
Message-ID: <bda2lg$597@dispatch.concentric.net>
Subject: Re: Messages lost after upgrade
Date: Tue, 24 Jun 2003 17:44:16 +0000
From: Richard Pyne <rpyne@shopsite.com>
References: <bd7dgf$59f@dispatch.concentric.net> <bd7p1o$59k@dispatch.concentric.net> <bd7ubd$r7v$1@allhats.xcski.com> <bd9oqv$59f@dispatch.concentric.net> <bd9q5n$fkp$1@allhats.xcski.com>
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!logbridge.uoregon.edu!newshub.sdsu.edu!elnk-pas-nf2!elnk-pas-nf1!newsfeed.earthlink.net!nntp-out.svc.us.xo.net!nntp1-feeder.SJ.svc.us.xo.net!newsfeed.concentric.net!sjc1.nntp.concentric.net!nntp-master.svc.us.xo.net
Newsgroups: news.software.nntp
Organization: Concentric Internet Services
Lines: 359
NNTP-Posting-Host: 65.107.12.162
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
In-Reply-To: <bd9q5n$fkp$1@allhats.xcski.com>
X-Enigmail-Version: 0.73.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime