Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!wuarchive!swbatl!texbell!vector!attctc!digi!kcantrel
From: kcantrel@digi.UUCP (Keith Cantrell)
Newsgroups: news.sysadmin
Subject: Re: Need help with rn/bnews on Apollos
Message-ID: <207@digi.UUCP>
Date: 18 Aug 89 15:10:56 GMT
References: <203@digi.UUCP> <1690@dover.sps.mot.com>
Organization: DSC Communications, Plano Tx.
Lines: 41
In-reply-to: chen@spanky.sps.mot.com's message of 16 Aug 89 23:28:36 GMT


In article <1690@dover.sps.mot.com> chen@spanky.sps.mot.com (Jinfu Chen) writes:

Jinfu> In article <203@digi.UUCP> kcantrel@digi.UUCP (Keith Cantrell) writes:
>I have run into a problem with running rn when rnews or rn is already running
>on a different machine.  The problem is the first one will open the file
>"/usr/lib/news/active" for reading and therefore the Apollo operating system
>will lock it.  After this has happens, I am unable to get a second rn or rnews
>to run on a different machine, the fopen complains "Text file busy".  This
>problem does not exist if both programs are running on the same machine.
>
>This was a major problem when I started up rn on my machine and rnews was
>started up on a different machine and started loosing news since it could not
>open the active file :-(
>
Jinfu> 
Jinfu> The version of rn in ADUS 1989 library already fixed this. It makes a private
Jinfu> copy of active upon invoking. The drawback is that you will need to re-enter
Jinfu> rn to see new articles being posted during your previous session of rn, this is
Jinfu> really not a problem at all.
Jinfu> 

Yea, this is the klugdy work around that I tried, but I found that you can not
even create a private copy if the file is locked!  In other words, I was unable
to copy the file if rnews was running.  Also, I am dead set against copying
once a day or any such nonsense like that.  I have been tempted to just
"/com/ulkob -f" the file, but I am not sure how that will screw things up.

So, does anybody else have any ideas?????

Keith

-----------------------------------------------------------------------
Keith Cantrell                    Phones:  hm: 214-492-1088
Apollo Computer                            wk: 214-519-2399 @ DSC 
A Subsidiary of Hewlett-Packard
USMAIL:                          EMAIL:
2100 Sonata Ln                   cantrell@attctc.DALLAS.TX.US
Carrollton TX 75007                           or
                                   ...!attctc!digi!kcantrel
-----------------------------------------------------------------------