🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
15 messages
15 total messages Started by Geoff Brozny Thu, 25 Dec 2003 23:29
INN not expiring all articles
#67544
Author: Geoff Brozny
Date: Thu, 25 Dec 2003 23:29
49 lines
2765 bytes
looking at my news.daily report today I saw this:

Bad entry, "nl.hobby"
/usr/lib/news/bin/news.daily: line 1: 16051 Segmentation fault
expireover -z/var/log/news/expire.rm -Z/var/log/news/expire.lowmark
Expire messages:
expireover start Thu Dec 25 04:06:02 EST 2003:
( -z/var/log/news/expire.rm -Z/var/log/news/expire.lowmark) expireover end
Thu Dec 25 04:16:44 EST 2003 lowmarkrenumber begin Thu Dec 25 04:16:44 EST
2003: (/var/log/news/expire.lowmark) lowmarkrenumber end Thu Dec 25 04:16:45
EST 2003
 expirerm start Thu Dec 25 04:16:45 EST 2003
 expirerm end Thu Dec 25 04:28:31 EST 2003 expire begin Thu Dec 25 04:29:01
EST 2003: (-v1)
    Article lines processed  4930601
    Articles retained        4923909
    Entries expired             6692
    Old entries dropped            0
    Old entries retained     5961391
expire end Thu Dec 25 04:35:41 EST 2003
 all done Thu Dec 25 04:35:41 EST 2003
---------

It seems  something is wrong with line 1 of the news.daily script, however,
line 1 is  this: #!/bin/sh so I dont see what it's problem is..

I have the following in the expire.ctl file:

/remember/:35
#
##  Keep for 1-10 days, allow Expires headers to work.  This entry uses
##  the syntax appropriate when groupbaseexpiry is true in inn.conf.
*:A:1:27:30
alt.binaries*:A:0:5:7
junk:A:0:0:0
alt.test:A:0:1:1
alt.binaries.test:A:0:1:1

It has not quite been 30 days yet for the text articles to expire, however,
for alt.test and alt.binaries it has been more then a few days, yet there is
posts in those groups dated the 16th.

anyone have any ideas? I'm running INN 2.3.4 on RH9

thanks,

geoff

Re: INN not expiring all articles
#67545
Author: Russ Allbery
Date: Thu, 25 Dec 2003 23:34
24 lines
2062 bytes
Geoff Brozny <gbrozny@glorb.columbus.oh.us> writes:

> looking at my news.daily report today I saw this:

> Bad entry, "nl.hobby"
> /usr/lib/news/bin/news.daily: line 1: 16051 Segmentation fault

This usually means that innconfval is segfaulting, but not always.  That's
the first place I'd try, at least.

> It has not quite been 30 days yet for the text articles to expire,
> however, for alt.test and alt.binaries it has been more then a few days,
> yet there is posts in those groups dated the 16th.

Are they crossposted?

Also look in the list of articles fed to expirerm and see what expire
found to delete.

-- 
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: INN not expiring all articles
#67547
Author: Geoff Brozny
Date: Thu, 25 Dec 2003 23:52
67 lines
4001 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87ekus79pe.fsf@windlord.stanford.edu...
> > Bad entry, "nl.hobby"
> > /usr/lib/news/bin/news.daily: line 1: 16051 Segmentation fault
>
> This usually means that innconfval is segfaulting, but not always.  That's
> the first place I'd try, at least.

can you tell me exactly what to do in more detail? I'm kind of new to INN,
have not quite been running it for a month yet, and I am still learning.

> Are they crossposted?

some are, but most are not, and I have went to google, and saw some of your
older posts about cross posted stuff, so I know exactly what your going to
say..

>
> Also look in the list of articles fed to expirerm and see what expire
> found to delete.


well, I'm kind of thinking the history kind of got hosed, right after I
posted this I went and tried to find exactly when expire broke, and it seems
to have broke around the time when I kind of bumped into my news server,
causing the box to not shutdown clean, I found this in one of the daily
reports I did not look at until now:

Bad entry, "al724"
/usr/lib/news/bin/news.daily: line 1: 21013 Segmentation fault
expireover -z/var/log/news/expire.rm -Z/var/log/news/expire.lowmark
Expire messages:
expireover start Sun Dec 21 04:11:59 EST 2003:
( -z/var/log/news/expire.rm -Z/var/log/news/expire.lowmark)
expireover end Sun Dec 21 04:23:44 EST 2003
lowmarkrenumber begin Sun Dec 21 04:23:44 EST 2003:
(/var/log/news/expire.lowmark)
lowmarkrenumber end Sun Dec 21 04:23:45 EST 2003
 expirerm start Sun Dec 21 04:23:45 EST 2003
 expirerm end Sun Dec 21 04:24:20 EST 2003
expire begin Sun Dec 21 04:24:50 EST 2003: (-v1)
    Duplicate message-id "[2E998C923B8E0E63D8D86CD3913B8E00]" in history
    Duplicate message-id "[595202344B4DEDBE90A7C593FD6A0265]" in history
    Duplicate message-id "[CC280A613102FA08E47C9E8779EA4D8C]" in history
    Duplicate message-id "[8B0C9D97887781AF2E6E39DE675B5072]" in history
    Duplicate message-id "[75FC7E4D1723E473B535AA03E57B5C8D]" in history
    Duplicate message-id "[7A36434D0E296D8E654C6D364937B320]" in history
    Duplicate message-id "[05FC873A6C1B1F58EE506B7EF12A66D2]" in history
    Duplicate message-id "[A68F13A7613917C74F9939977077FA28]" in history
    Duplicate message-id "[79598C49213371B600E8B678638DEBA4]" in history
    Duplicate message-id "[10A8FAAB3E4057CFC28E1AFA4FF66254]" in history
    Duplicate message-id "[D0124F71B0B3C46481B31630DA54F2D0]" in history
    Duplicate message-id "[D8072BC335D99A4E172131CD4D243B61]" in history



so should I try to rebuild my history? and whats the command to do that
while INN is running, I do not want to drop posts, and I really cannot
afford any downtime.

thanks,

geoff


Re: INN not expiring all articles
#67546
Author: Russ Allbery
Date: Fri, 26 Dec 2003 00:39
30 lines
2525 bytes
Geoff Brozny <gbrozny@glorb.columbus.oh.us> writes:
> "Russ Allbery" <rra@stanford.edu> wrote:

>> This usually means that innconfval is segfaulting, but not always.
>> That's the first place I'd try, at least.

> can you tell me exactly what to do in more detail? I'm kind of new to
> INN, have not quite been running it for a month yet, and I am still
> learning.

You can try just running innconfval and see if it segfaults.

> well, I'm kind of thinking the history kind of got hosed, right after I
> posted this I went and tried to find exactly when expire broke, and it
> seems to have broke around the time when I kind of bumped into my news
> server, causing the box to not shutdown clean, I found this in one of
> the daily reports I did not look at until now:

> Bad entry, "al724"

I'm really wondering what's causing these "bad entry" lines and whether
that's related to the segfault that you're seeing.  The duplicate message
ID messages are fine; that's history cleaning up after itself and it knows
how to do that.

-- 
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: INN not expiring all articles
#67548
Author: Geoff Brozny
Date: Fri, 26 Dec 2003 00:47
112 lines
2616 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87k74k5s4o.fsf@windlord.stanford.edu...
> Geoff Brozny <gbrozny@glorb.columbus.oh.us> writes:
> You can try just running innconfval and see if it segfaults.

nope, it gives me the following output:

/usr/sbin/sendmail -oi -oem %s
Glorb Internet Services http://www.glorb.com
buffindexed
news.glorb.com
/usr/lib/news
glorb.com

/usr/lib/news/bin/innmail
news.glorb.com
10

512
false
false
0
1000000000
50

false
119
false
true

true
false
false
5
10
0
true
true
false
15

false
true
false
false
true
false
600
true
false
false
false
false
false
false
100000
512
250
true
true
false
abuse*munged*@glorb.com
news.glorb.com
1000000
newsmaster*munged*@glorb.com
false

119
false
false
false

1
0
1
10000
false
800
25000
1000
2000
1500
600
200
8000
false
true
false
3
true
true
false
200
false
0
0


> Bad entry, "al724"
>
> I'm really wondering what's causing these "bad entry" lines and whether
> that's related to the segfault that you're seeing.  The duplicate message
> ID messages are fine; that's history cleaning up after itself and it knows
> how to do that.

it only did that the day after the unclean shutdown, it has never done that
again.

geoff

Re: INN not expiring all articles
#67549
Author: Russ Allbery
Date: Fri, 26 Dec 2003 00:55
33 lines
2628 bytes
Geoff Brozny <gbrozny@glorb.columbus.oh.us> writes:
> "Russ Allbery" <rra@stanford.edu> wrote:

>> Bad entry, "al724"
>> 
>> I'm really wondering what's causing these "bad entry" lines and whether
>> that's related to the segfault that you're seeing.  The duplicate message
>> ID messages are fine; that's history cleaning up after itself and it knows
>> how to do that.

> it only did that the day after the unclean shutdown, it has never done that
> again.

Right, that's normal and expected.

Okay, so something in the expire process is segfaulting.  I think it might
be expireover, since it's what prints out "Bad entry".  It looks like you
have a corrupt overview line in one of your overview database entries, and
while the expire code should deal with this, I'm wondering if that's
making something unhappy.

You can't rebuild overview without shutting the system down since you're
not running INN 2.4.0 or later (which can fix many overview problems on
the fly).

Just to double-check, you do have group-based expire turned on in
inn.conf, right?

-- 
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: INN not expiring all articles
#67550
Author: Geoff Brozny
Date: Fri, 26 Dec 2003 01:03
26 lines
2148 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87fzf85re0.fsf@windlord.stanford.edu...

> Okay, so something in the expire process is segfaulting.  I think it might
> be expireover, since it's what prints out "Bad entry".  It looks like you
> have a corrupt overview line in one of your overview database entries, and
> while the expire code should deal with this, I'm wondering if that's
> making something unhappy.
>
> You can't rebuild overview without shutting the system down since you're
> not running INN 2.4.0 or later (which can fix many overview problems on
> the fly).

got an estimate of how much time that would cause me to be off-air?

>
> Just to double-check, you do have group-based expire turned on in
> inn.conf, right?


yes, that is set to true.

geoff

Re: INN not expiring all articles
#67551
Author: Russ Allbery
Date: Fri, 26 Dec 2003 01:13
17 lines
2086 bytes
Geoff Brozny <gbrozny@glorb.columbus.oh.us> writes:
> "Russ Allbery" <rra@stanford.edu> wrote:

>> You can't rebuild overview without shutting the system down since
>> you're not running INN 2.4.0 or later (which can fix many overview
>> problems on the fly).

> got an estimate of how much time that would cause me to be off-air?

It depends a great deal on how large your spool is.  For a small spool,
it's an hour or two; for a large spool, it can be quite a bit longer.

-- 
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: INN not expiring all articles
#67553
Author: Geoff Brozny
Date: Fri, 26 Dec 2003 01:22
16 lines
1850 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87brpw5ql1.fsf@windlord.stanford.edu...
 > got an estimate of how much time that would cause me to be off-air?
>
> It depends a great deal on how large your spool is.  For a small spool,
> it's an hour or two; for a large spool, it can be quite a bit longer.


about 300gb... so it would be a while..

so what exactly do I need to do to recreate the overview?

geoff

Re: INN not expiring all articles
#67552
Author: Russ Allbery
Date: Fri, 26 Dec 2003 01:41
20 lines
2509 bytes
Geoff Brozny <gbrozny@glorb.columbus.oh.us> writes:

> so what exactly do I need to do to recreate the overview?

See the makehistory man page.

Another option would be to download and build INN 2.4.0 without installing
it and just run the tdx-util program in storage/tradindexed to see if it
can fix the problem.  2.4.0 uses the same overview format as the version
you're running, so that program should work.  You'll need to be sure to
compile 2.4.0 with exactly the same configuration (particularly with
respect to the installation prefix and large file support).  tdx-util -A
will look for problems and should be safe; it won't change anything.
tdx-util -F will try to fix those problems.

-- 
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: INN not expiring all articles
#67554
Author: Geoff Brozny
Date: Fri, 26 Dec 2003 01:58
27 lines
2622 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87oetwtkxs.fsf@windlord.stanford.edu...
>
> Another option would be to download and build INN 2.4.0 without installing
> it and just run the tdx-util program in storage/tradindexed to see if it
> can fix the problem.  2.4.0 uses the same overview format as the version
> you're running, so that program should work.  You'll need to be sure to
> compile 2.4.0 with exactly the same configuration (particularly with
> respect to the installation prefix and large file support).  tdx-util -A
> will look for problems and should be safe; it won't change anything.
> tdx-util -F will try to fix those problems.
>


Well, I used the rpm that came with rh9, and I know now that was a mistake,
so what I'm going to most likey end up doing is setting up a temp box, and
make  it news.glorb.com and let it handle the feeds while overview gets
rebuilt, then try to feed the articles back to the regular box, once
overview rebuilds.. going to be some work, but I do not want to miss any
posts as well as tick off my peers..

thanks,.

geoff

Re: INN not expiring all articles
#67555
Author: Russ Allbery
Date: Fri, 26 Dec 2003 02:07
22 lines
2762 bytes
Geoff Brozny <gbrozny@glorb.columbus.oh.us> writes:

> Well, I used the rpm that came with rh9, and I know now that was a
> mistake, so what I'm going to most likey end up doing is setting up a
> temp box, and make it news.glorb.com and let it handle the feeds while
> overview gets rebuilt, then try to feed the articles back to the regular
> box, once overview rebuilds.. going to be some work, but I do not want
> to miss any posts as well as tick off my peers..

This is relatively straightforward.  With your new server, set up an
outgoing feed to your old server in newsfeeds using the nntpsend syntax,
but don't actually run nntpsend.  That INN will accept messages and build
a batch file for sending to your old server when it's ready.

Then, when you have the old server back up, just run nntpsend on the
temporary server, and it will send all the articles over.

-- 
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: INN not expiring all articles
#67556
Author: Geoff Brozny
Date: Fri, 26 Dec 2003 02:14
19 lines
2222 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87fzf8tjqk.fsf@windlord.stanford.edu...
>
> This is relatively straightforward.  With your new server, set up an
> outgoing feed to your old server in newsfeeds using the nntpsend syntax,
> but don't actually run nntpsend.  That INN will accept messages and build
> a batch file for sending to your old server when it's ready.
>
> Then, when you have the old server back up, just run nntpsend on the
> temporary server, and it will send all the articles over.


will the old server reject the articles because they would have
news.glorb.com in the headers already if I do it that way?

geoff

Re: INN not expiring all articles
#67557
Author: Russ Allbery
Date: Fri, 26 Dec 2003 02:16
14 lines
2185 bytes
Geoff Brozny <gbrozny@glorb.columbus.oh.us> writes:

> will the old server reject the articles because they would have
> news.glorb.com in the headers already if I do it that way?

No, that filtering is done by the upstream feed, so unless you set up
newsfeeds to filter out those messages in the temp server, they'll get
through.

-- 
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: INN not expiring all articles
#67558
Author: Geoff Brozny
Date: Fri, 26 Dec 2003 02:22
15 lines
2013 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87brpwtjbk.fsf@windlord.stanford.edu...
> No, that filtering is done by the upstream feed, so unless you set up
> newsfeeds to filter out those messages in the temp server, they'll get
> through.


thats what I figured..

thanks for your help, I appreciate it.

geoff

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