[news.admin] How do you get rid of this errlog message?

amos@placer1.COM (Kevin Amos) (10/14/88)

Could someone tell me how to get rid of this message in my
errlog file.

Oct 14 05:05	news	expire: Unparsable date "25144,1,1.UUCP> GMT"
-- 
Kevin Amos
Placer Dome Inc.
Internet: amos@placer1.com  
uucp: {alberta,watmath,uw-beaver,ubc-vision}!ubc-cs!van-bc!placer1!amos

wcf@psuhcx.psu.edu (William C. Fenner) (10/16/88)

In article <190@placer1.COM> amos@placer1.COM (Kevin Amos) writes:
|Could someone tell me how to get rid of this message in my
|errlog file.
|
|Oct 14 05:05	news	expire: Unparsable date "25144,1,1.UUCP> GMT"
Ahh... this is something I hadn't thought about... the tab will mess up
expire too.  This is another side effect of the messed-up message from
brentp@microsoft.  The tab in the middle of the Message-ID makes expire
think that the rest of it is the date of the message, since normally, the
Message-ID is seperated from the date by a tab.

I'm not sure what the best way to get rid of this is... maybe go into the
directories themselves and remove the message files, and then rebuild the
history file, or maybe just edit the history file...

Anyone have any better suggestions?

  Bill
-- 
    Bitnet: wcf@psuhcx.bitnet     Bill Fenner     | "Ain't got no cash,
   Internet: wcf@hcx.psu.edu                      |  Ain't got no style
  UUCP: {gatech,rutgers}!psuvax1!psuhcx!wcf       |  Ain't got no girls 
 Fido: Sysop at 263/42 (814/238 9633)  \hogbbs!wcf|  To make me smile"

dg@lakart.UUCP (David Goodenough) (10/18/88)

From article <964@psuhcx.psu.edu>, by wcf@psuhcx.psu.edu (William C. Fenner):
] In article <190@placer1.COM> amos@placer1.COM (Kevin Amos) writes:
] |Could someone tell me how to get rid of this message in my
] |errlog file.
] |
] |Oct 14 05:05	news	expire: Unparsable date "25144,1,1.UUCP> GMT"
] Ahh... this is something I hadn't thought about... the tab will mess up
] expire too.  This is another side effect of the messed-up message from
] brentp@microsoft.  The tab in the middle of the Message-ID makes expire
] think that the rest of it is the date of the message, since normally, the
] Message-ID is seperated from the date by a tab.
] 
] I'm not sure what the best way to get rid of this is... maybe go into the
] directories themselves and remove the message files, and then rebuild the
] history file, or maybe just edit the history file...
] 
] Anyone have any better suggestions?
] 
]   Bill
] -- 
]     Bitnet: wcf@psuhcx.bitnet     Bill Fenner     | "Ain't got no cash,
]    Internet: wcf@hcx.psu.edu                      |  Ain't got no style
]   UUCP: {gatech,rutgers}!psuvax1!psuhcx!wcf       |  Ain't got no girls 
]  Fido: Sysop at 263/42 (814/238 9633)  \hogbbs!wcf|  To make me smile"

Try the following two lines:

1. from the /usr/new/lib/news/news.daily script:

find /usr/spool/news -mtime +7 -type f -exec rm \{\} \; 2>&1 >/dev/null

2. from the /usr/new/lib/news/news.weekly script:

./expire -e 7 -r

It is left as an excercise to the reader to figure out how this dealt
with the microsoft problem; and for the disbelieving here is a
:r !wc /usr/new/lib/news/history

    5455   23383  346657 /usr/new/lib/news/history

5455 Articles - Hey, I can live with that. (== 12 megs or so)
-- 
	dg@lakart.UUCP - David Goodenough		+---+
							| +-+-+
	....... !harvard!xait!lakart!dg			+-+-+ |
AKA:	dg%lakart.uucp@harvard.harvard.edu	  	  +---+

grr@cbmvax.UUCP (George Robbins) (10/20/88)

In article <291@lakart.UUCP> dg@lakart.UUCP (David Goodenough) writes:
> From article <964@psuhcx.psu.edu>, by wcf@psuhcx.psu.edu (William C. Fenner):
> ] In article <190@placer1.COM> amos@placer1.COM (Kevin Amos) writes:
> ] |Could someone tell me how to get rid of this message in my
> ] |errlog file.
> ] 
> ] I'm not sure what the best way to get rid of this is... maybe go into the
> ] directories themselves and remove the message files, and then rebuild the
> ] history file, or maybe just edit the history file...
> ] 
> ] Anyone have any better suggestions?
> 
> Try the following two lines:
> 1. from the /usr/new/lib/news/news.daily script:
> find /usr/spool/news -mtime +7 -type f -exec rm \{\} \; 2>&1 >/dev/null
> 2. from the /usr/new/lib/news/news.weekly script:
> ./expire -e 7 -r

Gee, there might be some customer dissatisfaction if you expire all
news articles after only 7 days, though systems do vary...

IFF you have a version of news with an ascii history file:

grep '<.*[ \t].*>' ~news/history | \
sed -e 's/.*\t/rm ' -e 's/ / .usr.spool.news./g' -e '/\./\//g' > /tmp/script
  (iterate until you get a good looking rm script..)
sh /tmp/script
expire -r

where \t means you type a tab...

or

find /usr/spool/news/x -exec grep -s '^Message-ID: *<.*[ \t].*>' '{}' ';' \
	-print -exec rm '{}' ';'
expire -r

where x is one of sci/space/shuttle rec/games/hack misc/test and misc/consumers
and \t means type a tab and the -print can be omitted if you're confident.

The above no doubt contain errors and idiocies, but hopefully the
astute news administrator can use either one as a starting point
for purging the offensive articles...

-- 
George Robbins - now working for,	uucp: {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing	arpa: cbmvax!grr@uunet.uu.net
Commodore, Engineering Department	fone: 215-431-9255 (only by moonlite)