🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
24 messages
24 total messages Started by Mike O'Connor Thu, 22 Feb 1996 00:00
cant dbzstore Cross-device link?
#5159
Author: Mike O'Connor
Date: Thu, 22 Feb 1996 00:00
15 lines
1242 bytes
Just received this message twice and poof, innd stopped running twice!
The machine wasn't loaded at the time.  I checked the FAQ for anything
close, but there's no disk errors in the logs, no disk space issues, and
I fsck-ed every partition by hand and found nothing bad.  I rebooted, 
and I hope the machine was just in some sort of "bad" state, but I have
NO idea of why I'd be receiving this error.  This system has been running
reasonably stably for months.

--
 Michael J. O'Connor                                 Internet: mjo@dojo.mi.org
 InterNIC WHOIS: MJO                                 http://www.coast.net/~mjo

"It's a lot more fun to blame things than to fix them."               -Calvin

Re: cant dbzstore Cross-device link?
#5164
Author: Richard Michael Todd
Date: Thu, 22 Feb 1996 00:00
39 lines
2957 bytes
In article <960222115449.AA23195@dojo> Mike O'Connor <mjo@dojo.mi.org> writes:
>Just received this message twice and poof, innd stopped running twice!

Yeah.  I've seen this too today.
The "Cross-device link" part is bogus, a stray errno value left over from
innd's usual operation.  What happened is this: your system received this
article (or one like it; there may be more than one of these articles
floating about, since you say your news server died twice):
----------------------------------------------------------------------
Newsgroups: alt.test
Path: news.wildstar.net!imci5!imci4!newsfeed.internetmci.com!in1.uu.net!news.ak.net!nowhere
From: phantom@opera.com (Phantom of the Opera)
Subject: cmsg cancel <312bdb7e.228994718@news.ak.net>
Sender: Phantom of the Opera
Message-ID: <312be2de.230881309@news.ak.net>
Date: Thu, 22 Feb 1996 03:29:13 GMT
Approved: phantom@opera.com
Control: cancel <312bdb7e.228994718@news.ak.net> <312bdb7f.229057109@news.ak.net> <312bdb80.229101894@news.ak.net> <312bdb81.229177263@news.ak.net> <312bdb82.229240355@news.ak.net> <312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bdf29.229932149@news.ak.net>
NNTP-Posting-Host: phantom.opera.com
Organization: PBS
X-Newsreader: Forte Free Agent 1.0.82
Lines: 1
----------------------------------------------------------------------
Note the 'Control: cancel' line with the bogus msgid.  Innd sees this and 
puts an entry into history with the msgid of the cancelled message:
----------------------------------------------------------------------
<312bdb7e.228994718@news.ak.net> <312bdb7f.229057109@news.ak.net> <312bdb80.229101894@news.ak.net> <312bdb81.229177263@news.ak.net> <312bdb82.229240355@news.ak.net> <312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bdf29.229932149@news.ak.net>	824989929~-~824959753	
----------------------------------------------------------------------
innd/dbz then tries to enter this (corrupt) message-id into the dbz .dir/.pag
files, pukes in dbzstore, and dies.  

This was on a machine running inn1.4unoff3.  
-- 
Richard Todd   rmtodd@mailhost.ecn.uoknor.edu  rmtodd@servalan.servalan.com
	rmtodd@wildstar.net
"This unprovoked rant was brought to you by the letters R,F and C and the 
number 977." -- Nathan J. Mehl.

Re: cant dbzstore Cross-device link?
#5174
Author: Jim Jagielski
Date: Thu, 22 Feb 1996 00:00
20 lines
1465 bytes
Mike O'Connor <mjo@dojo.mi.org> writes:

>Heh heh heh...  there's nothing "wrong" with my system, at least not from
>a hardware perspective <whew>.  Just found another Linux system that died
>with the same error, and lo and behold, this article was the last article
>processed both times.  I don't think it's coincidence:

Happened to us too, and we aren't even running Linux.

We're running unoff2 on A/UX and it happened around 6:30 and 8:30am,
Eastern time.

Ugg. Nasty (stupid) control article... Time to hack.
-- 
Jim Jagielski  << jim@jaguNET.com >>   |      "That's a Smith & Wesson,
  **  jaguNET Access Services  **      |       and you've had your six" 
      Email: info@jaguNET.com          |             - James Bond
++    http://www.jaguNET.com/         +++      Voice/Fax: 410-931-7060       ++

Re: cant dbzstore Cross-device link?
#5175
Author: Jan Hrdonka
Date: Thu, 22 Feb 1996 00:00
42 lines
2278 bytes
-----BEGIN PGP SIGNED MESSAGE-----

Mike O'Connor (mjo@dojo.mi.org) wrote:
: >Newsgroups: alt.test
: >Path: trellis.wwnet.com!news.inc.net!imci5!imci4!newsfeed.internetmci.com!in1.uu.net!news.ak.net!nowhere
: >From: phantom@opera.com (Phantom of the Opera)
: >Subject: cmsg cancel <312bdb7e.228994718@news.ak.net>
: >Sender: Phantom of the Opera
: >Message-ID: <312be2de.230881309@news.ak.net>
: >Date: Thu, 22 Feb 1996 03:29:13 GMT
: >Approved: phantom@opera.com
: >Control: cancel <312bdb7e.228994718@news.ak.net> <312bdb7f.229057109@news.ak.net> <312bdb80.229101894@news.ak.net> <312bdb81.229177263@news.ak.net> <312bdb82.229240355@news.ak.net> <312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bdf29.229932149@news.ak.net>
: >NNTP-Posting-Host: phantom.opera.com
: >Organization: PBS
: >X-Newsreader: Forte Free Agent 1.0.82

  Yeah, you've got it. It happened to me today too.
There was a strange entry at the end of my history file:
<312bdb7e.228994718@news.ak.net> <312bdb7f.229057109@news.ak.net> <312bdb80.
229101894@news.ak.net> <312bdb81.229177263@news.ak.net> <312bdb82.229240355@
news.ak.net> <312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.ne
t> <312bdf29.229932149@news.ak.net> 825016079~-~824959753

  H.

PS: our system is
  BSDI1.1, INN1.4unoff3 (CFLAGS=-DMMAP,ACT_STYLE=READ), dbzV3.4 (C-news)
- --
Jan Hrdonka <hrd@eunet.cz>

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: ascii

iQCVAwUBMSzL0kX42ABg0mNZAQEDgQP/fTjgt8wWWdiDXDYyrJ+uVdmIG/QHV5KQ
HErwQfVIGLKB88Lzavvp9Yj+L/QEwtl9Iku8Dlc/nbDm1OtVNQal30ozgslK5J5t
wt/gbOv+Z9q7XgkSNfzxDyNBCxJ9vudiS8JPjX56TL4kj9W38P0AZ4Y6LY1rr+Qb
IQCCLRCKCe8=
=v7HN
-----END PGP SIGNATURE-----

Re: cant dbzstore Cross-device link?
#5177
Author: Mike O'Connor
Date: Thu, 22 Feb 1996 00:00
26 lines
1876 bytes
Heh heh heh...  there's nothing "wrong" with my system, at least not from
a hardware perspective <whew>.  Just found another Linux system that died
with the same error, and lo and behold, this article was the last article
processed both times.  I don't think it's coincidence:

>Newsgroups: alt.test
>Path: trellis.wwnet.com!news.inc.net!imci5!imci4!newsfeed.internetmci.com!in1.uu.net!news.ak.net!nowhere
>From: phantom@opera.com (Phantom of the Opera)
>Subject: cmsg cancel <312bdb7e.228994718@news.ak.net>
>Sender: Phantom of the Opera
>Message-ID: <312be2de.230881309@news.ak.net>
>Date: Thu, 22 Feb 1996 03:29:13 GMT
>Approved: phantom@opera.com
>Control: cancel <312bdb7e.228994718@news.ak.net> <312bdb7f.229057109@news.ak.net> <312bdb80.229101894@news.ak.net> <312bdb81.229177263@news.ak.net> <312bdb82.229240355@news.ak.net> <312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bdf29.229932149@news.ak.net>
>NNTP-Posting-Host: phantom.opera.com
>Organization: PBS
>X-Newsreader: Forte Free Agent 1.0.82
>Lines: 1
 
--
 Michael J. O'Connor                                 Internet: mjo@dojo.mi.org
 InterNIC WHOIS: MJO                                 http://www.coast.net/~mjo

"Homework, I command thee, BE DONE!"                                   -Calvin

Re: cant dbzstore Cross-device link?
#5200
Author: Ross Druker
Date: Fri, 23 Feb 1996 00:00
47 lines
2432 bytes
In article <960222130424.AA24676@dojo>, Mike O'Connor <mjo@dojo.mi.org> 
wrote:
>Heh heh heh...  there's nothing "wrong" with my system, at least not from
>a hardware perspective <whew>.  Just found another Linux system that died
>with the same error, and lo and behold, this article was the last article
>processed both times.  I don't think it's coincidence:

We received the article you mentioned this morning and it caused the same 
error, but INN did not crash.  However, last night we received the article 
below with the error message and it did crash INN.  It's almost identical 
to the one you posted, (just a different ID, think -- bogus.id.net).

Does anyone know why it crashes?  Is it the multiple articles listed in a 
"cancel" message?

Newsgroups: alt.test
Path: 
bertha.ho.rohmhaas.com!newsserver.jvnc.net!newsserver2.jvnc.net!howland.re
ston.ans.net!vixen.cso.uiuc.edu!newsfeed.internetmci.com!in1.uu.net!news.ak
net!
nowhere
From: phantom@opera.com (Phantom of the Opera)
Subject: cmsg cancel <312bdadb.228829862@news.ak.net>
Sender: Phantom of the Opera
Message-ID: <312be107.230410169@bogus.id.net>
Date: Thu, 22 Feb 1996 03:26:51 GMT
Approved: phantom@opera.com
Control: cancel <312bdadb.228829862@news.ak.net> 
<312bdb7e.228994718@news.ak.net
> <312bdb7f.229057109@news.ak.net> <312bdb80.229101894@news.ak.net> 
<312bdb81.22
9177263@news.ak.net> <312bdb82.229240355@news.ak.net> 
<312bdb83.229306481@news.a
k.net> <312bdb84.229360426@news.ak.net> <312bdf29.229932149@news.ak.net>
NNTP-Posting-Host: phantom.opera.com
Organization: PBS
X-Newsreader: Forte Free Agent 1.0.82
Lines: 1
 
 

Ross Druker                            RDruker@RohmHaas.Com
Rohm and Haas Company                  (215) 619-5475
Spring House, PA 19477
The opinions expressed are mine and not the Rohm and Haas Company.

Re: cant dbzstore Cross-device link?
#5218
Author: Chris Lewis
Date: Fri, 23 Feb 1996 00:00
61 lines
2915 bytes
>-----BEGIN PGP SIGNED MESSAGE-----
>
>Mike O'Connor (mjo@dojo.mi.org) wrote:
>: >Newsgroups: alt.test
>: >Path: trellis.wwnet.com!news.inc.net!imci5!imci4!newsfeed.internetmci.com!in1.uu.net!news.ak.net!nowhere
>: >From: phantom@opera.com (Phantom of the Opera)
>: >Subject: cmsg cancel <312bdb7e.228994718@news.ak.net>
>: >Sender: Phantom of the Opera
>: >Message-ID: <312be2de.230881309@news.ak.net>
>: >Date: Thu, 22 Feb 1996 03:29:13 GMT
>: >Approved: phantom@opera.com
>: >Control: cancel <312bdb7e.228994718@news.ak.net> <312bdb7f.229057109@news.ak.net> <312bdb80.229101894@news.ak.net> <312bdb81.229177263@news.ak.net> <312bdb82.229240355@news.ak.net> <312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bdf29.229932149@news.ak.net>
>: >NNTP-Posting-Host: phantom.opera.com
>: >Organization: PBS
>: >X-Newsreader: Forte Free Agent 1.0.82
>
>  Yeah, you've got it. It happened to me today too.
>There was a strange entry at the end of my history file:
><312bdb7e.228994718@news.ak.net> <312bdb7f.229057109@news.ak.net> <312bdb80.
>229101894@news.ak.net> <312bdb81.229177263@news.ak.net> <312bdb82.229240355@
>news.ak.net> <312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.ne
>t> <312bdf29.229932149@news.ak.net> 825016079~-~824959753

This was a bogus cancel entered into an open NNTP port.

Here is an emergency patch that I think _should_ work:

In art.c, near the beginning, I inserted the code marked with "|":

STATIC void
ARTcontrol(Data, Control)
    ARTDATA             *Data;
    char                *Control;
{
    static char         CTLBIN[] = _PATH_CONTROLPROGS;
    register char       *p;
    char                buff[SMBUF];
    char                *av[6];
    struct stat         Sb;
    register char       c;

    /* See if it's a cancel message. */
    c = *Control;
    if (c == 'c' && EQn(Control, "cancel", 6)) {
        for (p = &Control[6]; ISWHITE(*p); p++)
            continue;
|        ( register char *q = p;
|            while(*q && !ISWHITE(*q)) q++;
|            if (*q)
|                *q = '\0';
|        }
        if (*p)
            ARTcancel(Data, p, FALSE);
        return;
    }

Now I have to somehow get it out of the history files....



Re: cant dbzstore Cross-device link?
#5220
Author: Mike O'Connor
Date: Fri, 23 Feb 1996 00:00
34 lines
2106 bytes
In article <4gkplg$4tp@anvil.msfc.nasa.gov>,
J. Porter Clark <jpc@anvil.msfc.nasa.gov> wrote:
:Curiously enough, my news server got two of these control messages and
:*stayed running*.
:
:Feb 22 05:31:37 hammer innd: ME cant dbzstore Error 0
:Feb 22 05:46:28 hammer innd: ME cant dbzstore Error 0
:
:Then, when expire ran, I got this:
:
:    Ignoring bad line, "<312bdadb.228829862@..."
:    Ignoring bad line, "<312bdb7e.228994718@..."
:  
:So it looks like we were unhurt.  Hmmm, I wonder if we have concealed
:damage...
:
:This was with INN 1.4unoff3 on Solaris 2.4.  I don't know that it
:matters, but we have a separate newsgroup for control.cancel.

It doesn't matter.  I have two Linux servers, one with control.cancel and
one with just control (I stole someone else's active file :) ).  Both of
them died when those messages passed through.  I shunned news.ak.net, then 
used grephistory -l/prunehistory to remove those articles from history.
But when I do a second grephistory to confirm their removal, they're
still there.  Doh!  I _thought_ that would be the right sort of answer,
but that doesn't appear to be the case.  Advice, anyone?

--
 Michael J. O'Connor                                 Internet: mjo@dojo.mi.org
 InterNIC WHOIS: MJO                                 http://www.coast.net/~mjo

"I am concerned that we are not shooting enough professors."            -Lenin

Re: cant dbzstore Cross-device link?
#5227
Author: Kragh Hertel
Date: Fri, 23 Feb 1996 00:00
34 lines
2439 bytes
Richard Michael Todd (rmtodd@ticonderoga.ecn.uoknor.edu) wrote:
: In article <960222115449.AA23195@dojo> Mike O'Connor <mjo@dojo.mi.org> writes:
: >Just received this message twice and poof, innd stopped running twice!
: ----------------------------------------------------------------------
: Note the 'Control: cancel' line with the bogus msgid.  Innd sees this and 
: puts an entry into history with the msgid of the cancelled message:
: ----------------------------------------------------------------------
: <312bdb7e.228994718@news.ak.net> <312bdb7f.229057109@news.ak.net> <312bdb80.229101894@news.ak.net> <312bdb81.229177263@news.ak.net> <312bdb82.229240355@news.ak.net> <312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bdf29.229932149@ne
ws.ak.net>	824989929~-~824959753	
: ----------------------------------------------------------------------
: innd/dbz then tries to enter this (corrupt) message-id into the dbz .dir/.pag
: files, pukes in dbzstore, and dies.  

: This was on a machine running inn1.4unoff3.  
: -- 
: Richard Todd   rmtodd@mailhost.ecn.uoknor.edu  rmtodd@servalan.servalan.com
: 	rmtodd@wildstar.net
: "This unprovoked rant was brought to you by the letters R,F and C and the 
: number 977." -- Nathan J. Mehl.

  OK, as a relative newbie-news-admin, who's been hit with the same (2)
articles and suffered the same shutdown, I have to ask:  Is there any
action required?  I've restarted via rc.news, but I have to wonder about
those entries now in the history.  Will expire run OK, or puke?  Is it
time to run makehistory, or not?  Enquiring newbie-admins want to know. 
  TIA.

--
Kragh Hertel (kragh@netonecom.net)
http://www.someday.ill.get.off.my.butt.and.make.a.homepage
ObQuote: You think education is expensive?  Try ignorance.


Re: cant dbzstore Cross-device link?
#5228
Author: Dawn Lovell
Date: Fri, 23 Feb 1996 00:00
28 lines
1952 bytes
In article <960223172510.AA17149@dojo>, Mike O'Connor  <mjo@dojo.mi.org> wrote:
 
>It doesn't matter.  I have two Linux servers, one with control.cancel and
>one with just control (I stole someone else's active file :) ).  Both of
>them died when those messages passed through.  I shunned news.ak.net, then 
>used grephistory -l/prunehistory to remove those articles from history.
>But when I do a second grephistory to confirm their removal, they're
>still there.  Doh!  I _thought_ that would be the right sort of answer,
>but that doesn't appear to be the case.  Advice, anyone?

Running fixhist and a makehistory -r took care of it here, and really
didn't take much time, either (on a 180Mb history file).  Fixhist is
available as a "Work-in-Progress" from David Barr's INN page 
(http://www.math.psu.edu/barr/INN.html), if you don't already have it.
Nifty script. :-)

Adding to the lists of errors caused by these articles, we received
"Feb 22 05:48:10 ns3 innd: ME cant dbzstore Invalid argument" and
the server (INN1.4sec) didn't even blink.  Expire was another story, 
though.

Dawn

Dawn Lovell                  "There is a time for thinking and a time
LDS I-America                 for NOT thinking.  And THIS isn't one
dlovell@iamerica.net          of them."  ...Paul the Samurai

Re: cant dbzstore Cross-device link?
#5229
Author: J. Porter Clark
Date: Fri, 23 Feb 1996 00:00
45 lines
2764 bytes
kragh@netone.netonecom.net (Kragh Hertel) writes:

>Richard Michael Todd (rmtodd@ticonderoga.ecn.uoknor.edu) wrote:
>: In article <960222115449.AA23195@dojo> Mike O'Connor <mjo@dojo.mi.org> writes:
>: >Just received this message twice and poof, innd stopped running twice!
>: ----------------------------------------------------------------------
>: Note the 'Control: cancel' line with the bogus msgid.  Innd sees this and 
>: puts an entry into history with the msgid of the cancelled message:
>: ----------------------------------------------------------------------
>: <312bdb7e.228994718@news.ak.net> <312bdb7f.229057109@news.ak.net> <312bdb80.229101894@news.ak.net> <312bdb81.229177263@news.ak.net> <312bdb82.229240355@news.ak.net> <312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bdf29.229932149@ne
>ws.ak.net>	824989929~-~824959753	
>: ----------------------------------------------------------------------
>: innd/dbz then tries to enter this (corrupt) message-id into the dbz .dir/.pag
>: files, pukes in dbzstore, and dies.  

>: This was on a machine running inn1.4unoff3.  

>  OK, as a relative newbie-news-admin, who's been hit with the same (2)
>articles and suffered the same shutdown, I have to ask:  Is there any
>action required?  I've restarted via rc.news, but I have to wonder about
>those entries now in the history.  Will expire run OK, or puke?  Is it
>time to run makehistory, or not?  Enquiring newbie-admins want to know. 

Curiously enough, my news server got two of these control messages and
*stayed running*.

Feb 22 05:31:37 hammer innd: ME cant dbzstore Error 0
Feb 22 05:46:28 hammer innd: ME cant dbzstore Error 0

Then, when expire ran, I got this:

    Ignoring bad line, "<312bdadb.228829862@..."
    Ignoring bad line, "<312bdb7e.228994718@..."
  
So it looks like we were unhurt.  Hmmm, I wonder if we have concealed
damage...

This was with INN 1.4unoff3 on Solaris 2.4.  I don't know that it
matters, but we have a separate newsgroup for control.cancel.

-- 
J. Porter Clark    jpc@hammer.msfc.nasa.gov
NASA/MSFC Flight Data Systems Branch

Re: cant dbzstore Cross-device link?
#5237
Author: Chris Lewis
Date: Fri, 23 Feb 1996 00:00
22 lines
1269 bytes
In article <4gkvqr$fu2@bcarh8ab.bnr.ca>,
Chris Lewis <clewis@ferret.ocunix.on.ca> wrote:

>    /* See if it's a cancel message. */
>    c = *Control;
>    if (c == 'c' && EQn(Control, "cancel", 6)) {
>        for (p = &Control[6]; ISWHITE(*p); p++)
>            continue;
>|        ( register char *q = p;
          ^ left brace
>|            while(*q && !ISWHITE(*q)) q++;
>|            if (*q)
>|                *q = '\0';
>|        }
>        if (*p)
>            ARTcancel(Data, p, FALSE);
>        return;
>    }

Obviously a typo.  Should be left brace.

Re: cant dbzstore Cross-device link?
#5240
Author: SO Kwok Tsun
Date: Sat, 24 Feb 1996 00:00
18 lines
1421 bytes
dlovell@dmarc.iamerica.net (Dawn Lovell) writes:

>Running fixhist and a makehistory -r took care of it here, and really
>didn't take much time, either (on a 180Mb history file).  Fixhist is
>available as a "Work-in-Progress" from David Barr's INN page 
>(http://www.math.psu.edu/barr/INN.html), if you don't already have it.
>Nifty script. :-)

I would suggest to replace the typed tab in the strip() to \t instead.
My browser lynx convert it to 4 spaces when I choose save.  It may not
happen in other browsers though.

--
SO Kwok Tsun                              [Ĭ��T]
Information Technology Service Unit, CUHK [���䤤��j�Ǹ�T��ުA�ȳB]
Email: ktso@cuhk.edu.hk

Re: cant dbzstore Cross-device link?
#5244
Author: patrick
Date: Sat, 24 Feb 1996 00:00
23 lines
1589 bytes
: Running fixhist and a makehistory -r took care of it here, and really
: didn't take much time, either (on a 180Mb history file).  Fixhist is
: available as a "Work-in-Progress" from David Barr's INN page 
: (http://www.math.psu.edu/barr/INN.html), if you don't already have it.
: Nifty script. :-)

: Adding to the lists of errors caused by these articles, we received
: "Feb 22 05:48:10 ns3 innd: ME cant dbzstore Invalid argument" and
: the server (INN1.4sec) didn't even blink.  Expire was another story, 
: though.

I got a "ME cant dbzstore no such file or directory." Curious thing is 
that expire ran fine.


/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Patrick Greenwell				         (510) 943-5769 voice
	System Administrator		           (510) 210-2000 modem
		Value Net, Inc.		   (510) 943-1708 fax
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/


Re: cant dbzstore Cross-device link?
#5245
Author: Kevin Brooks
Date: Sat, 24 Feb 1996 00:00
13 lines
1191 bytes
Mike O'Connor wrote:

> But when I do a second grephistory to confirm their removal, they're
> still there.  Doh!  I _thought_ that would be the right sort of answer,
> but that doesn't appear to be the case.  Advice, anyone?

Does anyone know the correct answer?  Should we worry about the bogus entries
in the history file or will they just fall out themselves with no intervention?

Regards,
Kevin

Re: cant dbzstore Cross-device link?
#5254
Author: Per Hedeland
Date: Sun, 25 Feb 1996 00:00
47 lines
4207 bytes
In article <4gkplg$4tp@anvil.msfc.nasa.gov> jpc@anvil.msfc.nasa.gov (J. Porter Clark) writes:
>Curiously enough, my news server got two of these control messages and
>*stayed running*.

I find it more curious that so many died - the servers here, one 1.4sec2
and the other 1.4unoff3, both stayed running, and I can see nothing in
the code of either that would cause it to crash or exit on this
condition - the only result was the bogus history line.

>    Ignoring bad line, "<312bdadb.228829862@..."
>    Ignoring bad line, "<312bdb7e.228994718@..."
>  
>So it looks like we were unhurt.  Hmmm, I wonder if we have concealed
>damage...

Don't think so, my unoff3 server did the same, and all seems fine - the
sec2 one needs it history fixed manually though, as others have reported
expire won't move the new files in place - it seems the articles are
being removed though.

Grepping for '<.*<' in that history file (see below), it turns out that
bogus cancels/supersedes like these aren't new, and that there were more
than the two that caused the dbzstore failure in this batch - the fatal
problem with those that failed was that the *length* of the "message-ID"
exceeded DBZMAXKEY. ARTidok() will catch that too, of course.

--Per Hedeland
per@erix.ericsson.se

Logged errors:
Feb 22 23:33:06 erinews innd: ME cant dbzstore Interrupted system call
Feb 23 23:38:33 erinews innd: ME cant dbzstore Interrupted system call

Grep of history (arrival dates prepended):
Feb 9 08:14:38:<animation-faq-3.1@avalon.chinalake.navy.mil> <animation-faq-2.11@avalon.chinalake.navy.mil> <animation-faq-2.10@avalon.chinalake.navy.mil>	823850078~-
Feb 12 07:28:45:<<4fj7v2@news-e2a.gnn.com>	824106525~-
Feb 22 23:33:06:<312bdadb.228829862@news.ak.net> <312bdb7e.228994718@news.ak.net> <312bdb7f.229057109@news.ak.net> <312bdb80.229101894@news.ak.net> <312bdb81.229177263@news.ak.net> <312bdb82.229240355@news.ak.net> <312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bdf29.229932149@news.ak.net>	825028386~-~824959611	
Feb 23 05:23:47:<312bdb81.229177263@news.ak.net> <312bdb82.229240355@news.ak.net> <312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bdf29.229932149@news.ak.net>	825049427~-~824959885	
Feb 23 19:12:27:<312bdb80.229101894@news.ak.net> <312bdb81.229177263@news.ak.net> <312bdb82.229240355@news.ak.net> <312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bdf29.229932149@news.ak.net>	825099147~-~824959845	
Feb 23 23:38:33:<312bdb7e.228994718@news.ak.net> <312bdb7f.229057109@news.ak.net> <312bdb80.229101894@news.ak.net> <312bdb81.229177263@news.ak.net> <312bdb82.229240355@news.ak.net> <312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bdf29.229932149@news.ak.net>	825115113~-~824959753	
Feb 23 23:51:52:<312bdb7f.229057109@news.ak.net> <312bdb80.229101894@news.ak.net> <312bdb81.229177263@news.ak.net> <312bdb82.229240355@news.ak.net> <312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bdf29.229932149@news.ak.net>	825115912~-~824959798	
Feb 23 23:52:29:<312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bdf29.229932149@news.ak.net>	825115949~-~824959965	
Feb 23 23:52:55:<312bdb82.229240355@news.ak.net> <312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bdf29.229932149@news.ak.net>	825115975~-~824959925	
Feb 23 23:53:08:<312bdb84.229360426@news.ak.net> <312bdf29.229932149@news.ak.net>	825115988~-~824960017	


Re: cant dbzstore Cross-device link?
#5264
Author: Michael R. Thompson
Date: Mon, 26 Feb 1996 00:00
37 lines
1815 bytes
In article <4grtmi$sqi@papaioea.manawatu.gen.nz>,
alan@papaioea.manawatu.planet.org.nz (Alan Brown) wrote:

> In article <960222130424.AA24676@dojo>, Mike O'Connor  <mjo@dojo.mi.org>
wrote:
> 
> >>Control: cancel <312bdb7e.228994718@news.ak.net>
<312bdb7f.229057109@news.ak.net> <312bdb80.229101894@news.ak.net>
<312bdb81.229177263@news.ak.net> <312bdb82.229240355@news.ak.net>
<312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bd
> f29.229932149@news.ak.net>
> 
> probably this line which did the damage...
> 

This happened on our system as well. It killed the server several times.

Thinking I had a corrupt history file I ran

makehistory -buv -T /usr/lib/news/tmp

using the alternate directory because I had more free room there. Now when
news.daily runs I'm getting these errors from expire:

    Can't store key, No such file or directory
    Expire errors: history files not updated.

and I end up with history.n, history.n.dir, etc. in /usr/lib/news. Any
idea why and how I can fix this?

Thanks

-- 
Michael R. Thompson                 mclick@netdepot.com
NetDepot                            admin@netdepot.com

Re: cant dbzstore Cross-device link?
#5284
Author: Alan Brown
Date: Mon, 26 Feb 1996 00:00
17 lines
1330 bytes
In article <960222130424.AA24676@dojo>, Mike O'Connor  <mjo@dojo.mi.org> wrote:

>>Control: cancel <312bdb7e.228994718@news.ak.net> <312bdb7f.229057109@news.ak.net> <312bdb80.229101894@news.ak.net> <312bdb81.229177263@news.ak.net> <312bdb82.229240355@news.ak.net> <312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bd
f29.229932149@news.ak.net>

probably this line which did the damage...

AB



-- 
"But you can't say they have arrived to classify your nervous lies
 What's right, what's not, what may not be. Don't try your tricky tests on me
 For I won't live in fear my friend - that every day could be my end"

Re: cant dbzstore Cross-device link?
#5288
Author: Mike O'Connor
Date: Mon, 26 Feb 1996 00:00
20 lines
1552 bytes
In article <4gsf91$3r3@papaioea.manawatu.gen.nz>,
Alan Brown <alan@papaioea.manawatu.planet.org.nz> wrote:
:>This was with INN 1.4unoff3 on Solaris 2.4.  I don't know that it
:>matters, but we have a separate newsgroup for control.cancel.
:
:We're running unoff2 here, but again, separate groups for each
:control function....

This isn't a factor -- at least not with the two Linux systems I run,
running identical binaries no less.  :) One has separate groups for each
control function.  One didn't (snarfed a different active file).  Both
died in the same way.  I think it's more a function of OS than anything.
 
--
 Michael J. O'Connor                                 Internet: mjo@dojo.mi.org
 InterNIC WHOIS: MJO                                 http://www.coast.net/~mjo

"You have to use imaginary numbers, like eleventeen..."                -Calvin

Re: cant dbzstore Cross-device link?
#5291
Author: Martin J. Levy
Date: Mon, 26 Feb 1996 00:00
29 lines
1756 bytes
I had the same problem with the same article.  I fixed it by running
the perl script found at this URL:

        http://www.math.psu.edu/barr/fixhist

(How to run this program is in the file).  It handled all the mess that was
in the history file (and there were some very messy lines). It deleted the
message id shown below.


> In article <960222130424.AA24676@dojo>, Mike O'Connor  <mjo@dojo.mi.org>
wrote:
>
> >>Control: cancel <312bdb7e.228994718@news.ak.net>
<312bdb7f.229057109@news.ak.net> <312bdb80.229101894@news.ak.net>
<312bdb81.229177263@news.ak.net> <312bdb82.229240355@news.ak.net>
<312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bd
> f29.229932149@news.ak.net>
>
> probably this line which did the damage...
>


------------------------------------------------------------
Martin Levy         martin@ico.net       http://www.ico.net/
ICOnetworks
5617 Scotts Valley Drive, Suite 180, Scotts Valley, CA 95066

Re: cant dbzstore Cross-device link?
#5322
Author: Alan Brown
Date: Tue, 27 Feb 1996 00:00
31 lines
1674 bytes
In article <4gkplg$4tp@anvil.msfc.nasa.gov>,
J. Porter Clark <jpc@anvil.msfc.nasa.gov> wrote:

>Curiously enough, my news server got two of these control messages and
>*stayed running*.

Mine did too. :) :)

>Then, when expire ran, I got this:
>
>    Ignoring bad line, "<312bdadb.228829862@..."
>    Ignoring bad line, "<312bdb7e.228994718@..."

same here

>So it looks like we were unhurt.  Hmmm, I wonder if we have concealed
>damage...
>
>This was with INN 1.4unoff3 on Solaris 2.4.  I don't know that it
>matters, but we have a separate newsgroup for control.cancel.

We're running unoff2 here, but again, separate groups for each
control function....

AB
-- 
"But you can't say they have arrived to classify your nervous lies
 What's right, what's not, what may not be. Don't try your tricky tests on me
 For I won't live in fear my friend - that every day could be my end"

Re: cant dbzstore Cross-device link?
#5333
Author: Ralph Jud
Date: Wed, 28 Feb 1996 00:00
43 lines
2122 bytes
Deeran Peethamparam (deeranp@ocean.asianconnect.com) wrote:
> Heh.  Following up to my own article.  :-)

> Dave Barr kindly replied :

> > From barr@math.psu.edu Wed Feb 28 12:45:40 1996
> > In article <slrn4j7c4v.erj.deeranp@ocean.asianconnect.com> you write:
> > >If that doesn't work I'll have to sed the message ID out of the old
> > >history file and hope for the best.
> > 
> > See the 'fixhist' script on my INN page:
> > 
> > http://www.math.psu.edu/barr/INN.html
> > 
> > --Dave

> Downloaded fixhist, followed the instructions in the top
> of the script, and *pow* out fell the rogue id, and a couple
> of others that would have caused problems too.

[text deleted}

> *shakes Dave's hand*

> Thank you very very much.

> Deeran

fixhist was the solution (we are running INN1.4sec on Solaris2.4).
========================

I would like to add my handshake.

Regards
--Ralph
___________________________________________________________________________
Ralph Jud             | jud@rzu.unizh.ch            postmaster@rzu.unizh.ch
Computer Centre       |                                newsadm@rzu.unizh.ch
University of Zurich  | /S=jud/OU=rzu/O=unizh/PRMD=SWITCH/ADMD=400net/C=CH/
Switzerland           | Phone: +41 1 257 45 44         Fax: +41 1 257 45 05
___________________________________________________________________________

Re: cant dbzstore Cross-device link?
#5339
Author: Deeran Peethamparam
Date: Wed, 28 Feb 1996 00:00
41 lines
2504 bytes
On 23 Feb 1996 01:28:07 GMT, Kragh Hertel <kragh@netone.netonecom.net> wrote:
> Richard Michael Todd (rmtodd@ticonderoga.ecn.uoknor.edu) wrote:
> : In article <960222115449.AA23195@dojo> Mike O'Connor <mjo@dojo.mi.org> writes:
> : >Just received this message twice and poof, innd stopped running twice!

*hands up*  Looks like it happened here, too.  AIX 3.2.5, INN 1.4 sec2.

I came back from a holiday to find my server dead.  I restarted as
per usual with rc.news, but now expire keeps dying, with an error
in dbzstore, something about the key file not being found (even 
though the new history.n* files are right there).

>   OK, as a relative newbie-news-admin, who's been hit with the same (2)
> articles and suffered the same shutdown, I have to ask:  Is there any
> action required?  I've restarted via rc.news, but I have to wonder about
> those entries now in the history.  Will expire run OK, or puke?  Is it
> time to run makehistory, or not?  Enquiring newbie-admins want to know. 

Tried running makehistory, it died.  Tried running expire -i (to
ignore the existing history file) but that died too.

Have gone and killed the offending article from my news spool.
Running expire -i fails _still_.  The last line of the new history
file, not surprisingly, contains multiple message ids.

Looks like another server shutdown and a manual makehistory build.
It'll hafta wait till tonight though.

If that doesn't work I'll have to sed the message ID out of the old
history file and hope for the best.

Deeran

-- 
Deeran Peethamparam          \\ PGP: finger deeranp@merlion.singnet.com.sg
deeranp@singnet.com.sg        \\ HTTP: http://www.singnet.com.sg/~deeranp
deeranp@ocean.asianconnect.com \\ Will administer UNIX for chocolate.



Re: cant dbzstore Cross-device link?
#5353
Author: Deeran Peethamparam
Date: Wed, 28 Feb 1996 00:00
64 lines
2686 bytes
Heh.  Following up to my own article.  :-)

Dave Barr kindly replied :

> From barr@math.psu.edu Wed Feb 28 12:45:40 1996
> In article <slrn4j7c4v.erj.deeranp@ocean.asianconnect.com> you write:
> >If that doesn't work I'll have to sed the message ID out of the old
> >history file and hope for the best.
> 
> See the 'fixhist' script on my INN page:
> 
> http://www.math.psu.edu/barr/INN.html
> 
> --Dave

Downloaded fixhist, followed the instructions in the top
of the script, and *pow* out fell the rogue id, and a couple
of others that would have caused problems too.

---------8<-------------

sheraton:~$ ctlinnd throttle 'fixing history'
Ok
sheraton:~$ bin/fixhist < history > history.n
news@doffen.uninett.noSat       824690045~-
Sat,    824690073~-
Doffen  824690132~-
mads@laredo.idb.hist.no 824690141~-
e       824734906~-
<4c6lvi$7cp@panix2.panix.com >  824872335~-
<4c6m52$7lv@panix2.panix.com >  824915619~-
<Darrell_Greenwood-0902961724490001@line349.nwm.mindlink.net    825124611~-
<312bdadb.228829862@news.ak.net> <312bdb7e.228994718@news.ak.net> <312bdb7f.229
sheraton:~$ makehistory -r -s `wc -l <history` -f history.n
sheraton:~$ mv history.n history
sheraton:~$ mv history.n.dir history.dir
sheraton:~$ mv history.n.pag history.pag
sheraton:~$ ctlinnd go 'fixing history'
Ok
sheraton:~$ expire -s -v1
Removed approximately 61729k
Article lines processed   385135
Articles retained         188771
Entries expired           196364
Files unlinked            258088
Old entries dropped       213185
Old entries retained      105490

---------8<-------------

*shakes Dave's hand*

Thank you very very much.

Deeran

--
Deeran Peethamparam          \\ PGP: finger deeranp@merlion.singnet.com.sg
deeranp@singnet.com.sg        \\ HTTP: http://www.singnet.com.sg/~deeranp
deeranp@ocean.asianconnect.com \\ Will administer UNIX for chocolate.



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