🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Gordy Thompson Wed, 04 Jun 1997 00:00
Need help ("Crosspost can't symlink...)
#18232
Author: 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.

Re: Need help ("Crosspost can't symlink...)
#18237
Author: R. Joyner
Date: Wed, 04 Jun 1997 00:00
59 lines
2984 bytes
Gordy Thompson wrote:
> 
>         (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.
> 
Could it be you have two competing things trying to process crossposts,
INN and crosspost?  I'm wondering if starting INN with the -L option
would cure this..

From Forrest Cavalier's USENET RKT, the following comes from the INN man
page..

    -L   If the ``-L'' flag is used, then innd will not create the
links  for
          cross  posted  articles.   A  feed  only type of site could
use this
          option to improve performance.  Or it can be combined with a
channel
          feed  to  the crosspost(8) program to move the delay
associated with
          creating the links out of the innd processing loop.

[Kudos to Forrest for making such a nifty search engine available to all
us overworked admins!]

/rsj

--
Reece Joyner
Senior Systems Engineer			rjoyner@ais.net
American Information Systems, Inc.	http://www.ais.net
NOTE: REMOVE the # in my address for proper mail delivery.

Re: Need help ("Crosspost can't symlink...)
#18251
Author: Gordy Thompson
Date: Wed, 04 Jun 1997 00:00
33 lines
1859 bytes
In article <33955325.99784938@newsgate>, gordy@nytimes.com (Gordy
Thompson) wrote:

>	(Running INN 1.5 with security patches). A few weeks ago, in a
>fit of experimentalism,

	... yadayadayada long stupid tale of woe.

	Within an hour of my posting this, Dale Ghent
<daleg-hatesspam@maximum.net> called my attention to a possibility
that hadn't occurred to me -- the likelihood that I'm somehow running
both innd without the -L switch (to stop innd from creating the
symbolic links for crossposting) and the crosspost feed (to have the
links handled outside of the server)

	He's exactly right, and he has my heartfelt thanks: I'd
started the server by hand with "inndstart -L" when I first set up the
crosspost feed, never got around to adding it to rc.news and forgot
all about it when fiddling around with things after the "external
renumber" fiasco.

	"Never mind."


========================================================================
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.

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