[unix-pc.general] install problems with B news

news@becker.UUCP (UseNet News) (10/14/89)

I'm running (for the moment) B news 2.11, patchlevel 14.

For some reason, I've been getting the following message
several times in the news log right after expire has run -

	Cannot install </usr/spool/news/...>: File exists

where "..." is some news article pathname.

I'm not sure where to look for this - The system is an AT&T 3B1
running System V rel. 2 with some rel. 3 extensions. I'm using
"dbm" and file locking.

Has anyone else seen this? I know the obvious remedy is to go
to C news, which I intend to do when the dbz patches show up
(did the above problem swallow the relevant articles?)...

Thanks for any suggestions,
-- 
Bruce Becker	Toronto, Ont.
Internet: news@becker.UUCP	UUCP: ...!uunet!mnetor!becker!news
"'Comefrom' considered useful" - the Anti-Dijkstra

henry@utzoo.uucp (Henry Spencer) (10/15/89)

In article <932@becker.UUCP> news@becker.UUCP (UseNet News) writes:
>Has anyone else seen this? I know the obvious remedy is to go
>to C news, which I intend to do when the dbz patches show up
>(did the above problem swallow the relevant articles?)...

No; the make-dbz-official stuff has been held up by an abundance of
more urgent work here.
-- 
A bit of tolerance is worth a  |     Henry Spencer at U of Toronto Zoology
megabyte of flaming.           | uunet!attcan!utzoo!henry henry@zoo.toronto.edu

lenny@icus.islp.ny.us (Lenny Tropiano) (10/16/89)

In article <932@becker.UUCP> news@becker.UUCP (UseNet News) writes:
|>I'm running (for the moment) B news 2.11, patchlevel 14.
|>
|>For some reason, I've been getting the following message
|>several times in the news log right after expire has run -
|>
|>	Cannot install </usr/spool/news/...>: File exists
|>
|>where "..." is some news article pathname.
|>
|>I'm not sure where to look for this - The system is an AT&T 3B1
|>running System V rel. 2 with some rel. 3 extensions. I'm using
|>"dbm" and file locking.
|>
...
To me this looks like your history isn't correct.  What I'd suggest to
do is an 
	nohup /usr/lib/news/expire -r -v >/tmp/expire.log 2>&1 &

To rebuild your history from scratch.  What probably happened is you
got the article again, and it found the same file name.  The other thing
might be is the "seq" file is wrong.  Or if all else fails, remove all
the news directories (and files) and start from scratch.

-Lenny
-- 
| Lenny Tropiano            ICUS Software Systems      [w] +1 (516) 589-7930 |
| lenny@icus.islp.ny.us     Telex; 154232428 ICUS      [h] +1 (516) 968-8576 |
| {ames,pacbell,decuac,hombre,sbcs,attctc}!icus!lenny     attmail!icus!lenny |
+------- ICUS Software Systems -- PO Box 1;  Islip Terrace, NY  11752 -------+

tale@pawl.rpi.edu (David C Lawrence) (10/17/89)

In article <932@becker.UUCP> news@becker.UUCP (Bruce Becker) writes:
Bruce> I'm running (for the moment) B news 2.11, patchlevel 14.
Bruce> 
Bruce> For some reason, I've been getting the following message
Bruce> several times in the news log right after expire has run -
Bruce> 
Bruce> 	Cannot install </usr/spool/news/...>: File exists
Bruce> 
Bruce> where "..." is some news article pathname.

In <980@icus.islp.ny.us> lenny@icus.islp.ny.us (Lenny Tropiano) said:
Lenny> What probably happened is you got the article again, and it
Lenny> found the same file name.  The other thing might be is the
Lenny> "seq" file is wrong.  

It really doesn't matter whether the article was the same one or not;
the file names for an article is not determined by either the article
or by the seq file.  Normally it would be determined by the maximum
number listed in the active file entry for the group in which the
article gets filed.  For example, this article will probably be filed
in /usenet/spool/news/software/b/1472 on rpi.edu, with a symbolic link
from /usenet/spool/unix-pc/general/1821, because of the following
active file entries:

news.software.b 0000001471 0000001151 y
unix-pc.general 0000001820 0000001604 y

It seems as though Bruce's expire run is not correctly updating the
active file.

Incidentally, the seq file is used by B News to get incremental, unique
message-ids for postings on a machine.  I should get around to munging
C News to do that someday.

Dave
-- 
 (setq mail '("tale@pawl.rpi.edu" "tale@itsgw.rpi.edu" "tale@rpitsmts.bitnet"))