🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18232

Need help ("Crosspost can't symlink...)

#18232
From: Gordy Thompson
Date: Wed, 04 Jun 1997 00:00
64 lines
3645 bytes
	(Running INN 1.5 with security patches). A few weeks ago, in a
fit of experimentalism, I tried out a Perl/shell script posted here
that claimed to handle the Dreaded Renumber faster and without
hammering the server.
	Obviously I installed it incorrectly, since after it whirred
and blinked for a while it overwrote my active file with one in which
all 28K+ groups had "0   0" as their high- and low-water marks. Innd,
of course, promptly halted upon receiving the "go" command.
	No problem, I thought -- I restored the active file using the
active.old from the previous night's maintenance, made sure no new
groups had been added, ran renumber the old-fashioned way and
restarted the server.
	I learned in the next night's maintenance that I had a
multi-meg log/errlog file consisting of zillions of these entries
(lotsa different newsgroups, of course):

crosspost cant symlink /var/spool/news/rec/collecting/158156
rec/toys/misc/135437 : File exists
crosspost cant symlink /var/spool/news/alt/sex/prevost-derbecker/6737
alt/sex/prevost/derbecker/4467 : File exists
crosspost cant symlink /var/spool/news/alt/sex/prevost-derbecker/6737
alt/sex/prom/12816 : File exists

	(A spot check showed that these were, and continue to be,
accurate messages -- the second-named article really does exist, and
isn't a link to the first-named article.

	The FAQ tells me that the possible causes of this are:

		Trying to use MMAP on Ultrix
		Trying to use MMAP on (older) Linux
		Some strange interaction with tind.

... none of which apply in my case. It obviously was a consequence of
that "external renumber" blunder.
	I ran renumber by hand on the morning of the second day when I
detected this, and renumber ran again that night as usual at the
completion of news.daily, but the third morning's news.daily report
was still full of these errors. Thinking that history might have been
corrupted, I ran fixhistory on the third morning and followed that for
good luck by starting makehistory -bun.
	Makehistory -bun finished sometime on the fourth day, and in
the next morning's news.daily report I saw that I'd gone through an
entire cycle without any crosslink errors. But it happened again that
night, and now seems to happen on randomly chosen days, perhaps two
out of three.
	I haven't done anything extraordinary since makehistory -bun
and fixhistory because I don't know what else to try. And since we
have a maximum six-day retention for everything except *.answers and
our few local newsgroups, I have to think that everything that was
even =in= /var/spool/news at the time of the "external renumber"
blunder is long since gone.

	Anybody got any ideas as to what's wrong?

========================================================================
Gordon T. Thompson                                    gordy@nytimes.com
Manager, Internet Services                            212 556 1386
The New York Times                                    fax: 212 556 1636
      This letter has been modified as follows from its original
          version: It has been formatted to fit your screen.

Technical Details
Message-ID: <33955325.99784938@newsgate>
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!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <33955325.99784938@newsgate>
Subject: Need help ("Crosspost can't symlink...)
Date: Wed, 04 Jun 1997 00:00:00 +0000
From: gordy@nytimes.com (Gordy Thompson)
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!not-for-mail
X-Deja-AN: 246039206
Organization: The New York Times
Newsgroups: news.software.nntp